If you have ever connected a passkey based smart wallet, like Coinbase Smart Wallet, to a site and signed a message, something more complicated happened behind the scenes than with a traditional wallet. Understanding why helps explain a few confusing error messages you might run into, and why some apps still do not support smart wallets properly.
A regular wallet signs with math, a smart wallet does not
A traditional wallet (an externally owned account, or EOA) holds a private key. Signing a message is pure math: the key produces a signature, and anyone can run the same math backward to confirm which address produced it. No network call is needed to check a signature from an EOA. That is how signing in to a dapp, or approving a gasless transaction, usually works.
A smart contract wallet is different. It is not controlled by a single private key, it is a contract on the blockchain, and a contract cannot "sign" anything in that mathematical sense. A Coinbase Smart Wallet or a Safe multisig might be controlled by a passkey, by several cosigners, or by some other rule entirely. So when an app asks a smart wallet to sign a message, there is no signature math to verify on its own. The app has to ask the contract itself whether a given signature should count as valid.
EIP-1271: asking the contract directly
This is exactly what EIP-1271 defines. It is a standard function, isValidSignature(bytes32 hash, bytes signature), that any smart contract wallet can implement. When an app wants to check a signature from a smart wallet, it calls this function on the wallet's contract address instead of doing the usual signature math.
If the contract decides the signature is good, it returns a fixed value defined in the standard (0x1626ba7e). If not, it returns something else, and the app treats the signature as invalid.
What counts as "good" is entirely up to the wallet's own code. A Safe, for example, checks that enough of its owners have signed to meet its approval threshold. A passkey based wallet checks the passkey signature against the public key it has on record. The standard does not dictate the rule, it just gives every app a consistent way to ask the question. The specification also requires that this check never changes any data in the contract, it can only look and answer, which closes off a category of abuse where the check itself could be used to manipulate state.
EIP-1271 is now used widely across DeFi, NFT marketplaces, and sign in flows, so most actively maintained apps support it for smart wallets. Older or less maintained sites sometimes do not, which is one reason a smart wallet occasionally fails to sign in somewhere a regular wallet would work fine.
The gap: a wallet that does not exist yet
EIP-1271 has one requirement that creates a problem: the wallet contract has to already be deployed on chain for an app to call its isValidSignature function. But many smart wallets, including passkey based ones, are designed around counterfactual addresses. You can see your wallet's address, and even receive funds to it, before the contract has actually been deployed. The deployment only happens the first time you send a transaction.
That is a real gap. If someone asks you to sign a message before your wallet has ever done anything on chain, there is no contract yet for an app to query. Checking the signature with plain EIP-1271 would fail, not because the signature is wrong, but because there is nothing on chain to ask.
ERC-6492: verifying a wallet before it exists
ERC-6492 closes that gap. It defines a wrapped signature format that bundles the normal signature together with the exact information needed to deploy the wallet (the factory contract address and the deployment data).
A verifier that understands ERC-6492 can simulate the wallet's deployment, without actually deploying it or spending any gas, check the signature against that simulated contract, and get an answer. This is typically done through a shared helper contract or an off chain simulation, in a single read only call. If the wallet happens to already be deployed, the same wrapped signature still works, the verifier just falls back to a normal EIP-1271 check. That backward compatibility is part of the design, so adding ERC-6492 support does not break anything for wallets that are already live on chain.
Base's own Smart Wallet documentation describes relying on exactly this approach, since passkey based wallets routinely need to sign messages before their contract has ever been deployed on a given chain.
Why this is worth knowing
You will not need to call these functions yourself as a user, but a few practical things follow from how they work:
- If a site tells you your signature is invalid when using a smart wallet, and the same action works fine with a regular wallet, outdated signature verification on that site's end is a common cause.
- A smart wallet's security does not come from a single private key the way an EOA's does. It comes from whatever logic the wallet's contract runs inside
isValidSignature, whether that is a passkey check, a multisig threshold, or something else. That logic is worth understanding if you are trusting a wallet with significant funds. - Seeing an address with a balance before you have sent a single transaction is normal for many smart wallets. It does not mean the wallet is broken or compromised, it is simply counterfactual until its first on chain action deploys it.
None of this changes how you use a smart wallet day to day, but it explains why "signing a message" is a more involved process under the hood than it looks, and why that complexity exists for a good reason: letting wallets be programmable, recoverable, and multi owner instead of being limited to a single static key.