Skip to content

shitswap/coin-list

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

How to add to this coin list

  1. fork repo
  2. append coin info to chain .js file (such as aptos/devnet.js)
  3. add icon to icons folder, svg format, or webp png size in range 48x48 to 64x64 (no too large)
  4. Pull Request

Coin Info example:

{
  address: '0x1::aptos_coin::AptosCoin',
  decimals: 8,
  symbol: 'APT',
  name: 'Aptos',
  logoURL: 'https://coinlist.animeswap.org/icons/APT.svg',
  projectURL: 'https://aptoslabs.com/',
}
{
  address: '0x16fe2df00ea7dde4a63409201f7f4e536bde7bb7335526a35d05111e68aa322c::TestCoinsV1::USDT',
  decimals: 8,
  symbol: 'USDT',
  name: 'Tether USD',
  logoURL: 'https://coinlist.animeswap.org/icons/USDT.webp',
  extensions: {
    stableUSD: true,
  },
}

Coin Schema:

class Coin {
  address: string
  decimals: number
  symbol: string
  name: string
  logoURL?: string
  projectURL?: string
  extensions?: object
}
  • address: the address of the coin on blockchain
  • decimals: the decimals of the coin
  • symbol: globally unique symbol within this coin registry
  • logoURL: optional, the URL of the logo of the coin
  • projectURL: optional, the project website of the coin
  • extensions: optional, used for special extra data

About

Coin list of AnimeSwap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%