eip191

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const EIP191MessagePrefix = "\x19Ethereum Signed Message:\n"

Variables

This section is empty.

Functions

This section is empty.

Types

type SignModeHandler

type SignModeHandler struct {
	// contains filtered or unexported fields
}

SignModeHandler is the SIGN_MODE_EIP_191 implementation of signing.SignModeHandler.

func NewSignModeHandler

func NewSignModeHandler(options SignModeHandlerOptions) *SignModeHandler

func (SignModeHandler) GetSignBytes

func (s SignModeHandler) GetSignBytes(ctx context.Context, signerData signing.SignerData, txData signing.TxData) ([]byte, error)

func (SignModeHandler) Mode

type SignModeHandlerOptions

type SignModeHandlerOptions struct {
	AminoJsonSignModeHandler *aminojson.SignModeHandler
}

Jump to

Keyboard shortcuts

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