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

Extend explorer schema to include validator link, proposal link and block link #3983

Open
freak12techno opened this issue Feb 25, 2024 · 0 comments

Comments

@freak12techno
Copy link
Contributor

I am working on a tool called cosmos-transactions-bot (https://github.com/QuokkaStake/cosmos-transactions-bot), which is designed to report transactions matching the filters you want in the way similar to this one:
image

In the messages, it generates the links to resources, like validators/proposals/blocks/transactions/wallets.

I am now trying to integrate it with cosmos.directory, which uses chain-registry internally, to avoid having users specifying explorer links patterns manually, so they can just specify chain-id of a chain in config, and the app would do the work for them by fetching cosmos.directory chains list, finding the correct one, taking the explorer from it and generating the links based on a pattern there.

I see on explorer schema there's a tx page and the account page patters (specified here): https://github.com/cosmos/chain-registry/blob/master/chain.schema.json#L637, but I think for what I am trying to accomplish here it'd be also nice to have a way to specify the pattern for block page, validator page and proposal link.

What do you think?

(Feel free to assign me to this issue if you think it's reasonable, I can take care of it by making a PR.)

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

1 participant