github.com/lino-network/lino@v0.6.11/cmd/README.md (about)

     1  # Lino Blockchain Command
     2  
     3  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.
     4  
     5  # Launch Blockchain
     6  ## Generate genesis file
     7  ```
     8  $ ./lino init
     9  ```
    10  ## Start generate block as a validator
    11  ```
    12  $ ./lino start
    13  ```
    14  
    15  # Launch Client
    16  ## Transfer coin to a user
    17  ```
    18  $ ./linocli transfer --sender=<username>  --receiver=<receiver> --amount=1 --chain-id=<chain id> --sequence=<sender's sequence number>
    19  ```
    20  
    21  ## Register an account
    22  ```
    23  $ ./linocli register --referrer=<username> --user=<new user> --amount=1 --chain-id=<chain id> --sequence=<sender's sequence number>
    24  ```
    25  
    26  ## Follow & Unfollow
    27  Follow
    28  ```
    29  $ ./linocli follow --follower=<me> --followee=<other> --is-follow=true --sequence= --chain-id=<chain id> --sequence=<sender's sequence number>
    30  ```
    31  Unfollow
    32  ```
    33  $ ./linocli follow --follower=<me> --followee=<other> --is-follow=false --sequence= --chain-id=<chain id> --sequence=<sender's sequence number>
    34  ```
    35  ## Query Account
    36  Check Bank
    37  ```
    38  $ ./linocli username XXXXXXXX
    39  ```
    40  
    41  
    42  ## Others
    43  List all keys 
    44  ```
    45  $ ./linocli keys list
    46  ```
    47  
    48