Skip to content

ampleforth/tokenlists

Repository files navigation

ElasticSwap Tokenlists

Token Lists is a specification for lists of token metadata (e.g. address, decimals, etc.) that can be used by any dApp interfaces that needs one or more lists of tokens. Anyone can create and maintain a token list, as long as they follow the specification. The ElasticSwap community invites you to add your token to our tokenlists!

Adding Your Token to an Existing List

General Requirements

  1. Token should be verified on the Snowtrace Explorer, Etherscan or the official explorer of the token's chain.
  2. Token must be added to a list that it qualifies for:

Adding Your Token

  1. Add an entry in the tokens field of the appropriate tokenlist. Please use the checksum address. Here is an example using PNG:

    {
      "chainId": 43114,
      "address": "0x75739a693459f33B1FBcC02099eea3eBCF150cBe",
      "decimals": 18,
      "name": "ElasticSwap TIC Token",
      "symbol": "TIC",
      "logoURI": "https://raw.githubusercontent.com/ElasticSwap/brand/master/ElasticSwap/square-400px.png"
    }
  2. Update the timestamp field to the current timestamp.

  3. Update the version field to adhere to semantic versioning:

    • Increment major version when tokens are removed
    • Increment minor version when tokens are added
    • Increment patch version when tokens already on the list have minor details changed (name, symbol, logo URL, decimals)

    Note: Changing a token address or chain ID is considered both a remove and an add, and should be a major version update.

Adding Your Token Logo

Token logos are hosted here.

About

Tokenlists for ElasticSwap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published