Skip to content

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

Description

@pyramation

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

https://github.com/cosmology-tech/create-cosmos-app/blob/ec225356f212efebfb0c794bac77ab2c6bf883eb/examples/stake-tokens/pages/_app.tsx#L10

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions