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
Copy file name to clipboardExpand all lines: README.md
+72
Original file line number
Diff line number
Diff line change
@@ -40,3 +40,75 @@ If you want Prettier to help you by applying changes on save you have to change
40
40
### LND
41
41
42
42
We are using the [LND](https://github.com/lightningnetwork/lnd) REST [API](https://app.swaggerhub.com/apis/lnd-rest/rpc-proto/master)
43
+
44
+
#### Run you LND with btcd simnet
45
+
46
+
Simnet is a development/test network run locally that allows us to generate blocks at will, so we can avoid the time-consuming process of waiting for blocks to arrive for any on-chain functionality.
47
+
48
+
In order to work with [`lnd`](https://github.com/lightningnetwork/lnd), the following build dependencies are required:
49
+
50
+
-**Go:**`lnd` and `btcd` are written in Go. To install, run one of the following commands:
51
+
52
+
```
53
+
sudo apt-get install golang-1.11-go
54
+
```
55
+
56
+
And adding the environment variables to your user's .profile::
57
+
58
+
```
59
+
export PATH=$PATH:/usr/local/go/bin
60
+
export PATH=$PATH:$(go env GOPATH)/bin
61
+
export GOPATH=$(go env GOPATH)
62
+
```
63
+
64
+
-[`btcd`](https://github.com/btcsuite/btcd)
65
+
Run the following commands to obtain btcd, all dependencies, and install it:
0 commit comments