@lelantos-org/sdk / index / ConnectExtraOptions
Interface: ConnectExtraOptions โ
Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:73
Everything that is not a key source or a chain layer.
Properties โ
feeBps? โ
optional feeBps?: bigint;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:129
See WalletConfig.feeBps.
fetchImpl? โ
optional fetchImpl?: (input, init?) => Promise<Response>;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:131
See WalletConfig.fetchImpl.
Parameters โ
| Parameter | Type |
|---|---|
input | RequestInfo | URL |
init? | RequestInit |
Returns โ
Promise<Response>
network โ
network:
| "anvil"
| "localnet"
| "sepolia"
| "base"
| "arbitrum"
| "mainnet"
| NetworkPreset;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:75
Builtin preset name or custom NetworkPreset.
noteSource? โ
optional noteSource?: NoteSource;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:106
noteStore? โ
optional noteStore?: NoteStore;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:105
nullifierPersistence? โ
optional nullifierPersistence?: NullifierPersistence;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:117
As treePersistence, for the locally mirrored spent-nullifier set.
nullifierStore? โ
optional nullifierStore?: NullifierStore;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:115
Pre-built spent-nullifier store. Use nullifierPersistence instead for the common case.
prover? โ
optional prover?: Prover;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:86
Skips proverArtifacts resolution.
proverArtifacts? โ
optional proverArtifacts?: ProverArtifacts | ProverPaths;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:82
Prover artifacts. Omitted โ bundledProverArtifacts() resolves: companion @lelantos-org/circuits on Node. Browser has NO default (companion is on GitHub Packages, not jsDelivr-proxiable); pass explicitly or set proverArtifactsCdn.
proverArtifactsCdn? โ
optional proverArtifactsCdn?: string;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:84
Self-hosted CDN base serving <shape>.wasm + <shape>_final.zkey at root.
proverWarmup? โ
optional proverWarmup?: "eager" | "lazy";Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:98
"eager" (default) starts the zkey fetch/parse + thread-pool spin-up in the background as soon as connect() resolves the artifacts; "lazy" defers it to the first prove().
runtime? โ
optional runtime?: "node" | "browser" | "auto";Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:133
Default: auto-detect.
scanner? โ
optional scanner?: Scanner;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:120
selector? โ
optional selector?: CoinSelector;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:119
shape? โ
optional shape?: CircuitShape;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:127
Input/output arity of the transact circuit. Defaults to DEFAULT_SHAPE (3ร3); pass TRANSACT_2X2 for a pool still on the narrower circuit. Also selects which artifact pair bundledProverArtifacts resolves.
submitter? โ
optional submitter?: Submitter;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:118
syncStrategy? โ
optional syncStrategy?: SyncStrategy;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:121
treePersistence? โ
optional treePersistence?: TreePersistence;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:113
Persistence backend for the Merkle tree (e.g. IndexedDB in the browser). The SDK restores state at startup and saves after every sync.
treeStore? โ
optional treeStore?: TreeStore;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:108
Pre-built tree store. Use treePersistence instead for the common case.
useWasmProver? โ
optional useWasmProver?: boolean;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:92
Default true (Node and browser). Set false to force the in-process snarkjs prover. On wasm load failure the SDK falls back to snarkjs automatically.
wasm? โ
optional wasm?: WasmConfig;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:104
Pre-resolved wasm-pack module + binary URLs. Required in browser builds where bundlers rewrite #wasm/* subpath imports. Applied via configureWasm before any .build().