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 ¶
NewRelayer creates a new relayer command that holds some other sub commands
func NewRelayerConfigure ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.