cmd/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: Apache-2.0

README

Lino Blockchain Command

This cmd directory contains two command line tool: lino and linocli. lino is used to luanch the Lino Blockchain node. linocli can be used to interact with Lino Blockchain.

Luanch Blockchain

Generate genesis file

$ ./lino init

Start generate block as a validator

$ ./lino start

Luanch Client

Transfer coin to a user

$ ./linocli transfer --sender=<username>  --receiver=<receiver> --amount=1 --chain-id=<chain id> --sequence=<sender's sequence number>

Register an account

$ ./linocli register --referrer=<username> --user=<new user> --amount=1 --chain-id=<chain id> --sequence=<sender's sequence number>

Follow & Unfollow

Follow

$ ./linocli follow --follower=<me> --followee=<other> --is-follow=true --sequence= --chain-id=<chain id> --sequence=<sender's sequence number>

Unfollow

$ ./linocli follow --follower=<me> --followee=<other> --is-follow=false --sequence= --chain-id=<chain id> --sequence=<sender's sequence number>

Query Account

Check Bank

$ ./linocli username XXXXXXXX

Others

List all keys

$ ./linocli keys list

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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