evm

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

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

func NewEVMSigner

func NewEVMSigner(privateKey string) *Signer

func (*Signer) Address

func (s *Signer) Address() string

func (*Signer) NewKeyTransactor

func (s *Signer) NewKeyTransactor(chainId *big.Int) (*bind.TransactOpts, error)

func (*Signer) Sign

func (s *Signer) Sign(msg []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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