dex-trader-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

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.

Package Sidebar

Install

npm i dex-trader-sdk

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

1.64 kB

Total Files

2

Last publish

Collaborators

  • 0xatum