provider

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: AGPL-3.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 Provider

type Provider struct {
	EthClient *w3.Client
	Signer    types.Signer
}

func NewRpcProvider

func NewRpcProvider(rpcEndpoint string) (*Provider, error)

func (*Provider) CLose

func (c *Provider) CLose() error

type WriteTx

type WriteTx struct {
	From       common.Address
	To         common.Address
	GasLimit   uint64
	Nonce      uint64
	PrivateKey ecdsa.PrivateKey
}

Jump to

Keyboard shortcuts

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