eco-stake / cosmos-directory

⚛️ · 📖
https://cosmos.directory
MIT License
79 stars 22 forks source link

idea: add bech32 prefix -> chains.cosmos.directory #51

Closed Reecepbcups closed 2 years ago

Reecepbcups commented 2 years ago

This would be extremely useful for my bots (relayer notifications, governance, python-ibc package, etc)

I could query each sub endpoint to get it from ex: https://chains.cosmos.directory/agoric, but that is going to stack up with a lot of requests as more chains are onboarded.

tombeynon commented 2 years ago

Hey @Reecepbcups sorry I didn't see this sooner! I'll get this added in the next release. The index page is becoming a bit of a dumping ground but it's really useful for apps like this, so will keep adding to it for now. In the future this API will likely be deprecated (altho still supported) and replaced with something more logical.