StarkNet Helper
  • Introduction
  • Usage
    • General
    • Modules
      • Swap
      • Liquidity
        • Add liquidity
        • Remove liquidity
      • Deploy
      • Upgrade
      • Transfer
      • Lending
        • Supply
        • Withdraw
      • Stark ID
      • Bridge
      • Trash txn's
      • Zerius
      • Dmail
    • Wallets
    • Run settings
    • Actions (Tasks)
  • Installation
    • Requirements
    • Launch
  • Other
    • Settings
    • Tools
    • 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

PreviousToolsNextContacts

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.

[
    {
        "default": [
            {
                "symbol": "eth",
                "contract_address": "0x49d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7",
                "available_protocols": [
                    "jediswap",
                    "myswap",
                    "sithswap",
                    "avnu",
                    "k10swap",
                    "zklend",
                    "fibrous",
                    "starkex"
                ],
                "coin_gecko_id": "ethereum"
            },
            {
                "symbol": "usdt",
                "contract_address": "0x068f5c6a61780768455de69077e07e89787839bf8166decfbf92b645209c0fb8",
                "available_protocols": [
                    "jediswap",
                    "myswap",
                    "sithswap",
                    "avnu",
                    "k10swap",
                    "zklend",
                    "fibrous",
                    "starkex"
                ],
                "coin_gecko_id": "tether"
            },
            {
                "symbol": "usdc",
                "contract_address": "0x053c91253bc9682c04929ca02ed00b3e423f6710d2ee7e0d5ebb06f3ecf368a8",
                "available_protocols": [
                    "jediswap",
                    "myswap",
                    "sithswap",
                    "avnu",
                    "k10swap",
                    "zklend",
                    "fibrous",
                    "starkex"
                ],
                "coin_gecko_id": "usd-coin"
            },
            {
                "symbol": "dai",
                "contract_address": "0x00da114221cb83fa859dbdb4c44beeaa0bb37c7537ad5ae66fe5e0efd20e6eb3",
                "available_protocols": [
                    "jediswap",
                    "myswap",
                    "sithswap",
                    "avnu",
                    "k10swap",
                    "zklend",
                    "fibrous",
                    "starkex"
                ],
                "coin_gecko_id": "dai"
            },
            {
                "symbol": "zusdc",
                "contract_address": "0x047ad51726d891f972e74e4ad858a261b43869f7126ce7436ee0b2529a98f486"
            },
            {
                "symbol": "zusdt",
                "contract_address": "0x00811d8da5dc8a2206ea7fd0b28627c2d77280a515126e62baa4d78e22714c4a"
            },
            {
                "symbol": "zdai",
                "contract_address": "0x062fa7afe1ca2992f8d8015385a279f49fad36299754fb1e9866f4f052289376"
            },
            {
                "symbol": "zwbtc",
                "contract_address": "0x02b9ea3acdb23da566cee8e8beae3125a1458e720dea68c4a9a7a2d8eb5bbb4a"
            },
            {
                "symbol": "zeth",
                "contract_address": "0x01b5bd713e72fdc5d63ffd83762f81297f6175a5e0a4771cdadbc1dd5fe72cb1"
            },
            {
                "symbol": "msw_usdc_usdt",
                "contract_address": "0x01ea237607b7d9d2e9997aa373795929807552503683e35d8739f4dc46652de1"
            },
            {
                "symbol": "msw_dai_eth",
                "contract_address": "0x07c662b10f409d7a0a69c8da79b397fd91187ca5f6230ed30effef2dceddc5b3"
            },
            {
                "symbol": "msw_eth_usdc",
                "contract_address": "0x022b05f9396d2c48183f6deaf138a57522bcc8b35b67dee919f76403d1783136"
            },
            {
                "symbol": "msw_eth_usdt",
                "contract_address": "0x041f9a1e9a4d924273f5a5c0c138d52d66d2e6a8bee17412c6b0f48fe059ae04"
            }
        ],
        "custom": []
    }
]