paraswap / paraswap-sdk

ParaSwap allows dApps and traders to get the best DEX liquidity by aggregating multiple markets and offering the best rates
https://paraswap.io
Other
698 stars 100 forks source link

seems like it doesn't support etherjs's provider? #88

Open newNcy opened 3 years ago

newNcy commented 3 years ago

im using etherjs and i want to use paraswap sdk but i found some function send transaction using web3 provider, for example approveToken actually i just need to know the approve that contract address. i prefer to use some interface like buildTx which did not depend on any other libs

newNcy commented 3 years ago

the Paraswap.getSpender() pull a list of adapter on remote, but that list doesont have augustus.exchange property, so i got this err image

can somebody expain the relationship of this list and the address to approve.