Custom Coinbase Wallet method for establishing connection
Requests that the wallet connects to the dApp and provides account access. This is similar to eth_requestAccounts but provides additional connection features.
Invalid nonce or chainId in signInWithEthereum capability
This is a Coinbase Wallet-specific method and may not be available in other wallets.
After successful connection, the wallet will emit connection events and provide access to account information.
When using the signInWithEthereum capability, always generate a fresh, unique nonce for each authentication attempt to prevent replay attacks. The signature can be verified on your backend using libraries like viem.