Bumps [cosmossdk.io/api](https://github.com/cosmos/cosmos-sdk) from 0.3.0 to 0.3.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/cosmos/cosmos-sdk/blob/v0.3.1/CHANGELOG.md">cosmossdk.io/api's changelog</a>.</em></p> <blockquote> <h2>0.3.1 (March 23, 2017)</h2> <p>IMPROVEMENTS:</p> <ul> <li>CLI returns exit code 1 and logs error before exiting</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/cosmos/cosmos-sdk/compare/v0.3.0...v0.3.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> |
||
|---|---|---|
| .. | ||
| cmd/hubl | ||
| internal | ||
| .gitignore | ||
| CHANGELOG.md | ||
| go.mod | ||
| go.sum | ||
| Makefile | ||
| README.md | ||
| sonar-project.properties | ||
| sidebar_position |
|---|
| 1 |
Hubl
Hubl is a tool that allows you to query any Cosmos SDK based blockchain.
It takes advantage of the new AutoCLI feature of the Cosmos SDK.
Installation
Hubl can be installed using go install:
go install cosmossdk.io/tools/hubl/cmd/hubl@latest
Or build from source:
git clone --depth=1 https://github.com/cosmos/cosmos-sdk
make hubl
The binary will be located in tools/hubl.
Usage
hubl --help
Add chain
To configure a new chain just run this command using the --init flag and the name of the chain as it's listed in the chain registry (https://github.com/cosmos/chain-registry).
If the chain is not listed in the chain registry, you can use any unique name.
hubl init [chain-name]
hubl init regen
The chain configuration is stored in ~/.hubl/config.toml.
:::tip
When using an unsecure gRPC endpoint, change the insecure field to true in the config file.
[chains]
[chains.regen]
[[chains.regen.trusted-grpc-endpoints]]
endpoint = 'localhost:9090'
insecure = true
Or use the --insecure flag:
hubl init regen --insecure
:::
Query
To query a chain, you can use the query command.
Then specify which module you want to query and the query itself.
hubl regen query auth module-accounts