Documentation ¶
Index ¶
- func MarshalPrivKey(privKey cryptotypes.PrivKey) []byte
- func MarshalPubkey(pubkey cryptotypes.PubKey) []byte
- func PrivKeyFromBytes(privKeyBytes []byte) (privKey cryptotypes.PrivKey, err error)
- func PubKeyFromBytes(pubKeyBytes []byte) (pubKey cryptotypes.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 MarshalPrivKey(privKey cryptotypes.PrivKey) []byte
func MarshalPubkey ¶
func MarshalPubkey(pubkey cryptotypes.PubKey) []byte
func PrivKeyFromBytes ¶
func PrivKeyFromBytes(privKeyBytes []byte) (privKey cryptotypes.PrivKey, err error)
PrivKeyFromBytes unmarshals private key bytes and returns a PrivKey
func PubKeyFromBytes ¶
func PubKeyFromBytes(pubKeyBytes []byte) (pubKey cryptotypes.PubKey, err error)
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.