Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
InitConfig adds the chain-id, encoding and output flags to the persistent flag set.
func KeyCommands ¶
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 ¶
UnsafeExportEthKeyCommand exports a key with the given name as a private key in hex format.
func UnsafeImportKeyCommand ¶
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
Click to show internal directories.
Click to hide internal directories.