Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrivKeyToAddress ¶ added in v0.8.0
PrivKeyToAddress calculates the wallet address from the user's private key
func PrivKeyToPubKey ¶
func PrivKeyToPubKey(privKey []byte) cryptotypes.PubKey
PrivKeyToPubKey returns the public key associated with the given private key
func PrivKeyToSdkPrivKey ¶ added in v0.8.0
func PrivKeyToSdkPrivKey(privKey []byte) cryptotypes.PrivKey
func PubKeyToSdkPubKey ¶ added in v0.8.0
func PubKeyToSdkPubKey(pubKey []byte) (cryptotypes.PubKey, error)
PubKeyToSdkPubKey converts pubKey bytes to a secp256k1 public key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.