Hydradex.org Custom Lists

Guide on how to load a custom list onto the HydraDex.org

Hydradex.org is a modified fork of Uniswap, and supports custom lists.

This article intends to share the correct format on how to create and manage a custom list.

You can refer to the sample of a default-list.json :

{
  "name": "HydraSwap",
  "logoURI": "",
  "keywords": [
    "hydra",
    "hydraswap"
  ],
  "timestamp": "2021-05-24T20:37:00.000+00:00",
  "tokens": [
    {
      "chainId": 1,
      "address": "6d9115a21863ce31b44cd231e4c4ccc87566222f",
      "name": "Wrapped Hydra",
      "symbol": "WHYDRA",
      "decimals": 8,
      "logoURI": "https://raw.githubusercontent.com/weichain/hydraswap-token-list/main/icons/hydra-logo.png"
    },
    { 
      "chainId": 1,
      "address": "4ab26aaa1803daa638910d71075c06386e391147",
      "name": "LockTrip",
      "symbol": "LOC",
      "decimals": 8,
      "logoURI": "https://raw.githubusercontent.com/weichain/hydraswap-token-list/main/icons/LockTrip_LOC_400x400.jpg"
    },
    { 
      "chainId": 1,
      "address": "7b8dd012ec9e1f11e008376ef21d29ba4cc78e24",
      "name": "GoMeat",
      "symbol": "GOMT",
      "decimals": 8,
      "logoURI": "https://cdn1.telesco.pe/file/IwVG7N78PfxC2p6Lu-5IRB3rnsTw3tJScOGTQD-9crfBdZLEWF3GbTRDNnyJfeMholSKyq1ZSm0tQD4fCiuc7EDEBswdfLdSbHjfsadGQtHm0G_1f1HFqj2_1lipWLI_KLSJ6srXxMwssX7YR1V1gRFw20fDcQHJlD6o0EeL_4T4hiNdavKn5MOpKl7tEgp7UpR80KFasZPh9ItEoE2UcCTTF91hl51TKK6tC14PdXtRYjLba2pSn3csbl0lMLn4IGq-4_wi9B-AD7h2OaHSI4_nxWn6w_E7v-qyq4klUzX490nTkR6MjQxjScxqQ7259TNalhaEYiiB9uN9oqfV-A.jpg"
    }
  ],
  "version": {
    "major": 1,
    "minor": 0,
    "patch": 0
  }
}

In order to add a custom token, you just need to make sure to add

,
    { 
      "chainId": 1,
      "address": "[this is the address of your smart contract]",
      "name": "[Project Name]",
      "symbol": "[Token Name]",
      "decimals": 8,
      "logoURI": "[a URI of a square logo]"
    }

In order to load the custom list through the HydraDex.org interface, you need to first click on the token selector:

Then you need to click on the "Manage Button"

Last updated