readme: more cli examples.
This commit is contained in:
parent
01197fffb4
commit
a4a85f2d09
@ -73,6 +73,12 @@ $ bcoin cli wallet balance
|
|||||||
|
|
||||||
# Derive new address
|
# Derive new address
|
||||||
$ bcoin cli wallet 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)
|
#### RPC (bitcoind-like)
|
||||||
@ -82,6 +88,7 @@ $ bcoin rpc getblockchaininfo
|
|||||||
$ bcoin rpc getwalletinfo
|
$ bcoin rpc getwalletinfo
|
||||||
$ bcoin rpc getpeerinfo
|
$ bcoin rpc getpeerinfo
|
||||||
$ bcoin rpc getbalance
|
$ bcoin rpc getbalance
|
||||||
|
$ bcoin rpc listtransactions
|
||||||
$ bcoin rpc sendtoaddress [address] 0.01
|
$ bcoin rpc sendtoaddress [address] 0.01
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user