Skip to content

Commit 35a42e2

Browse files
authored
fix: register example (base#424)
Fix base#423. Thanks @manan19! <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the contract interaction in the `create-account.md` documentation to reflect changes in the address and ABI being used for nonce retrieval. ### Detailed summary - Updated the address from `KEY_GATEWAY_ADDRESS` to `ID_REGISTRY_ADDRESS`. - Changed the ABI from `keyGatewayABI` to `idRegistryABI`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent cd15d1c commit 35a42e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/developers/guides/accounts/create-account.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ Collect an EIP-712 `Register` signature from the user. In a real world app, you'
100100

101101
```ts
102102
let nonce = await publicClient.readContract({
103-
address: KEY_GATEWAY_ADDRESS,
104-
abi: keyGatewayABI,
103+
address: ID_REGISTRY_ADDRESS,
104+
abi: idRegistryABI,
105105
functionName: 'nonces',
106106
args: [alice.address],
107107
});

0 commit comments

Comments
 (0)