NASGO-Dev User Guide

1.install

1.Dowload NASGO-Dev binaray version which suite your os , It is available for Mac OS and Linux now.

Linux : https://github.com/NASGO/nasgo-dt/releases/download/1.0.0/nasgo-dev-linux.tar.gz
        tar -zxvf nasgo-node-linux.tar.gz
Mac OSX: https://github.com/NASGO/nasgo-dt/releases/download/1.0.0/nasgo-dev-mac.tar.gz
         tar -zxvf nasgo-node-mac.tar.gz

2.useage

Options:

-V, --version      output the version number
-H, --host <host>  Specify the ip of nasgo node, default: 127.0.0.1 (default: 127.0.0.1)
-P, --port <port>  Specify the port of the node, default: 9040 (default: 9040)
-h, --help         output usage information

Commands:

getheight                  get block height
getblockstatus             get block status
getbalance [address]       get balance by address
getaccount [address]       get account by address
getpeers [options]         get peers
sendmoney [options]        send money to some address
sendasset [options]        send asset to some address
setsecondsecret [options]  set second secret
publishDapp [options]      publish a dapp
createGenesis [options]    create genesis block
deposit [options]          deposit assets to an app
dapptransaction [options]  create a dapp transaction

examples:

connect to NASGO-Node running in local and get the current block height

./nasgo-dev getheight -H 127.0.0.1 -P 9040

results matching ""

    No results matching ""