Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertBytesToString ¶
func InitEthBLS ¶
func InitEthBLS() error
func NewEthBLSKey ¶
func NewEthBLSKey() *e2types.BLSPrivateKey
Types ¶
type Account ¶
type Account struct {
KeyBLS
}
func NewSignerBLS ¶
func NewSignerBLS() Account
type AggregatePublicKey ¶
type AggregatePublicKey = blst.P1Aggregate
type AggregateSignature ¶
type AggregateSignature = blst.P2Aggregate
type EthBLSAccount ¶
type EthBLSAccount struct {
*e2types.BLSPrivateKey
}
func NewEthBLSAccount ¶
func NewEthBLSAccount() EthBLSAccount
func NewEthSignerBLSFromExistingKey ¶
func NewEthSignerBLSFromExistingKey(sk string) EthBLSAccount
func NewEthSignerBLSFromExistingKeyBytes ¶
func NewEthSignerBLSFromExistingKeyBytes(sk []byte) EthBLSAccount
func (*EthBLSAccount) PrivateKeyString ¶
func (e *EthBLSAccount) PrivateKeyString() string
func (*EthBLSAccount) PublicKeyString ¶
func (e *EthBLSAccount) PublicKeyString() string
func (*EthBLSAccount) ZeroXPrefixedPublicKeyString ¶
func (e *EthBLSAccount) ZeroXPrefixedPublicKeyString() string
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
func PublicKeyFromBytes ¶
type SecretKey ¶
type SecretKey struct {
// contains filtered or unexported fields
}
func NewSecretKey ¶
func SecretKeyFromBytes ¶
Click to show internal directories.
Click to hide internal directories.