Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 035bd39

Browse files
committed
Update README instructions for full node
1 parent 752ada2 commit 035bd39

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To build the UI style guide
2323
npm run storybook
2424
```
2525

26-
To start start the app:
26+
To start start the app in development mode (simnet):
2727
```
2828
npm run electron-dev
2929
```
@@ -32,13 +32,34 @@ Running in development mode can allow you to run in full node mode instead of th
3232

3333
### Building the Packaged App
3434

35-
To build the packaged version of the app for your current platform, run:
35+
To build the packaged version of the app e.g. for macOS run:
3636
```
37+
cp $GOPATH/bin/lnd ./assets/bin/darwin
3738
npm run electron-pack
3839
```
3940

4041
The packaged app will then be available in the lightning-app/dist directory. The packaged version of the app will run on Bitcoin testnet. To debug a packaged app, go to localhost:9997 in your browser.
4142

43+
### Starting the Packaged App (light client)
44+
45+
To run the packaged version of the app e.g. for macOS run:
46+
```
47+
./dist/mac/Lightning.app/Contents/MacOS/Lightning
48+
```
49+
50+
### Starting the Packaged App (full node)
51+
52+
Start btcd in a seperate terminal session and wait until it's fully synced (can take over a day)
53+
```
54+
mkdir $HOME/Library/Application\ Support/Btcd && touch $HOME/Library/Application\ Support/Btcd/btcd.conf
55+
btcd --testnet --txindex --rpcuser=kek --rpcpass=kek
56+
```
57+
58+
To run the packaged version of the app e.g. for macOS run:
59+
```
60+
./dist/mac/Lightning.app/Contents/MacOS/Lightning --rpcuser=kek --rpcpass=kek
61+
```
62+
4263

4364
### Logs
4465
Logs are written to the following locations:

0 commit comments

Comments
 (0)