How it works
- Once: your wallet sends a token
approve(ERC-20, or TRC-20 on Tron) that lets Permit2 spend the token. This is the only step that costs you gas. - Each payment: you sign the payment request. On these chains the signature is a Permit2 authorization for up to
max_source_amount. It costs no gas. - At the deposit: the settlement vault uses that authorization to take the selected quote’s source amount from your wallet, through Permit2.
When you need to do this
- The first time you pay with a given token from a given wallet on an EVM chain (Tempo included) or Tron
- After switching to a new wallet
- After a bounded approval runs out. An approval is unlimited by default, so this only happens if you chose a limit.
How to complete it
The CLI and SDK read the current allowance first and only send a transaction when it falls short.