Documentation ¶
Index ¶
- func MarshalPrivKey(privKey crypto.PrivKey) []byte
- func MarshalPubkey(pubkey crypto.PubKey) []byte
- func PrivKeyFromBytes(privKeyBytes []byte) (privKey crypto.PrivKey, err error)
- func PubKeyFromBytes(pubKeyBytes []byte) (pubKey crypto.PubKey, err error)
- func RegisterCrypto(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalPrivKey ¶
func MarshalPubkey ¶
func PrivKeyFromBytes ¶
PrivKeyFromBytes unmarshals private key bytes and returns a PrivKey
func PubKeyFromBytes ¶
PubKeyFromBytes unmarshals public key bytes and returns a PubKey
func RegisterCrypto ¶
func RegisterCrypto(cdc *codec.LegacyAmino)
RegisterCrypto registers all crypto dependency types with the provided Amino codec.
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the sdk.Tx interface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.