cmd

package
v0.0.0-...-75869e0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	RelayerSource = "source"
	RelayerTarget = "target"
)

Variables

This section is empty.

Functions

func InitChain

func InitChain(
	cmd *cobra.Command,
	r relayer.Relayer,
	session *cliui.Session,
	name,
	accountName,
	rpcAddr,
	faucetAddr,
	gasPrice string,
	gasLimit int64,
	addressPrefix,
	clientID string,
) (*relayer.Chain, error)

InitChain initializes chain information for the relayer connection.

func NewRelayer

func NewRelayer() *cobra.Command

NewRelayer creates a new relayer command that holds some other sub commands

func NewRelayerConfigure

func NewRelayerConfigure() *cobra.Command

NewRelayerConfigure returns a new relayer configure command. faucet addresses are optional and connect command will try to guess the address when not provided. even if auto retrieving coins fails, connect command will complete with success.

func NewRelayerConnect

func NewRelayerConnect() *cobra.Command

NewRelayerConnect returns a new relayer connect command to link all or some relayer paths and start relaying txs in between. if not paths are specified, all paths are linked.

Types

This section is empty.

Jump to

Keyboard shortcuts

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