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

[staking-example] use chain-registry/utils and cleanup use of assets/chains #156

Open
pyramation opened this issue Jan 25, 2024 · 1 comment
Assignees

Comments

@pyramation
Copy link
Contributor

The staking example hard-codes the usage of assets in at least two files:

https://github.com/cosmology-tech/create-cosmos-app/blob/ec225356f212efebfb0c794bac77ab2c6bf883eb/examples/stake-tokens/config/defaults.ts

import { chains, assets } from 'chain-registry';

let's at least simplify it to a single file so it can be imported, and also use chain-registry/utils for methods accessing chain-registry info

@HebeHe1986
Copy link

We should also look into using chain-registry/utils in other examples, but let’s start with this one and clean things up a bit

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

4 participants