HYDRA Documentation
  • Introduction to Hydra Chain
  • HydraGon
    • Migrate to HydraGon
    • Staking Calculator
  • Legacy Hydra
  • FAQ
  • Hydra web wallet
    • Create New Wallet
      • Key File Option
      • Mnemonic Words Option
    • Access Your Wallet
      • From Mnemonic Words
      • From Private Key
      • From Key File
    • Send and Receive Assets
      • Receive Assets
      • Send Assets
    • Add HRC20 Token
    • Setup Offline Wallet
  • Hydra web browser extension
    • How to integrate with dApps
  • Hydra for Beginners
  • Ledger Nano Guide
  • Hydra Bridge
  • HydraDEX
    • Adding and Removing Liquidity
    • Liquidity Mining on HydraDEX
  • Useful Links (Legacy)
  • Essentials
    • UTXOs Accounting
    • Test & Main Networks
    • Desktop wallet basic usage
    • Wallet Encrypt, Backup and Restore
    • Hydra Core Wallet Commands
    • Adding Nodes
    • Encrypt and Unlock Hydra Wallet
    • Wallet Recovery With Salvagewallet
    • bech32 support
    • Repositories
    • Hydra Exchange Usage Guide
    • How to Add Options
    • How to Use bootstrap.dat
    • Command Lines (RPC API)
    • Guidance of Hydra Deployment and RPC Settings
    • How to Build Hydra on Raspbian
  • HRC20 Tokens
    • HRC20 Token
    • HRC20 Raw Transactions
    • HRC20 With Hydrachainjs
    • HRC20 DApp
  • HRC721 Tokens
    • HRC721 Token - How to deploy
  • How Transactions Work
  • Hydra Economy (Legacy)
    • The Flexible Supply Mechanism
    • Legacy Staking Calculator
  • Installation Guides
  • Guide for Linux
  • Guide for Raspberry Pi
  • Guide for MacOS
  • Staking HYDRA Coins
    • Setting up Staking
    • Staking with Windows VPS on AWS
    • Staking with Linux on DigitalOcean VPS
    • How to Stake Hydra on Linux
    • Stake With Linux VPS
    • How to Stake on FreeBSD
    • Hydra node health check
    • Superstaking
    • Delegating to Superstaker
    • Delegating via Mobile App or Web Browser
    • Lydra Basics
    • Understanding LYDRA — Key Concepts and Dynamics
  • Hydra Chain Core Team
  • KYC/AML Policy
  • Privacy Policy
  • API Documentation
    • Explorer API (in work)
      • General Blockchain Info
      • Fetching Transaction History for HYDRA and HRC20 tokens
      • Block Info
      • Transaction Info
    • Hydra DEX API
  • Community Tools
    • Github repository
    • Docker image for Hydra Node
    • Hydradex.org Custom Lists
  • Security Audits Hydra Bridge
Powered by GitBook
On this page

Was this helpful?

  1. Community Tools

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"

PreviousDocker image for Hydra NodeNextSecurity Audits Hydra Bridge

Last updated 3 years ago

Was this helpful?

1st step is to click on the token selector