accounts

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: GPL-3.0 Imports: 7 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	PrivateKey *ecdsa.PrivateKey
	Address    common.Address
}

An account containing a keypair and address

func GetAccount

func GetAccount(index uint8) (*Account, error)

Get an account by index

func (*Account) GetTransactor

func (a *Account) GetTransactor() *bind.TransactOpts

Get a transactor for an account

Jump to

Keyboard shortcuts

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