You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Spin up a local regtest env with nautilus and loopd (See [docker-regtest](https://github.com/lightninglabs/dev-resources/tree/master/docker-regtest))
27
-
- Create a `.env.local` file in the `app/` directory with the following content. Replace `<macaroon>` with the HEX encoded admin.macaroon of the LND node to connect to
28
-
```
29
-
REACT_APP_DEV_MACAROON=<macaroon>
30
-
REACT_APP_DEV_HOST=http://localhost:3000
31
-
```
32
-
- Start backend server, updating the ports for the LND and Loop nodes if necessary
33
-
```sh
34
-
go run . --lndhost=localhost:10011 --loophost=localhost:11010
35
-
```
19
+
- Compile and start the GrUB (see [Run the GrUB](#run-the-grub))
36
20
- Run the client app in a separate terminal
37
21
```sh
38
22
cd app
@@ -79,3 +63,33 @@ The value for `debug` is a namespace filter which determines which portions of t
79
63
Example filters: `main,action` will only log main and action messages. `*,-action` will log everything except action messages.
80
64
81
65
The value for `debug-level` determines the verbosity of the logs. The value can be one of `debug`, `info`, `warn`, or `error`.
66
+
67
+
# Run the GrUB
68
+
69
+
- Compile the GrUB binary:
70
+
```sh
71
+
make build
72
+
```
73
+
- Start the GrUB binary. The following is an example for testnet that starts an
74
+
lnd node called `zane` on port `10020` (REST: `8100`), change this to your
75
+
needs:
76
+
```sh
77
+
./shushtar-debug \
78
+
--httpslisten=8443 \
79
+
--lnd.lnddir=/home/$USER/.lnd-dev-zane \
80
+
--lnd.alias=zane \
81
+
--lnd.noseedbackup \
82
+
--lnd.rpclisten=localhost:10020 \
83
+
--lnd.listen=0.0.0.0:9750 \
84
+
--lnd.restlisten=localhost:8100 \
85
+
--lnd.bitcoin.active \
86
+
--lnd.bitcoin.testnet \
87
+
--lnd.bitcoin.node=bitcoind \
88
+
--lnd.bitcoind.rpchost=localhost \
89
+
--lnd.bitcoind.rpcuser=lightning \
90
+
--lnd.bitcoind.rpcpass=lightning \
91
+
--lnd.bitcoind.zmqpubrawblock=localhost:28332 \
92
+
--lnd.bitcoind.zmqpubrawtx=localhost:28333 \
93
+
--lnd.debuglevel=debug
94
+
```
95
+
- You can now access the web interface on https://localhost:8443
0 commit comments