Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signer ¶
type Signer interface { Address() common.Address // Address returns the Ethereum address associated with the signer. SignerFn(chainID *big.Int) bind.SignerFn // SignerFn returns a signer function used for transaction signing. SignData([]byte) ([]byte, error) // SignData signs the given data using the signer's private key. }
Signer defines the interface for interacting with different types of signers.
func CreateSigner ¶
CreateSigner creates a signer based on the provided private key, mnemonic, or hardware wallet.
Click to show internal directories.
Click to hide internal directories.