Versions in this module Expand all Collapse all v0 v0.2.5 Mar 25, 2021 Changes in this version + func ActSigType(typ types.KeyType) crypto.SigType + func WalletNew(typ types.KeyType) (*types.KeyInfo, *address.Address, error) + func WalletPrivateToAddress(typ crypto.SigType, pk []byte) (*address.Address, error) + func WalletSign(typ types.KeyType, pk []byte, data []byte) (*crypto.Signature, error) + func WalletSignMessage(typ types.KeyType, pk []byte, msg *types.Message) (*types.SignedMessage, error) + func WalletVerify(sig *crypto.Signature, addr address.Address, msg []byte) error + func WalletVerifyMessage(sm *types.SignedMessage) error