Aptos Helper
  • Introduction
  • Usage
    • General
    • Modules
      • Swap
      • Liquidity
        • Add liquidity
        • Remove liquidity
      • Delegate
      • Unlock delegate
      • Supply
      • Withdraw
      • Transfer
      • Aptos Bridge
      • NFT collect
      • Graffio
    • Settings
      • Coin contracts
      • RPC urls
    • Tools
    • Wallets
    • Run settings
    • Gas calculation
    • Actions (Tasks)
  • Installation
    • Requirements
    • Launch
  • Contacts
  • OTHER
    • Tools
    • Settings
    • Coin contracts
  • Contacts
  • Support
Powered by GitBook
On this page
  1. OTHER

Coin contracts

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

PreviousSettingsNextContacts

Last updated 1 year ago

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"
        ]
    }
]