@giveth/monoswap
TypeScript icon, indicating that this package has built-in type declarations

1.3.4 • Public • Published

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

/@giveth/monoswap/

    Package Sidebar

    Install

    npm i @giveth/monoswap

    Weekly Downloads

    205

    Version

    1.3.4

    License

    ISC

    Unpacked Size

    3.5 MB

    Total Files

    181

    Last publish

    Collaborators

    • mateodaza
    • cherik
    • wip-abramson
    • sponnet
    • griffgreen
    • aminlatifi