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

remove _non-cosmos in favor of flat structure leveraging namespace folders #5537

Open
pyramation opened this issue Nov 1, 2024 · 1 comment

Comments

@pyramation
Copy link
Collaborator

one idea for scalability, esp. when folks fetch from chain registry...

what if there is no _non-cosmos/ folder?

What if it's literally sharded based on chain_type (caip namespace)?

Big breaking change, but I think more scalable long-term.

@JeremyParish69
Copy link
Collaborator

so a directory for each of the following?

/bip122/ (for bitcoin and bitcoin forks)
/eip155/ (for evms)
/cosmos/ (for cosmos)
/polkadot/
/avalanche/
etc?

This could still end up in a longish list of directories, but better than the huge list we currently have.
See this directory to get an idea: https://github.com/ChainAgnostic/namespaces/tree/main
Also note that note all chains have their namespace defined, so there might be some chains that don't have a home in that new structure

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