package
2.1.0+incompatible
Repository: https://github.com/keep-network/keep-core.git
Documentation: pkg.go.dev
# Functions
GenerateKeyPair generates an operator key pair using the provided elliptic curve instance.
MarshalCompressed marshals the given public key to the 33-byte compressed form.
MarshalUncompressed marshals the given public key to the 65-byte uncompressed form.
ParseCurve takes a curve name as string and parses it to a specific operator.Curve enum instance.
# Constants
Enum that lists all the elliptic curves that can be used with the operator keys.
# Structs
PrivateKey represents an operator private key corresponding to an operator public key.
PublicKey represents a public key that identifies the node operator.
# Type aliases
Curve represents an elliptic curve name that denotes the curve used by the operator keys.