swappet-sdk
js SDK for swap.pet to popular DeFi protocols, include ABIs, Addresses, constants, utils ...
Now with Typescript-powered autocomplete!
swappet-sdk
is an NPM package that provides you with the ABIs, Addresses, constants, utils for popular DeFi protocols.
here for docs and visit our Discord here!
ClickProtocols supported:
- 1inch
- AAVE
- ampl
- augur
- Balancer
- bancor
- band
- barnbridge
- bzx
- chainlink
- Compound
- Curve Finance
- DappSys
- ddex
- dfi
- dforce
- dodo
- DyDx
- ERC20
- Idle V3
- Kyber.Network
- MakerDAO
- OneSplit
- renbtc
- sushiswap
- Synthetix
- UMA Protocol
- Uniswap V2
- Uniswap v1
- wbtc
- mStable
- yearn
- yam
Install
npm install swappet-sdk
Usage
JavaScript
; // access token ABIs and addressessdktokensdaiabi;sdktokensdaiaddress; // of many popular DeFi protocolssdkuniswapfactoryabi;sdkuniswapfactoryaddress; // import only the tokens ;tokensdaiabi;tokensdaiaddress; // import only the protocol you are interested in;uniswapfactoryabi;uniswapfactoryaddress; // logo of DeFi app;