package
0.2.0
Repository: https://github.com/athanorlabs/go-relayer.git
Documentation: pkg.go.dev

# Functions

GenerateKey returns a new randomly-generated *Key.
GetEIP712DomainSeparator ..
GetForwardRequestDigestToSign returns a 32-byte digest for signing.
GetFunctionSignature returns the 4-byte function signature of a Solidity function.
NewGSNSubmitTransactionRequest returns a SubmitTransactionRequest containing all the information needed for a GSN Forwarder forward request.
NewKeyFromPrivateKey returns a new *Key from the given private key.
NewKeyFromPrivateKeyString returns a new *Key given a hex-encoded private key.
NewMinimalSubmitTransactionRequest returns a SubmitTransactionRequest containing all the information needed for a MinimalForwarder forward request.

# Constants

DefaultEthEndpoint is the default local ethereum endpoint.

# Structs

Key represents an Ethereum public-private keypair.
SubmitTransactionRequest represents a request for a relayer to submit a transaction on the sender's behalf.
SubmitTransactionResponse is returned by a relayer upon successful transaction submission.

# Interfaces

Forwarder must be implemented by a forwarder contract used by a *relayer.Relayer.
ForwardRequest must be implemented by a request type used by a forwarder contract.