signer

package
v0.0.0-...-beefb37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package signer keeps signing material behind a replaceable interface.

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
	SignTx(context.Context, *types.Transaction, *big.Int) (*types.Transaction, error)
}

func NewFromHexKey

func NewFromHexKey(value string) (Signer, error)

NewFromHexKey constructs a local signer; errors never contain key data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址