cli

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

README

CLI of the epoching module

Delegating bbn

$BABYLON_PATH/build/babylond --home $TESTNET_PATH/node0/babylond --chain-id chain-test \
         --keyring-backend test --fees 1bbn \
         --from node0 --broadcast-mode block \
         tx epoching delegate <val_addr> <amount_of_bbn>

Undelegating bbn

$BABYLON_PATH/build/babylond --home $TESTNET_PATH/node0/babylond --chain-id chain-test \
         --keyring-backend test --fees 3bbn \
         --from node0 --broadcast-mode block \
         tx epoching unbond <val_addr> <amount_of_bbn>

Redelegating bbn

$BABYLON_PATH/build/babylond --home $TESTNET_PATH/node0/babylond --chain-id chain-test \
         --keyring-backend test --fees 3bbn \
         --from node0 --broadcast-mode block \
         tx epoching redelegate <from_val_addr> <to_val_addr> <amount_of_bbn>

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultRelativePacketTimeoutTimestamp = uint64((time.Duration(10) * time.Minute).Nanoseconds())
)

Functions

func CmdQueryParams

func CmdQueryParams() *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func NewDelegateCmd

func NewDelegateCmd() *cobra.Command

func NewRedelegateCmd

func NewRedelegateCmd() *cobra.Command

func NewUnbondCmd

func NewUnbondCmd() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL