client

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 46 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateChainID

func GenerateChainID(baseCmd *cobra.Command) *cobra.Command

GenerateChainID wraps a cobra command with a RunE function with base 10 integer chain-id random generation when a chain-id is not provided.

func InitConfig

func InitConfig(cmd *cobra.Command) error

InitConfig adds the chain-id, encoding and output flags to the persistent flag set.

func InitTestnet

func InitTestnet(
	clientCtx client.Context,
	cmd *cobra.Command,
	nodeConfig *tmconfig.Config,
	mbm module.BasicManager,
	genBalIterator banktypes.GenesisBalancesIterator,
	outputDir,
	chainID,
	coinDenom,
	minGasPrices,
	nodeDirPrefix,
	nodeDaemonHome,
	keyringBackend,
	algoStr string,
	ipAddresses []string,
	numValidators int,
) error

InitTestnet initializes the testnet configuration

func KeyCommands

func KeyCommands(defaultNodeHome string) *cobra.Command

KeyCommands registers a sub-tree of commands to interact with local private key storage.

func TestnetCmd

func TestnetCmd(
	mbm module.BasicManager, genBalancesIterator banktypes.GenesisBalancesIterator,
) *cobra.Command

TestnetCmd initializes all files for tendermint testnet and application

func UnsafeExportEthKeyCommand

func UnsafeExportEthKeyCommand() *cobra.Command

UnsafeExportEthKeyCommand exports a key with the given name as a private key in hex format.

func UnsafeImportKeyCommand

func UnsafeImportKeyCommand() *cobra.Command

UnsafeImportKeyCommand imports private keys from a keyfile.

func ValidateChainID

func ValidateChainID(baseCmd *cobra.Command) *cobra.Command

ValidateChainID wraps a cobra command with a RunE function with base 10 integer chain-id verification.

Types

This section is empty.

Directories

Path Synopsis
docs

Jump to

Keyboard shortcuts

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