erc6492

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

README

erc6492 Go Reference

A simple utility library to validate ERC6492 signatures

Use cases

  • CA-based (not EOA) wallets signature validation
  • Contract-based validations for off-chain operations

Installation

  • go get github.com/holyheld/erc6492

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

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

func NewValidator

func NewValidator(client bind.ContractCaller) *Validator

func (Validator) Validate

func (v Validator) Validate(ctx context.Context, message []byte, signer string, signature string) (bool, error)

Jump to

Keyboard shortcuts

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