Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/ai-agents/setup/agent-builder-codes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Response:
```json Response
{
"builderCode": "bc_a1b2c3d4",
"walletAddress": "0x...",
"walletAddress": "0x..."
}
```

Expand Down
4 changes: 1 addition & 3 deletions docs/base-account/framework-integrations/wagmi/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,7 @@ export function SignInWithBase({ connector }: SignInWithBaseProps) {
if (provider) {
try {
// Generate a fresh nonce (this will be overwritten with the backend nonce)
const clientNonce =
Math.random().toString(36).substring(2, 15) +
Math.random().toString(36).substring(2, 15);
const clientNonce = window.crypto.randomUUID().replace(/-/g, '');
console.log("clientNonce", clientNonce);
// Connect with SIWE to get signature, message, and address
const accounts = await (provider as any).request({
Expand Down