helpers

package
v0.0.3-beta Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Address = flag.String("ether.address", "", "Ethereum acc to use for deployment")
View Source
var GethUrl = flag.String("geth.url", "", "URL value of started geth to connect")
View Source
var KeyStoreDir = flag.String("keystore.directory", "testnet", "specify runtime dir for keystore keys")
View Source
var Passphrase = flag.String("keystore.passphrase", "", "Pashprase to unlock specified key from keystore")

Functions

func CreateNewKeystoreTransactor

func CreateNewKeystoreTransactor(ks *keystore.KeyStore, acc *accounts.Account) *bind.TransactOpts

func GetKeystore

func GetKeystore() *keystore.KeyStore

func GetUnlockedAcc

func GetUnlockedAcc(ks *keystore.KeyStore) (*accounts.Account, error)

func ListAccounts

func ListAccounts() error

func LookupBackend

func LookupBackend() (*ethclient.Client, chan bool, error)

func NewAccount

func NewAccount() (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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