chain-registry
chain-registry copied to clipboard
Add IBC denoms to assetlist.json
I propose allowing for addition of a new category inside asset_list.json named ibc_assets which displays the information for all available IBC coins including their channels, IBC denoms and exponent.
A draft for such a json is shown below. Please provide feedback on the structure and naming convention.
{
"$schema": "../assetlist.schema.json",
"chain_name": "cosmoshub",
"assets": [
{
"description": "The native staking and governance token of the Cosmos Hub.",
"denom_units": [
{
"denom": "uatom",
"exponent": 0
},
{
"denom": "atom",
"exponent": 6
}
],
"base": "uatom",
"name": "Cosmos Hub Atom",
"display": "atom",
"symbol": "ATOM",
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.svg"
},
"coingecko_id": "cosmos"
}
]
"ibc_assets": [
{
"chain_name": "Secret Network",
"chain_id": "Secret-4",
"bech32_prefix": "secret",
"channel_native": "channel-235",
"channel_external": "channel-0",
"token_name": "SCRT",
"ibc_denom": "ibc/F2F4547027DED5928A950CCA9A4DC8199FAB7DA7C2E8630EE78F10D341573D1E",
"decimals": 6,
"native_denom": "uscrt",
"logo_URIs": {
"png": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/scrt.svg",
"svg": "https://raw.githubusercontent.com/cosmos/chain-registry/master/secretnetwork/images/scrt.png"
},
"coingecko_id": "secret"
}
]
}
Just saw this. Please see this proposed solution to add an asset type 'ics20' https://github.com/cosmos/chain-registry/pull/1538