Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct { Ecdsa *wallet.Key Bls *bls.PrivateKey }
Account is an account for key signatures
func GenerateAccount ¶
GenerateAccount generates a new random account
func NewAccountFromSecret ¶
func NewAccountFromSecret(secretsManager secrets.SecretsManager) (*Account, error)
NewAccountFromSecret creates new account by using provided secretsManager
func (*Account) GetEcdsaPrivateKey ¶
func (a *Account) GetEcdsaPrivateKey() (*ecdsa.PrivateKey, error)
type ECDSASigner ¶
type ECDSASigner struct {
*Key
}
ECDSASigner implements ethgo.Key interface and it is used for signing using provided ECDSA key
func NewEcdsaSigner ¶
func NewEcdsaSigner(ecdsaKey *Key) *ECDSASigner
Click to show internal directories.
Click to hide internal directories.