Bxpana
@bxpana
🌐 It's time to swap! Let's trade our WETH for another ERC20 token using @Uniswap's Swap Router on our @ZKsync fork. We'll utilize `cast send` to perform the swap. Ready to trade? 🧵👇
0 reply
0 recast
1 reaction
Bxpana
@bxpana
Step 1: Find the Swap Router Address Set the Uniswap Swap Router address in your `.env` and run source .env to update your variables.
1 reply
0 recast
0 reaction
Bxpana
@bxpana
Step 2: Approve WETH for Swapping Allow the Swap Router to spend your WETH. Replace `<AMOUNT_IN>` with the amount you want to swap (in wei). 📝 Again you can use this converter to easily get the amount in wei https://eth-converter.com/
1 reply
0 recast
0 reaction