Permit2 Off-Chain Approval Demo
Demonstrating gasless approvals using Uniswap Permit2
How It Works
This demo shows how to use Uniswap's Permit2 contract for gasless approvals:
- User signs a PermitSingle message off-chain (no gas required)
- The signature is submitted to our relayer service
- Relayer executes the token transfer via DelegateSpender (0x27D00811935cb5fA8a182C51c73A27B83936fA8f)
Important: This implementation uses Uniswap's Permit2 contract (0x000000000022D473030F116dDEE9F6B43aC78BA3) for off-chain approvals.
Wallet Connection
Permit2 Demo
This demo requires a wallet connection and test tokens on Sepolia network
Permit signed successfully!
Owner:
Permit:
Signature:
Transaction submitted!
Tx Hash:
Error: