Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giveth/monoswap
https://github.com/giveth/monoswap
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/giveth/monoswap
- Owner: Giveth
- License: gpl-3.0
- Created: 2023-03-05T04:39:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-05T23:36:11.000Z (5 months ago)
- Last Synced: 2024-10-06T04:39:59.737Z (about 1 month ago)
- Language: TypeScript
- Size: 20 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# monoswap
A single SDK that wraps the uniswap SDK V2 (Mainnet, 1Hive HoneySwap and Pancakeswap), the uniswap SDK V3 (Polygon, Optimism) and Celo Exchange (Celo mainnet and alfajores).
## Options
Set the following environment variables to configure the SDK.| Key | Required | Description |
|-------------------------------|----------|------------------------------------------------------------------------------------|
| INFURA_API_KEY | true | Infura API key, enable polygon mainnet if POLYGON_MAINNET_NODE_HTTP_URL is not set |
| XDAI_NODE_HTTP_URL | true | Gnosi Chain node url |
| POLYGON_MAINNET_NODE_HTTP_URL | false | Polygon mainnet node url |
| OPTIMISM_NODE_HTTP_URL | false | Optimism node url |
| CELO_MAINNET_NODE_HTTP_URL | false | Celo mainnet node url. Default: https://forno.celo.org |
| CELO_ALFAJORES_NODE_HTTP_URL | false | Celo Alfajores node url. Default: https://alfajores-forno.celo-testnet.org |