connectDevnet
connectDevnet(
opts):Promise<ChainConnection&object>
A devnet wallet (connectChain with devnetUrl), its client with the devnet's faucets.
Parameters
Section titled “Parameters”| 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 |
Returns
Section titled “Returns”Promise<ChainConnection & object>