client

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

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) *cobra.Command

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

func Paginate added in v0.10.0

func Paginate(page, limit, defLimit int) (start, end int)

Paginate result may be out of data range, need to check in the iterator

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

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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