cli

package
v0.5.0-dev.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FlagKeyFile defines a flag to specify an existing key file.
	FlagKeyFile = "key-file"
	// FlagForceKeyFile defines a flag to specify that the key file should be overwritten if it already exists.
	FlagForceKeyFile = "key-file-force"
	// FlagEncryptionKey defines a flag to specify an existing encryption key.
	FlagEncryptionKey = "key-file-custom-encryption-key"
	// FlagNoEncryption defines a flag to specify that the generated key file should not be encrypted.
	FlagNoEncryption = "key-file-no-encryption"
)

Variables

This section is empty.

Functions

func AddKey

func AddKey(ac address.Codec) *cobra.Command

AddKey returns the command for generating the SEDA keys and uploading their public keys on chain.

func AddSedaKeysFlagsToCmd

func AddSedaKeysFlagsToCmd(cmd *cobra.Command)

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

func GetCmdValidatorKeys

func GetCmdValidatorKeys() *cobra.Command

GetCmdValidatorKeys returns the command for querying a given validator's public keys.

func GetProvingSchemes

func GetProvingSchemes() *cobra.Command

GetProvingSchemes returns the command for querying statuses of the SEDA proving schemes.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the CLI query commands for this module

func GetTxCmd

func GetTxCmd(valAddrCodec address.Codec) *cobra.Command

GetTxCmd returns the CLI transaction commands for this module

func LoadOrGenerateSEDAKeys

func LoadOrGenerateSEDAKeys(cmd *cobra.Command, valAddr sdk.ValAddress) ([]types.IndexedPubKey, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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