Coin contracts

To add more coins for use in modules, follow these steps

To add more custom tokens or edit existing ones, please locate the file contracts/tokens.json and make the necessary modifications as needed:

Coin gecko ID - to use the token comparison feature in the swap module, you must configure the token ID (like for MATIC in the screenshot) from CoinGecko.

[
    {
        "symbol": "aptos",
        "contract_address": "0x1::aptos_coin::AptosCoin",
        "gecko_id": "aptos",
        "available_protocols": [
            "pancake",
            "abel",
            "thala",
            "liquid_swap"
        ]
    },
    {
        "symbol": "usdc",
        "contract_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDC",
        "gecko_id": "usd-coin",
        "aptos_bridge_handle": "0x8957ca6dab8475411756bfbb17e93534cc15bd942c7f275234be5381c3a48dff",
        "available_protocols": [
            "pancake",
            "abel",
            "thala",
            "liquid_swap",
            "the_aptos_bridge"
        ]
    },
    {
        "symbol": "usdt",
        "contract_address": "0xf22bede237a07e121b56d91a491eb7bcdfd1f5907926a9e58338f964a01b17fa::asset::USDT",
        "gecko_id": "tether",
        "aptos_bridge_handle": "0x2e46d98566716dc078ca858162169242fd0e45d7f2f8fb4799767c17e0af99bd",
        "available_protocols": [
            "pancake",
            "abel",
            "thala",
            "liquid_swap",
            "the_aptos_bridge"
        ]
    }
]

Last updated