Skip to content

Blockchain with PoW/DPOS, Channels Side Chains

Notifications You must be signed in to change notification settings

wanghongdacn/Blockchain

Repository files navigation

cli

-- import "\github.com\NlaakStudios\Blockchain\cli"

Usage

type API

type API struct {
	RESTPort string
}

API is the main client structure

func (*API) InitRESTAPI

func (api *API) InitRESTAPI()

InitRESTAPI starts the built in RestAPI Router

type CLI

type CLI struct {
	NodePort string
	CoinInfo config.CoinStruct
}

CLI is the main client structure

func (*CLI) GetBalance

func (cli *CLI) GetBalance(address string) int

func (*CLI) PopulateWallets

func (cli *CLI) PopulateWallets(from string)

func (*CLI) Run

func (cli *CLI) Run()

Run parses command line arguments and processes commands

About

Blockchain with PoW/DPOS, Channels Side Chains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published