1.0.2 • Published 2 years ago

@rigourdex/sdk v1.0.2

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
2 years ago

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.git

Move into the rigour-sdk working directory

cd rigour-sdk

Install dependencies

npm install

Run tests

npm run test

Eco Router Trades

Rigour uses multiple trades to find best protocol and route for traders. Currently supported DEXs are

ProtocolEthereumArbitrum OneGnosis ChainPolygon
Rigour
Uniswap v2
SushiSwap
Honeyswap
Levinswap
Baoswap
CurveWIP
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.