Documentation ¶
Index ¶
- type Account
- func (a *Account) BLSG1PublicKey() (bls.SerializedG1PublicKey, error)
- func (a *Account) BLSProofOfPossession() ([]byte, error)
- func (a *Account) BLSPublicKey() (bls.SerializedPublicKey, error)
- func (a *Account) MustBLSProofOfPossession() []byte
- func (a *Account) PrivateKeyHex() string
- func (a *Account) PublicKey() []byte
- func (a *Account) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Address common.Address PrivateKey *ecdsa.PrivateKey }
Account represents a atlas Account
func (*Account) BLSG1PublicKey ¶ added in v0.5.0
func (a *Account) BLSG1PublicKey() (bls.SerializedG1PublicKey, error)
BLSG1PublicKey returns the bls G1 public key
func (*Account) BLSProofOfPossession ¶
BLSProofOfPossession generates bls proof of possession
func (*Account) BLSPublicKey ¶
func (a *Account) BLSPublicKey() (bls.SerializedPublicKey, error)
BLSPublicKey returns the bls public key
func (*Account) MustBLSProofOfPossession ¶
MustBLSProofOfPossession variant of BLSProofOfPossession that panics on error
func (*Account) PrivateKeyHex ¶
PrivateKeyHex hex representation of the private key
Click to show internal directories.
Click to hide internal directories.