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
This `docker-compose` template launches `bitcoind`, two `lnd` containers named `lndalice` & `lndbob`, with a `lightningd` container as `lightningdcarol`.
33
+
This `docker-compose` template launches `bitcoind`, two `lnd` containers named `lndalice` & `lndbob`, with a `lightningd` container as `lightningdcarol`, and an `eclair` container as `eclairdfrank`.
29
34
30
35
Additionally it will launch an `elementsd` side chain (aka Liquid), with prototype `lightningd-elements` implementation containers as `lightningddave` & `lightningdemma`.
31
36
32
37
Everything is configured to run in **regtest** mode but can be adjusted as required.
33
38
39
+
## See the [changelog](CHANGELOG.md) before upgrading.
40
+
34
41
### Notes & prerequisites
35
42
-`docker` and `docker-compose` installation is required (https://docs.docker.com/install/).
36
43
-`jq` tool is used in examples for parsing json responses.
37
44
- All nodes will sync to chain after the first Bitcoin & Elements regtest blocks are generated.
38
45
- All daemons are compiled from source but it is not recommended to use them in production environments.
39
46
- Ports and other daemon configuration can be changed in the `.env` and `docker-compose.yml` files.
40
-
- See the [changelog](CHANGELOG.md) when upgrading.
41
47
42
48
### Coming soon
43
49
- Elements token creation and transaction scripts
@@ -52,6 +58,7 @@ It may take up to 30 minutes to launch the stack if container images are not alr
52
58
$ docker-compose up -d bitcoind
53
59
$ bin/b-cli generate 101
54
60
$ docker-compose up -d lndalice lndbob
61
+
$ docker-compose up -d eclairdfrank
55
62
56
63
# Elements can be started optionally
57
64
$ docker-compose up -d elementsd
@@ -77,6 +84,7 @@ $ bin/ln-bob getinfo
77
84
$ bin/ld-carol getinfo
78
85
$ bin/ld-dave getinfo
79
86
$ bin/ld-emma getinfo
87
+
$ bin/ed-frank getinfo
80
88
```
81
89
82
90
A convenience script is provided to create a channel from `bob` to `alice` with some funding between the two `lnd` containers.
@@ -89,7 +97,7 @@ $ bin/ln-alice listchannels
89
97
$ bin/ln-bob listchannels
90
98
```
91
99
92
-
Another convenience script will connect `bob` to `carol`on the `lightningd` implementation of LN on Bitcoin.
100
+
Another convenience script will connect `bob` to `carol`across the `lightningd` implementation of LN on Bitcoin.
93
101
```
94
102
$ bin/ld-connect
95
103
# once channels are opened a payment can be simulated (note amount in *mSats*)
Elements sidechain is available and can be pegged in from regtest Bitcoin chain using the provided convenience script.
102
119
```
103
120
$ bin/e-pegin 1.337
@@ -114,7 +131,7 @@ $ bin/ld-dave listpays
114
131
$ bin/ld-emma listinvoices
115
132
```
116
133
117
-
REST/RPC queries can be executed directly from the host to the daemons as follows:
134
+
REST/RPC queries can be executed directly from your application to each daemon. Use standard RPC adapters to connect to these and have full control over money flow; hook into message queues for notifications B).
0 commit comments