Versions in this module Expand all Collapse all v1 v1.1.0 Aug 5, 2019 v1.0.0 Mar 18, 2019 Changes in this version + var DataDirFlag = DirectoryFlag + var KeyStoreDirFlag = DirectoryFlag + var LightKDFFlag = cli.BoolFlag + var PasswordFileFlag = cli.StringFlag + func AccountConfig(keystoreDir string) (int, int, string, error) + func Fatalf(format string, args ...interface{}) + func Find(address string) (accounts.Account, error) + func FindByDir(address string, keystoreDir string) (accounts.Account, error) + func GetUnlockedKey(address string, passphrase string) (accounts.Account, *keystore.Key, error) + func GetUnlockedKeyByDir(address string, passphrase string, keystoreDir string) (accounts.Account, *keystore.Key, error) + func ListAccounts(keyStoreDir string) error + func Lock(ks *keystore.KeyStore, addr string) error + func MakeAccountManager(keystoreDir string) (*accounts.Manager, string, error) + func MakeAddress(ks *keystore.KeyStore, account string) (accounts.Account, error) + func MakePasswordList(ctx *cli.Context) []string + func MigrateFlags(action func(ctx *cli.Context) error) func(*cli.Context) error + func NewAccount(keyStoreDir string, password string) (common.Address, error) + func NewApp(gitCommit, usage string) *cli.App + func NewWeb3(hostname string, port string, verbose bool) (*web3.Web3, error) + func SendRawTransaction(tx *types.Transaction) (common.Hash, error) + func SendRawTransactionWeb3(web *web3.Web3, txBytesStr string) (common.Hash, error) + func SendTransaction(tx *types.Transaction) (common.Hash, error) + func SendTransactionWeb3(tx *web3cmn.TransactionRequest) (common.Hash, error) + func SignTx(address string, tx *types.Transaction, chainID *big.Int) (*types.Transaction, error) + func SignTxByDir(address string, tx *types.Transaction, chainID *big.Int, keystoreDir string, ...) (*types.Transaction, error) + func SignTxByPassWord(tx *types.Transaction, password string) (*types.Transaction, error) + func Unlock(ks *keystore.KeyStore, addr string, passphrase string) error + type DirectoryFlag struct + Name string + Usage string + Value DirectoryString + func (self DirectoryFlag) Apply(set *flag.FlagSet) + func (self DirectoryFlag) GetName() string + func (self DirectoryFlag) String() string + type DirectoryString struct + Value string + func (self *DirectoryString) Set(value string) error + func (self *DirectoryString) String() string