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
Start following the demo subscriber node in a separate terminal window to see invoice messages as they come through.
102
103
```
103
104
$ docker-compose up -d demo
104
105
$ docker-compose logs -f demo
105
106
$ bin/stack alice addinvoice 1000
106
107
```
107
108
109
+
### LND MPP to LND
108
110
A command is provided to easily create channels, so we can open some from `alice` to `bob` with some funding between the two `lnd` containers and do a multi part payment.
109
111
```
110
112
$ bin/stack alice channelto bob 5000000
@@ -117,13 +119,15 @@ $ bin/stack alice listchannels
117
119
$ bin/stack bob listchannels
118
120
```
119
121
122
+
### LND keysend to LND
120
123
The `bob` container is also configured to accept `keysend` transactions so payments can be made without requiring an invoice.
$ bin/stack alice lookupinvoice $(bin/stack alice decodepayreq $ALICE_INVOICE | jq '.payment_hash' | tr -d '"')
149
155
```
150
156
157
+
### Clightning plugin
151
158
A `clightning` plugin example is included for more advanced feature development.
152
159
```
153
160
$ bin/stack carol hello yourname
154
161
```
155
162
163
+
### LND invoice payment to Eclair
156
164
Similar commands will connect `bob` to `frank` across the `eclair` implementation of LN on Bitcoin.
157
165
```
158
166
$ bin/stack bob channelto frank 10000000
@@ -162,12 +170,14 @@ $ bin/stack bob payinvoice -f $FRANK_INVOICE
162
170
$ bin/stack frank audit
163
171
```
164
172
173
+
### Peg-in Bitcoin to Elements
165
174
Elements sidechain is available and can be pegged in from regtest Bitcoin chain using the provided script command.
166
175
```
167
176
$ bin/stack bitcoin pegin elements 13.37
168
177
$ bin/stack elements getwalletinfo
169
178
```
170
179
180
+
### Clightning payments on Elements
171
181
You can also open a LN **L-BTC** channel on `clightning` across the Elements chain between `dave` & `emma`!
172
182
```
173
183
# open a 1LBTC large channel (wumbo)
@@ -180,6 +190,7 @@ $ bin/stack dave listpays
180
190
$ bin/stack emma listinvoices
181
191
```
182
192
193
+
### REST/RPC examples
183
194
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