cli

package
v1.0.0-develop.17 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 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