cosmology-tech/chain-registry

IBC asset lists

pyramation opened this issue · 2 comments

currently there are three different asset lists I've been able to find, all with different styles:

Osmosis seems to be closest to the chain-registry style. We could start by generating lists like Osmosis', and maybe add chain and/or counterparty info. So far we've statically generated ibc_assets.json https://github.com/cosmology-finance/chain-registry/blob/main/packages/chain-registry/src/ibc_assets.json

  • dynamically generate from a class and cache the data
  • work with community on the best possible shape and API for consuming and working with IBC asset lists

@JeremyParish69

any thoughts on the structure we should have for ibc_assets.json? While I came up with the new idea here The more I think about it, perhaps we should export something closer to the style of the Osmosis asset list which corresponds closely with chain-registry.

Are there any other fields we should consider?

Also, if we can iron this stuff out here and get it tested, we can explore using these utils to generate some of these lists directly in the chain-registry repo.