commands

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

README

IBC CLI Usage

initialize

basecoind init # copy the recover key
basecli keys add keyname --recover
basecoind start

transfer

transfer sends coins from one chain to another(or itself).

basecli transfer --name keyname --to address_of_destination --amount 10mycoin --chain test-chain-AAAAAA --chain-id AAAAAA

The id of the chain can be found in $HOME/.basecoind/config/genesis.json

relay

basecli relay --name keyname --from-chain-id test-chain-AAAAAA --from-chain-node=tcp://0.0.0.0:46657 --to-chain-id test-chain-AAAAAA --to-chain-node=tcp://0.0.0.0:46657

Documentation

Index

Constants

View Source
const (
	FlagFromChainID   = "from-chain-id"
	FlagFromChainNode = "from-chain-node"
	FlagToChainID     = "to-chain-id"
	FlagToChainNode   = "to-chain-node"
)

Variables

This section is empty.

Functions

func IBCRelayCmd

func IBCRelayCmd(cdc *wire.Codec) *cobra.Command

func IBCTransferCmd

func IBCTransferCmd(cdc *wire.Codec) *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