#defi #typescript #programming
As a developer, if you want to swap tokens with DEX aggregators like Paraswap to get the best token price, you have to use their API. The problem here is that the API only gives you prices for swapping tokens on Mainnet. So how do you test your code without spending money on gas?
In this video, I will show you exactly how to swap tokens on Paraswap on the Optimism Network using Hardhat.
Developer Documentation
developers.par...
hardhat.org/ha...
Sign up for my newsletter, Web3 Devnet
web3devnet.sub...
Connect with me
hi@alysia.tech
/ alysiatech
/ alysia.tech
Негізгі бет How I Saved on Gas: Coding Token Swaps- Paraswap, Hardhat & Optimism
Пікірлер: 9