Wallet signatures and token approvals: permissions explained
Distinguish connecting an account, signing a message, sending a transaction and granting a contract permission to spend tokens.
Before this lesson
These lessons provide background; you can still read this page now.
Connection is not the same as spending permission
Connecting a wallet typically shares selected public account information with a site. It does not by itself grant an ERC-20 spending allowance. However, a site can then request signatures or transactions. Review each new request rather than treating a previously trusted connection as blanket approval for later actions.
A signature can still be consequential
A message signature may authenticate an account or authorize an action that another party submits later. Some permit-style signatures can authorize token spending without the holder first sending a conventional approval transaction. Gasless does not mean harmless. Read the domain, chain, contract, spender, amount, deadline and human-readable purpose where the wallet makes them available.
What an allowance authorizes
For a conventional ERC-20 allowance, an owner authorizes a spender contract to transfer up to an amount of a specified token. The allowance is separate from the wallet balance and can remain after one use. An unlimited allowance can expose later token deposits as well. Different token standards and smart-account permission systems have different mechanisms.
An allowance example
Hypothetical balance: 500 tokens. Allowance: 100 tokens for contract A. This does not give A permission to spend unrelated token B. If the owner later receives more of the same token, the remaining permission may still apply. Read the actual allowance after transfers; token implementations, permits and contract behavior can affect the result.
Disconnecting is not revoking
Disconnecting a site from a wallet interface removes a connection record; it does not necessarily remove on-chain allowances or signed authorizations. Revoking a conventional allowance normally requires a transaction on the correct chain and can cost gas. A revocation cannot reverse tokens already transferred, and one allowance screen may not enumerate every kind of authorization.
Hardware signing does not validate intent
A hardware wallet isolates key material, but a user can still authorize a harmful transaction or signature. Verify readable details on the trusted device and interface. Blind signing can conceal meaning. Never enter a seed phrase into an approval checker, support chat or practice exercise. A malicious contract does not need your seed phrase if you authorize it to spend.
Respond to a suspicious request
Stop signing and distinguish a suspicious site connection from an already signed authorization or exposed recovery secret. Preserve relevant public transaction details and use verified wallet documentation. Do not assume revoking one allowance repairs a compromised seed or cancels every outstanding permit. Avoid recovery offers that demand additional deposits or private keys.
Practice without a real wallet
The local scenario asks which permission survives a disconnect. It does not connect a wallet, request a signature or scan a real address. Combine this guide with the existing wallet and scam articles. The goal is to recognize authorization boundaries, not to certify an application or make an unsafe request safe by appearance.
Practical scenario
After disconnecting a dapp, can its existing on-chain allowance remain? Choose 1 for yes or 0 for no.
Disconnecting and revoking authorization are different actions. No real signature is requested here.
Interactive checking needs JavaScript; the lesson and explanation remain readable.
Knowledge check
Does disconnecting a dapp automatically revoke its on-chain token allowance?
- Yes, connection and allowance are identical
- No; an on-chain allowance can remain
- Only if the wallet has no tokens today
Show explanation
A connection record and an on-chain allowance are different. Disconnecting alone does not reliably revoke authorization.
Interactive checking needs JavaScript; the lesson and explanation remain readable.
Primary sources and scope
Educational scenarios are not execution guarantees, forecasts or personal recommendations. Check current product rules at their source.
- eips.ethereum.org/EIPS/eip-20
- support.metamask.io/stay-safe/safety-in-web3/what-is-a-token-approval/
- support.metamask.io/more-web3/learn/how-to-revoke-smart-contract-allowances-token-approvals/
Content revised: . Editorial responsibility: TradingHub. No independent professional certification is claimed.