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

Commit 84adf36

Browse files
committed
Link simnet instructions in readme
1 parent 918ad82 commit 84adf36

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ To start start the app in development mode (simnet):
4040
npm run electron-dev
4141
```
4242

43-
Running in development mode can allow you to run in full node mode instead of the default neutrino mode, and will also allow you to run in simnet node for testing. The app will use it's own lnd `data/lnd` dir and does not share state with other lnd installations on your system.
43+
Running in development mode can allow you to run in full node mode instead of the default neutrino mode, and will also allow you to run in simnet node for testing. The app will use it's own lnd `data/lnd` dir and does not share state with other lnd installations on your system. See [setup local cluster](https://github.com/lightninglabs/lightning-app/blob/master/assets/script/setup_local_cluster.md) on how to set up your simnet cluster for development.
4444

4545
### Building the Packaged App
4646

assets/script/setup_local_cluster.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,36 @@
11
## Start app to init wallet
22

3+
```
34
npm run electron-dev
5+
```
46

57
## Start nodes via cli
68

9+
```
710
btcd --txindex --simnet --rpcuser=kek --rpcpass=kek --datadir=data/btcd/data --logdir=data/btcd/logs
811
912
lnd --rpclisten=localhost:10009 --listen=localhost:10019 --restlisten=localhost:8009 --datadir=data/lnd/data --logdir=data/lnd/logs --debuglevel=info --bitcoin.simnet --bitcoin.active --bitcoin.node=btcd --btcd.rpcuser=kek --btcd.rpcpass=kek --no-macaroons --tlscertpath=data/lnd/tls.cert --tlskeypath=data/lnd/tls.key
1013
1114
lncli --rpcserver=localhost:10009 --tlscertpath=data/lnd/tls.cert unlock
1215
1316
lnd --rpclisten=localhost:10002 --listen=localhost:10012 --restlisten=localhost:8002 --datadir=data/lnd2/data --logdir=data/lnd2/logs --debuglevel=info --bitcoin.simnet --bitcoin.active --bitcoin.node=btcd --btcd.rpcuser=kek --btcd.rpcpass=kek --no-macaroons --tlscertpath=data/lnd2/tls.cert --tlskeypath=data/lnd2/tls.key --noencryptwallet
17+
```
1418

1519
## Fund wallets addresses
1620

21+
```
1722
lncli --rpcserver=localhost:10009 --tlscertpath=data/lnd/tls.cert newaddress np2wkh
1823
1924
lncli --rpcserver=localhost:10002 --tlscertpath=data/lnd2/tls.cert newaddress np2wkh
2025
2126
btcd --txindex --simnet --rpcuser=kek --rpcpass=kek --datadir=data/btcd/data --logdir=data/btcd/logs --miningaddr=rmPBKAoA9MiB4WuR21wied5aA9jdqpKAS6
2227
2328
btcctl --simnet --rpcuser=kek --rpcpass=kek generate 400
29+
```
2430

2531
## Open channel and send payment
2632

33+
```
2734
lncli --rpcserver=localhost:10009 --tlscertpath=data/lnd/tls.cert getinfo
2835
2936
lncli --rpcserver=localhost:10002 --tlscertpath=data/lnd2/tls.cert getinfo
@@ -35,3 +42,4 @@ lncli --rpcserver=localhost:10009 --tlscertpath=data/lnd/tls.cert openchannel --
3542
lncli --rpcserver=localhost:10002 --tlscertpath=data/lnd2/tls.cert addinvoice --amt=10000
3643
3744
lncli --rpcserver=localhost:10009 --tlscertpath=data/lnd/tls.cert sendpayment --pay_req=ENCODED_INVOICE
45+
```

0 commit comments

Comments
 (0)