accounts

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

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