Skip to content

Commit

Permalink
add ETH -> USDC swap in README
Browse files Browse the repository at this point in the history
  • Loading branch information
jlin27 committed Feb 5, 2025
1 parent 512ee95 commit daab0df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions swap-v2-headless-example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ This example demonstrates how to perform token swaps on Base mainnet, specifical
- swap 0.0001 WETH → USDC
2. (If needed) Set token allowance for Permit2
3. Fetch a firm quote
- swap 0.0001 ETH → USDC
- swap 0.0001 WETH → USDC
4. Sign the Permit2 EIP-712 message (for ERC-20 tokens)
5. Append signature length and signature data to calldata
Expand Down

0 comments on commit daab0df

Please sign in to comment.