Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IBC denoms to assetlist.json #1488

Open
ertemann opened this issue Feb 22, 2023 · 2 comments
Open

Add IBC denoms to assetlist.json #1488

ertemann opened this issue Feb 22, 2023 · 2 comments

Comments

@ertemann
Copy link
Contributor

ertemann commented Feb 22, 2023

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"
      }
    ]
  }
@ertemann
Copy link
Contributor Author

Another format for this can be found here: https://github.com/osmosis-labs/assetlists/blob/main/osmosis-1/osmosis-1.assetlist.json

@JeremyParish69
Copy link
Collaborator

Just saw this. Please see this proposed solution to add an asset type 'ics20' #1538

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants