Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Otto committed Apr 14, 2021
1 parent 0af1c70 commit 73aa987
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions documentation/lnd.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BitBook has basic support for [LND (lightning network daemon)](https://github.co
add ownership information and helpful descriptions for transactions/addresses managed by your LND instance without
entering these manually.

This is implemented by parsing JSON files generated by the `lncli` command line tool. As such, this involves bit of
This is implemented by parsing JSON files generated by the `lncli` command line tool. As such, this involves a bit of
manual effort, but it also keeps things simple. By copying these files youc an easily have BitBook and lnd run on
different computers. Furthermore, by not giving BitBook access to lnd, there's no risk of undesired side effects.

Expand All @@ -25,4 +25,9 @@ To run the command:
1. first create the JSON file using lnd: `$ lncli wallet listsweeps > lnd-sweeps.json`
2. transfer the JSON file to the host where you are running BitBook: `$ scp server:/home/lnd/lnd-sweeps.json /tmp/`
3. start BitBook
4. `BitBook$ lnd-add-from-sweeps /tmp/lnd-sweeps.json`

Then you can use the command as follows:
```
BitBook$ lnd-add-from-sweeps /tmp/lnd-sweeps.json
Added information for 86 sweep transactions
```

0 comments on commit 73aa987

Please sign in to comment.