Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCastingPublicKeyToECDSA = errors.New("error casting public key to ECDSA") ErrConvertingPrivateKeyToECDSA = errors.New("error converting private key to ECDSA") )
Functions ¶
func GenerateN ¶
GenerateN returns a map of private keys and public addresses. If N <= 0, generates a single entry.
func SignMessage ¶ added in v1.0.2
Sign message using EIP 191 with the personal_sign format
func ValidPrivateKey ¶
ValidPrivateKey tests if the key is a well formated private key
func ValidPublicAddress ¶
ValidPublicAddress tests if the address is a well formated public address
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.