Versions in this module Expand all Collapse all v0 v0.0.1 May 23, 2023 Changes in this version + func RecoverAddressFromSignature(sig, rawContent []byte) (types.Address, error) + type Account struct + Bls *bls.PrivateKey + Ecdsa *wallet.Key + func GenerateAccount() (*Account, error) + func NewAccountFromSecret(secretsManager secrets.SecretsManager) (*Account, error) + func (a *Account) GetEcdsaPrivateKey() (*ecdsa.PrivateKey, error) + func (a *Account) Save(secretsManager secrets.SecretsManager) (err error) + type ECDSASigner struct + func NewEcdsaSigner(ecdsaKey *Key) *ECDSASigner + func (k *ECDSASigner) Sign(b []byte) ([]byte, error) + type Key struct + func NewKey(raw *Account) *Key + func (k *Key) Address() ethgo.Address + func (k *Key) Sign(digest []byte) ([]byte, error) + func (k *Key) SignIBFTMessage(msg *proto.Message) (*proto.Message, error) + func (k *Key) SignWithDomain(digest, domain []byte) ([]byte, error) + func (k *Key) String() string