Coder Social home page Coder Social logo

galxe-token-list's Introduction

galxe-token-list

This repo contains the default token list used in the Galxe token reward campaign

How to add token

1. Modify tokens.json

Navigate to the src/tokens.json file in this repository and add your token's details in the format provided:

{
   "name": "YOUR_TOKEN_NAME",
   "address": "YOUR_TOKEN_CONTRACT_ADDRESS",
   "symbol": "YOUR_TOKEN_SYMBOL",
   "decimals": TOKEN_DECIMALS,
   "chainId": YOUR_CHAIN_ID,
   "logoURI": "YOUR_TOKEN_LOGO_URL"
}

2. Submit a Pull Request (PR)

Confirm your changes and submit the PR with a meaningful title and description. Our team will review your PR and, if everything looks good, your token will be added to the Galxe Token Reward Campaign.

Example Token Format

{
   "name": "Wrapped Ether",
   "address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
   "symbol": "WETH",
   "decimals": 18,
   "chainId": 1,
   "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png"
}

Common Chain IDs

Chain IDs are unique numerical identifiers for different blockchain networks. Below are some common chain IDs:

  • Ethereum Mainnet: 1
  • BNB Smart Chain Mainnet: 56
  • Arbitrum One: 42161
  • OP Mainnet: 10
  • Polygon Mainnet: 137

If you are unsure about the correct chain id for your token or if you need to find the ID for another blockchain, you can visit https://chainlist.org/ to find the appropriate ID for your desired chain.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.