- fork repo
- append coin info to chain
.js
file (such asaptos/devnet.js
) - add icon to
icons
folder,svg
format, orwebp
png
size in range48x48
to64x64
(no too large) - 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 blockchaindecimals
: the decimals of the coinsymbol
: globally unique symbol within this coin registrylogoURL
: optional, the URL of the logo of the coinprojectURL
: optional, the project website of the coinextensions
: optional, used for special extra data