local

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalKeyManager

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

func NewLocalKeyManager

func NewLocalKeyManager(secret string) (*LocalKeyManager, error)

func (*LocalKeyManager) Address

func (km *LocalKeyManager) Address() common.Address

Address implements keymanager.KeyManager.

func (*LocalKeyManager) Sign

func (km *LocalKeyManager) Sign(message []byte) (signature []byte, err error)

Sign implements keymanager.KeyManager.

func (*LocalKeyManager) Verify

func (km *LocalKeyManager) Verify(message []byte, signature []byte) (valid bool)

Verify implements keymanager.KeyManager.

Jump to

Keyboard shortcuts

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