Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Signer ¶
type Signer struct {
// contains filtered or unexported fields
}
Signer implements L1Signer interface.
func (*Signer) GetAddress ¶
GetAddress gets the address which is the checksum of the public key associated with this signer.
func (*Signer) GetPublicKey ¶ added in v1.0.0
GetPublicKey gets the public key associated with this signer.
func (*Signer) SignMessage ¶
SignMessage signs the given message using the private key and returns the signature.
func (*Signer) SignTx ¶
func (b *Signer) SignTx(tx *types.Transaction) (*types.Transaction, error)
SignTx signs the given transaction using this signer and private key. Returns the signed transaction.
Click to show internal directories.
Click to hide internal directories.