dex-provider
Version:
Fetch data like trading pair and liquidity from DEX
42 lines (26 loc) • 1.36 kB
Markdown
# DEX Provider
A DEX data provider that gives informations like trading pair list and liquidity details of a trading pair.
## Run examples
Issue `yarn build` to build the project, then you can run example by executing:
```sh
node examples/<script-name>
```
## Types definitions
Head to [types.ts](./src/types.ts)
## Supportted DEX[Plan]
- UniswapV2 on Ethereum
- Source code: https://github.com/Uniswap/v2-core
- Deployed contracts: https://docs.uniswap.org/protocol/V2/reference/smart-contracts
- Data source: https://thegraph.com/hosted-service/subgraph/uniswap/uniswap-v2
- BeamSwap on Moonbeam
- Source code: https://moonscan.io/address/0x985BcA32293A7A496300a48081947321177a86FD#code
- Deployed contracts: https://docs.beamswap.io/contracts/beamswap-contracts
- Data source: https://thegraph.com/hosted-service/subgraph/beamswap/beamswap-dex
- StellaSwap on Moonbeam
- Source code: https://github.com/stellaswap/core/tree/master/amm
- Deployed contracts: https://docs.stellaswap.com/developers/smart-contracts#usdstella-token-smart-contract-details
- Data source: https://thegraph.com/hosted-service/subgraph/beamswap/beamswap-dex
- ArthSwap on AStar
- Source code: https://github.com/ArthSwap/arthswap-core
- Deployed contracts: https://docs.arthswap.org/contract/smart-contract
- Data source: