Help us shape the future of Go! Take the 2026 Go Developer Survey

sender

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sender

type Sender interface {
	// Address returns the Ethereum address for the signer.
	Address() common.Address
	// Sign takes in a hash and signs it using the sender's private key.
	Sign(ctx context.Context, hash common.Hash) ([]byte, error)
}

func FromKMS

func FromKMS(ctx context.Context, client *kms.Client, keyID string) (Sender, error)

func FromKey

func FromKey(hexPriv string) (Sender, error)

Jump to

Keyboard shortcuts

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