hyperweb-io / hyperweb-io/create-cosmos-app

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

Open
#156 1 comment 0 reactions 1 assignee Assigned to @marslavish View on GitHub
Medium-priority
Dominant language
TypeScript
Stars
166
Forks
53
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.