Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EVMCommitter ¶
type EVMCommitter interface { FromAddress() common.Address Provider() provider.EVMProvider SendTx(recipient common.Address, txData []byte) (txHash common.Hash, err error) }
EVMCommitter defines an interface for submitting transactions into Ethereum, Matic, and other EVM-compatible networks.
func NewEthCommitter ¶
func NewEthCommitter( fromPrivateKey *ecdsa.PrivateKey, evmProvider provider.EVMProviderWithRet, ) (EVMCommitter, error)
NewEthCommitter returns an instance of EVMCommitter, which can be used to submit txns into Ethereum, Matic, and other EVM-compatible networks.
Click to show internal directories.
Click to hide internal directories.