1.0.2 • Published 3 years ago
@rigourdex/sdk v1.0.2
Rigour SDK
Getting Started
Running tests
To run the tests, follow these steps. You must have at least node v16 installed.
First clone the repository:
git clone https://github.com/rigourdex/rigour-sdk.gitMove into the rigour-sdk working directory
cd rigour-sdkInstall dependencies
npm installRun tests
npm run testEco Router Trades
Rigour uses multiple trades to find best protocol and route for traders. Currently supported DEXs are
| Protocol | Ethereum | Arbitrum One | Gnosis Chain | Polygon |
|---|---|---|---|---|
| Rigour | ✅ | ✅ | ✅ | |
| Uniswap v2 | ✅ | ✅ | ✅ | |
| SushiSwap | ✅ | ✅ | ✅ | ✅ |
| Honeyswap | ✅ | |||
| Levinswap | ✅ | |||
| Baoswap | ✅ | |||
| Curve | WIP | ✅ | ✅ | |
| CoW Protocol | ✅ | ✅ | ||
| Quickswap | ✅ | |||
| DFYN | ✅ |
The Trade class is extendable. New DEXs can be added to the SDK by extending the Trade and adding required methods.