Documentation
¶
Overview ¶
Package chain implements the cast-familiar CometBFT-facing subcommands of `polycli heimdall`: block, block-number, age, find-block, chain-id, chain, client. All calls target the CometBFT JSON-RPC endpoint — the REST gateway is unused here.
The subcommands live at the top level of the heimdall tree (for cast parity) rather than under an intermediate `chain` group. Callers register them with Register(parent).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
Register attaches the chain-group subcommands directly to parent and binds the shared flag struct for config resolution. parent is typically the root heimdall cobra command.
Every chain subcommand is read-only, so we wire in render.EnableWatch to give them a `--watch DURATION` flag that repeats the call.
Types ¶
This section is empty.