client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrivateKeyToAddress

func PrivateKeyToAddress(privateKey *ecdsa.PrivateKey) (common.Address, error)

Types

type Client

type Client struct {
	*ethclient.Client
}

func NewClient

func NewClient() (*Client, error)

func (*Client) GetAuth

func (c *Client) GetAuth(ctx context.Context) (*bind.TransactOpts, error)

func (*Client) GetContract

func (c *Client) GetContract(contractAddrHex string) (*contract.ColorNFT, error)

Jump to

Keyboard shortcuts

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