Documentation ¶
Index ¶
- Constants
- Variables
- type CLI
- func (c CLI) AddGenesisAccount(address, nodeDir string, coins []string) (*string, error)
- func (c CLI) AddGenesisCLPAdmin(address, nodeDir string) (*string, error)
- func (c CLI) AddKey(name, mnemonic, keyPassword, cliDir string) (*string, error)
- func (c CLI) AppFilePath() string
- func (c CLI) CollectGenesisTxns(gentxDir, nodeDir string) (*string, error)
- func (c CLI) ConfigFilePath() string
- func (c CLI) CreateDir(path string) error
- func (c CLI) CreateValidator(moniker, validatorPublicKey, keyPassword, bondAmount string) (*string, error)
- func (c CLI) DaemonPath() (*string, error)
- func (c CLI) ExportGenesis() (*string, error)
- func (c CLI) GenerateGenesisTxn(...) (*string, error)
- func (c CLI) GenesisFilePath() string
- func (c CLI) InitChain(chainID, moniker, nodeDir string) (*string, error)
- func (c CLI) MoveFile(src, dest string) (*string, error)
- func (c CLI) NodeID(nodeDir string) (*string, error)
- func (c CLI) Reset(paths []string) error
- func (c CLI) ResetState(nodeDir string) (*string, error)
- func (c CLI) SetGenesisOracleAdmin(address, nodeDir string) (*string, error)
- func (c CLI) TransferFunds(keyPassword, fromAddress, toAddress, coins string) (*string, error)
- func (c CLI) ValidatorAddress(nodeDir string) (*string, error)
- func (c CLI) ValidatorConsensusAddress(nodeDir string) (*string, error)
- func (c CLI) ValidatorPublicKeyAddress() (*string, error)
- type CLIUtils
Constants ¶
View Source
const ( GenesisFile = "genesis.json" ConfigTOML = "config.toml" AppTOML = "app.toml" )
Variables ¶
View Source
var (
DefaultNodeHome = app.DefaultNodeHome
)
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
func (CLI) AddGenesisAccount ¶
func (CLI) AddGenesisCLPAdmin ¶
func (CLI) AppFilePath ¶
func (CLI) CollectGenesisTxns ¶
func (CLI) ConfigFilePath ¶
func (CLI) CreateValidator ¶
func (CLI) DaemonPath ¶
func (CLI) ExportGenesis ¶
func (CLI) GenerateGenesisTxn ¶
func (CLI) GenesisFilePath ¶
func (CLI) SetGenesisOracleAdmin ¶
func (CLI) TransferFunds ¶
func (CLI) ValidatorConsensusAddress ¶
func (CLI) ValidatorPublicKeyAddress ¶
type CLIUtils ¶
type CLIUtils interface { Reset([]string) error DaemonPath() (*string, error) ResetState(string) (*string, error) CreateDir(string) error MoveFile(string, string) (*string, error) NodeID(string) (*string, error) ValidatorAddress(string) (*string, error) ValidatorConsensusAddress(string) (*string, error) InitChain(string, string, string) (*string, error) AddKey(string, string, string, string) (*string, error) AddGenesisAccount(string, string, []string) (*string, error) AddGenesisCLPAdmin(string, string) (*string, error) SetGenesisOracleAdmin(string, string) (*string, error) GenerateGenesisTxn(string, string, string, string, string, string, string, string, string) (*string, error) CollectGenesisTxns(string, string) (*string, error) ExportGenesis() (*string, error) GenesisFilePath() string ConfigFilePath() string AppFilePath() string TransferFunds(string, string, string, string) (*string, error) ValidatorPublicKeyAddress() (*string, error) CreateValidator(string, string, string, string) (*string, error) }
Click to show internal directories.
Click to hide internal directories.