initia-labs / initia-registry

242 stars 153 forks source link

Lack of source chain in `assetlist.json` for IBC and L2 assets. #106

Closed y-pakorn closed 3 months ago

y-pakorn commented 5 months ago

In minitia's assetlist.json, there's no way to map between IBC and L2 assets to their respective source chain asset except for fuzzy searching all assets in denom_units which is considered counterintuitive and not optimized.

For example, in testnets/init_ai/assetlist.json there is TUC token, a native token of Tucana minitia, in this case, the real denom would be utuc, but there's no way to know that except I open the assetlist.json of Tucana and find that manually. https://github.com/initia-labs/initia-registry/blob/c510fb1b0825e67e553e9d4801b4657618e10f69/testnets/init_ai/assetlist.json#L118-L123

Please consider adding some information regarding the source chain and source assets, a good example here would be Pulsar's IBC registry. https://github.com/PulsarDefi/IBC-Token-Data-Cosmos/blob/647ec95d52f67c71e3681cc756bc2d8446fd00e9/ibc_data.json#L5-10

simcheolhwan commented 5 months ago

This will be handled later in the format as the link below:

https://github.com/cosmos/chain-registry/blob/master/osmosis/assetlist.json#L101-L130

BayuPtrs commented 5 months ago

Let's Go

Byte3622 commented 5 months ago

Handled yet?

monsterkan commented 4 months ago

go go go

simcheolhwan commented 3 months ago

169