cli

package
v1.1.1-develop.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccAddrByKeyRef

func AccAddrByKeyRef(keyring keyring.Keyring, keyRef string) (sdk.AccAddress, error)

func CmdCreateDidDoc

func CmdCreateDidDoc() *cobra.Command

func CmdDeactivateDidDoc

func CmdDeactivateDidDoc() *cobra.Command

func CmdGetAllDidDocVersionsMetadata

func CmdGetAllDidDocVersionsMetadata() *cobra.Command

func CmdGetDidDoc

func CmdGetDidDoc() *cobra.Command

func CmdGetDidDocVersion

func CmdGetDidDocVersion() *cobra.Command

func CmdUpdateDidDoc

func CmdUpdateDidDoc() *cobra.Command

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func SetFeePayerFromSigner

func SetFeePayerFromSigner(ctx *client.Context) error

func SignWithSignInputs

func SignWithSignInputs(signBytes []byte, signInputs []SignInput) []*types.SignInfo

Types

type PayloadWithSignInputs

type PayloadWithSignInputs struct {
	Payload    json.RawMessage
	SignInputs []SignInput
}

type SignInput

type SignInput struct {
	VerificationMethodID string
	PrivKey              ed25519.PrivateKey
}

func ReadPayloadWithSignInputsFromFile

func ReadPayloadWithSignInputsFromFile(filePath string) (json.RawMessage, []SignInput, error)

Jump to

Keyboard shortcuts

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