commandline

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 18 Imported by: 2

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 added in v0.10.0

func IsValidAccount(address string) bool

support 0x prefix and no-0x prefix

func ListToJSONStr added in v0.10.0

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