commandline

package
v0.0.0-...-7c0078d Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSuccessMessage string = "success"
)

Variables

View Source
var ChainID int64

ChainID default

View Source
var GroupID uint

GroupID default

RPC is the client connected to the blockchain

URL default

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func IsValidAccount

func IsValidAccount(address string) bool

support 0x prefix and no-0x prefix

func ListToJSONStr

func ListToJSONStr(list interface{}, name string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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