Widget
Drop-in script tag with built-in modal UI. No bundler required.
Script Tag Integration
Drop a single script tag to add a "Verify with zkRune" button with built-in modal UI. No bundler needed, no dependencies.
Config Options
| Option | Type | Default | Description |
|---|---|---|---|
container | string | HTMLElement | — | CSS selector or DOM element (required) |
circuit | CircuitId | — | Pre-select a circuit; omit to show picker |
theme | 'dark' | 'light' | 'dark' | Color theme |
circuitBaseUrl | string | zkrune.com/circuits | Where to fetch WASM + zkey |
verifierUrl | string | zkrune.com/api/verify-proof | Verification endpoint |
buttonLabel | string | 'Verify with zkRune' | Button text |
onResult | function | — | Called with VerifyResult on success |
onError | function | — | Called with WidgetError on failure |
ESM Import
Result Object
iframe Embed
For sites that prefer full iframe isolation:
URL parameters: circuit (optional), theme (dark / light).
