readme: more cli examples.

This commit is contained in:
Christopher Jeffrey 2016-08-26 18:30:36 -07:00
parent 01197fffb4
commit a4a85f2d09
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -73,6 +73,12 @@ $ bcoin cli wallet balance
# Derive new address
$ bcoin cli wallet address
# Create a new account
$ bcoin cli wallet account create foo
# Send from account
$ bcoin cli wallet send [address] 0.01 --account=foo
```
#### RPC (bitcoind-like)
@ -82,6 +88,7 @@ $ bcoin rpc getblockchaininfo
$ bcoin rpc getwalletinfo
$ bcoin rpc getpeerinfo
$ bcoin rpc getbalance
$ bcoin rpc listtransactions
$ bcoin rpc sendtoaddress [address] 0.01
```