client

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Ip   string
	Port string
)

Functions

func Address

func Address() string

func FormatOutput

func FormatOutput(o []byte) error

func NewIpFlag

func NewIpFlag() cli.Flag

func NewPortFlag

func NewPortFlag() cli.Flag

func OpenWallet

func OpenWallet(name string, passwd []byte) account.Client

func PrintError

func PrintError(c *cli.Context, err error, cmd string)

func SignTransaction

func SignTransaction(signer *account.Account, tx *transaction.Transaction) error

func WalletPassword

func WalletPassword(passwword string) []byte

WalletPassword prompts user to input wallet password when password is not specified from command line

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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