credential_commands

package
v0.0.0-...-a7e7b69 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2020 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CREATE_ACCOUNT          = "create"
	UNLOCK_ACCOUNT          = "unlock"
	LIST_ACCOUNTS           = "list"
	GET_BALANCE             = "balance"
	SEND_TRANSACTION        = "send"
	GET_TRANSACTION_RECEIPT = "receipt"
	EXPORT_GMRC_KEY         = "export"
	USE_ACCOUNT             = "use"
)

Commands

View Source
const (
	METH_DATA_CHILD_DIR        = "/etc/meth/datadir"
	MIDDLEWARE_CONF_CHILD_PATH = "/etc/middleware/user_conf.json"
	EMPTY_USER_ADDRESS         = "0x0000000000000000000000000000000000000000"
)
View Source
const (
	ACCOUNT = "account"
	KEY     = "key"
)

Commands

View Source
const (
	USE_MPKEY         = "use"
	GENERATE_MP_KEY   = "generate"
	EXPORT_MP_KEY     = "export"
	LIST_MPKEY_HASHES = "list"
	CANCEL            = "cancel"
)

Commands

Variables

Functions

func CreateAccount

func CreateAccount(args []string)

func ExportGMrcKey

func ExportGMrcKey(args []string)

func ExportMPKey

func ExportMPKey(args []string)

func GenerateMPKey

func GenerateMPKey(args []string)

func GetBalance

func GetBalance(args []string)

func GetTransactionReceipt

func GetTransactionReceipt(args []string)

func HandleAccountCommand

func HandleAccountCommand(args []string)

func HandleKeyCommand

func HandleKeyCommand(args []string)

func ListAccounts

func ListAccounts(args []string)

func ListMPKeyHashes

func ListMPKeyHashes(args []string)

func SendTransaction

func SendTransaction(args []string)

func UnlockAccount

func UnlockAccount(args []string)

func UseMPKey

func UseMPKey(args []string)

func UseUserAddress

func UseUserAddress(args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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