cmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 License: LGPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultNonce is the default value of nonce,when you are not set the nonce flag in client sendtx command by --nonce .
	DefaultNonce uint64 = 0
)

Variables

This section is empty.

Functions

func AddCommands

func AddCommands(app *cli.App, isFullNode bool)

AddCommands adds all child commands to app

func DecryptKeyFileAction

func DecryptKeyFileAction(c *cli.Context) error

DecryptKeyFileAction decrypt key file

func GenerateKeyAction

func GenerateKeyAction(c *cli.Context) error

GenerateKeyAction generate key by client command

func GeneratePayloadAction

func GeneratePayloadAction(c *cli.Context) error

GeneratePayloadAction is a action to generate the payload according to the abi string and method name and args

func GetAccountShardNumAction

func GetAccountShardNumAction(c *cli.Context) error

GetAccountShardNumAction is a action to get the shard number of account

func NewApp

func NewApp(isFullNode bool) *cli.App

NewApp generate default app

func SaveKeyAction

func SaveKeyAction(c *cli.Context) error

SaveKeyAction is a action to save the private key to the file

func SignTxAction

func SignTxAction(c *cli.Context) error

SignTxAction is a action that signs a transaction

Types

This section is empty.

Jump to

Keyboard shortcuts

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