dex-trader-sdk
v0.1.2
Published
Use popular dex aggregator to generate a dex trader request
Downloads
4
Readme
Dex Trader - SDK
This package has been designed to make it easier to use Vesta's Dex Trader and trying to give the best path possible. Dex Trader Doc
Installation
npm i dex-trader-sdk
Todo
Open to contribution, here are the things that is currently missing
- Support 1inch API
- Currenlty only supports OpeanOcean. Once 1inch is supported, the tool should verify which aggregator gives the best output
- Unit tests
- Amount discovery on uniswapV3 to we use the correct pool fee
- Currently it uses 1 ether.
- Route discovery on sushiswap
- Currently it tries to find a pair, if it doesn't exit, it hops to WETH.
- Route discovery on gmx
- Currently it ignores gmx multi-hop, hoping that if an aggregator gives gmx, it will be single path.