client

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 20 Imported by: 36 modules, 28 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 InitConfig

func InitConfig(cmd *cobra.Command) error

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

func KeyCommands

func KeyCommands(defaultNodeHome string, defaultToEthKeys bool) *cobra.Command

KeyCommands registers a subtree of commands to interact with local private key storage.

The defaultToEthKeys boolean indicates whether to use Ethereum compatible keys by default or stick with the Cosmos SDK default.

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.

Types

type EVMContext added in v0.3.0

type EVMContext struct {
	client.Context        // Embedding the original Context
	EVMChainID     uint64 `json:"evm_chain_id"`
}

EVMContext embeds the original Context and adds your own field

func (EVMContext) WithEVMChainID added in v0.3.0

func (ctx EVMContext) WithEVMChainID(evmChainID uint64) EVMContext

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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