readme.
This commit is contained in:
parent
52968e0666
commit
27cf0af4ee
10
README.md
10
README.md
@ -30,6 +30,16 @@ Docs need to be rewritten. They're coming soon. I promise.
|
|||||||
|
|
||||||
## Example Usage
|
## Example Usage
|
||||||
|
|
||||||
|
### Running the pre-made node implementation from the CLI
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
$ BCOIN_NETWORK=segnet4 node bin/node
|
||||||
|
# View the genesis block
|
||||||
|
$ node bin/bcoin-cli block 0
|
||||||
|
# View primary wallet
|
||||||
|
$ node bin/bcoin-cli wallet primary --passphrase=node
|
||||||
|
```
|
||||||
|
|
||||||
### High-level usage for Node object
|
### High-level usage for Node object
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user