# Functions
GenerateStaticNetworkKey generates a new, random static key based on secp256k1 ethereum curve.
Libp2pKeyToNetworkKey takes an interface type, libp2pcrypto.PubKey, and returns the concrete type specific to this package.
Marshal takes a network public key, converts it into an ecdsa public key, and uses go's standard library elliptic marshal method to convert the public key into a slice of bytes in the correct format for the key type.
NetworkKeyToECDSAKey takes the public NetworkKey and turns it into ecdsa.PublicKey from Go standard library.
NetworkPubKeyToEthAddress transforms the network public key into an Ethereum account address, in a string format.
OperatorKeyToNetworkKey transforms a static ECDSA key into the format supported by the network layer.
# Type aliases
NetworkPrivate represents peer's static key associated with an on-chain stake.
NetworkPublic represents peer's static key associated with an on-chain stake.