Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/devdocs/cofhejs/error-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ async function initializeCoFHE() {
const signer = (await provider.getSigner()) as ethers.JsonRpcSigner

// initialize cofhejs Client with ethers (it also supports viem)
await cofhejs.initializeWithEthers({
provider: window.ethereum,
signer: wallet,
const result = await cofhejs.initializeWithEthers({
ethersProvider: provider,
ethersSigner: signer,
environment: 'TESTNET',
})

Expand Down