cli

package
v1.0.0-develop.8 Latest Latest
Warning

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

Go to latest
Published: Nov 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 CmdGetDid

func CmdGetDid() *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 SignInput

type SignInput struct {
	VerificationMethodId string
	PrivKey              ed25519.PrivateKey
}

func GetPayloadAndSignInputs

func GetPayloadAndSignInputs(clientCtx client.Context, args []string) (string, []SignInput, error)

func GetSignInputs

func GetSignInputs(clientCtx client.Context, args []string) ([]SignInput, error)

Jump to

Keyboard shortcuts

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