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 :
1
{
2
"name": "HydraSwap",
3
"logoURI": "",
4
"keywords": [
5
"hydra",
6
"hydraswap"
7
],
8
"timestamp": "2021-05-24T20:37:00.000+00:00",
9
"tokens": [
10
{
11
"chainId": 1,
12
"address": "6d9115a21863ce31b44cd231e4c4ccc87566222f",
13
"name": "Wrapped Hydra",
14
"symbol": "WHYDRA",
15
"decimals": 8,
16
"logoURI": "https://raw.githubusercontent.com/weichain/hydraswap-token-list/main/icons/hydra-logo.png"
17
},
18
{
19
"chainId": 1,
20
"address": "4ab26aaa1803daa638910d71075c06386e391147",
21
"name": "LockTrip",
22
"symbol": "LOC",
23
"decimals": 8,
24
"logoURI": "https://raw.githubusercontent.com/weichain/hydraswap-token-list/main/icons/LockTrip_LOC_400x400.jpg"
25
},
26
{
27
"chainId": 1,
28
"address": "7b8dd012ec9e1f11e008376ef21d29ba4cc78e24",
29
"name": "GoMeat",
30
"symbol": "GOMT",
31
"decimals": 8,
32
"logoURI": "https://cdn1.telesco.pe/file/IwVG7N78PfxC2p6Lu-5IRB3rnsTw3tJScOGTQD-9crfBdZLEWF3GbTRDNnyJfeMholSKyq1ZSm0tQD4fCiuc7EDEBswdfLdSbHjfsadGQtHm0G_1f1HFqj2_1lipWLI_KLSJ6srXxMwssX7YR1V1gRFw20fDcQHJlD6o0EeL_4T4hiNdavKn5MOpKl7tEgp7UpR80KFasZPh9ItEoE2UcCTTF91hl51TKK6tC14PdXtRYjLba2pSn3csbl0lMLn4IGq-4_wi9B-AD7h2OaHSI4_nxWn6w_E7v-qyq4klUzX490nTkR6MjQxjScxqQ7259TNalhaEYiiB9uN9oqfV-A.jpg"
33
}
34
],
35
"version": {
36
"major": 1,
37
"minor": 0,
38
"patch": 0
39
}
40
}
Copied!
In order to add a custom token, you just need to make sure to add
1
,
2
{
3
"chainId": 1,
4
"address": "[this is the address of your smart contract]",
5
"name": "[Project Name]",
6
"symbol": "[Token Name]",
7
"decimals": 8,
8
"logoURI": "[a URI of a square logo]"
9
}
Copied!
In order to load the custom list through the HydraDex.org interface, you need to first click on the token selector:
1st step is to click on the token selector
Then you need to click on the "Manage Button"
Last modified 25d ago
Copy link