Versions in this module Expand all Collapse all v0 v0.1.0 Jun 22, 2023 Changes in this version + var Curve = secp256k1.S256() + func VerifyOnChain(msg []byte, signature []byte, signers EthAddresses) (commontypes.OracleID, error) + type EthAddresses = map[types.OnChainSigningAddress]commontypes.OracleID + type OffchainPrivateKey ed25519.PrivateKey + func (k *OffchainPrivateKey) PublicKey() OffchainPublicKey + func (k *OffchainPrivateKey) Sign(msg []byte) ([]byte, error) + type OffchainPublicKey ed25519.PublicKey + func (k OffchainPublicKey) Equal(k2 OffchainPublicKey) bool + func (k OffchainPublicKey) Verify(msg, signature []byte) bool + type OnChainPublicKey ecdsa.PublicKey + func (k OnChainPublicKey) Address() types.OnChainSigningAddress + func (k OnChainPublicKey) Equal(k2 OnChainPublicKey) bool + type OnchainPrivateKey ecdsa.PrivateKey + func (k *OnchainPrivateKey) Sign(msg []byte) (signature []byte, err error) + func (k OnchainPrivateKey) Address() types.OnChainSigningAddress