Node.js + Wallet UI

Permit2 Approval & Signature Demo

Approve Permit2 once, sign an off-chain EIP-712 Permit2 message, then optionally execute a demo transfer with the connected wallet as spender.

Not connected No network
1

Token Approval

User approves the Permit2 contract to spend ERC20 tokens. This is an on-chain transaction and requires gas.

2

Permit2 Signature

User signs Permit2 typed data off-chain. Signing has no gas cost.

3

Token Transfer

The spender uses the signature to transfer tokens under the signed amount, nonce, and expiry.

Demo Controls

Loading Permit2...

Permit2 Typed Data

{}

Signature

No signature yet.

Important Notes

If a token supports EIP-2612 permit, token approval can also be done with a signature. If it does not, the user first approves Permit2 and then signs the Permit2 authorization.