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

Namadillo: IBC -> Decide how to access chain registries #1224

Open
emccorson opened this issue Oct 31, 2024 · 0 comments
Open

Namadillo: IBC -> Decide how to access chain registries #1224

emccorson opened this issue Oct 31, 2024 · 0 comments

Comments

@emccorson
Copy link
Collaborator

We are using the Cosmos chain registry and the Namada chain registry in Namadillo, and we should decide how we want to access these. We don't know which chains/assets we need to look up at compile time, so a static configuration won't work.

Possibilities:

  • Currently as of feat: fully decode IBC assets on cosmos chains #1216 we are loading the whole cosmos registry at once. This leads a jump in the bundle size (from an initial ~5kB jumps to ~8kB).
  • Still use the registry packages installed from npm, but dynamically import what we need. Better for bundle size but if registry information changes then Namadillo needs updated.
  • Call a remote server for the registry information. Keeps bundle size lower and no need to update Namadillo to get the latest information, but relies on server being up for Namadillo to work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant