Versions in this module Expand all Collapse all v1 v1.0.0 Apr 20, 2022 Changes in this version + const PrivateKeyLength + type Keypair struct + func GenerateKeypair() (*Keypair, error) + func NewKeypair(pk ecdsa.PrivateKey) *Keypair + func NewKeypairFromPrivateKey(priv []byte) (*Keypair, error) + func NewKeypairFromString(priv string) (*Keypair, error) + func (kp *Keypair) Address() string + func (kp *Keypair) CommonAddress() common.Address + func (kp *Keypair) Decode(in []byte) error + func (kp *Keypair) Encode() []byte + func (kp *Keypair) PrivateKey() *ecdsa.PrivateKey + func (kp *Keypair) PublicKey() string