Skip to content

connectDevnet

connectDevnet(opts): Promise<ChainConnection & object>

A devnet wallet (connectChain with devnetUrl), its client with the devnet's faucets.

Parameter Type
opts { url: string; seed: Uint8Array; prover: "http" | "mock"; proofServerUrl?: string; proveTimeoutMs?: number; }
opts.url string
opts.seed Uint8Array
opts.prover "http" | "mock"
opts.proofServerUrl? string
opts.proveTimeoutMs? number

Promise<ChainConnection & object>