Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrivateKeySignerFn ¶
Types ¶
type SignerFactory ¶
SignerFactory creates a SignerFn that is bound to a specific ChainID
func SignerFactoryFromConfig ¶
func SignerFactoryFromConfig(l log.Logger, privateKey, mnemonic, hdPath string, signerConfig opsigner.CLIConfig) (SignerFactory, common.Address, error)
SignerFactoryFromConfig considers three ways that signers are created & then creates single factory from those config options. It can either take a remote signer (via opsigner.CLIConfig) or it can be provided either a mnemonic + derivation path or a private key. It prefers the remote signer, then the mnemonic or private key (only one of which can be provided).
Click to show internal directories.
Click to hide internal directories.