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 usinggo install
:
tools/hubl
.
Usage
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 (Link). If the chain is not listed in the chain registry, you can use any unique name.~/.hubl/config.toml
.
When using an unsecure gRPC endpoint, change the Or use the
insecure
field to true
in the config file.--insecure
flag:Query
To query a chain, you can use thequery
command.
Then specify which module you want to query and the query itself.