network

package
v0.0.0-...-77693d5 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2018 License: Apache-2.0 Imports: 13 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitNetworks

func InitNetworks() error

Types

type Network

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

func Dial

func Dial(name string) (*Network, error)

func (*Network) Accounts

func (n *Network) Accounts() []accounts.Account

func (*Network) Client

func (n *Network) Client() *ethclient.Client

func (*Network) Keystore

func (n *Network) Keystore() *keystore.KeyStore

func (*Network) KeystorePath

func (n *Network) KeystorePath() string

func (*Network) Name

func (n *Network) Name() string

func (*Network) NewTransactor

func (n *Network) NewTransactor(a accounts.Account) *bind.TransactOpts

func (*Network) RpcClient

func (n *Network) RpcClient() *rpc.Client

func (*Network) Unlock

func (n *Network) Unlock(a accounts.Account, passphrase string) error

func (*Network) UnlockWithPrompt

func (n *Network) UnlockWithPrompt(a accounts.Account) error

func (*Network) Url

func (n *Network) Url() string

type NetworkConfig

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

Jump to

Keyboard shortcuts

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