to test this you'll need 4 lightningds running: 2 on bitcoin regtest, 2 on liquid.
A: regtest B: regtest C: liquid D: liquid
- copy
hsm_secret
from C into B so they have the same nodeid. - install
bridge
in both B and C. - install
solidifier
in D. - set
tcll-other-rpc
on B to the lightning-rpc path of C. - set
tcll-other-rpc
on C to the lightning-rpc path of B. - set
tcll-bridge-id
on D to the nodeid of C. - open a channel between A and B and another channel between C and D.
now you can use bitcoin_invoice
to generate invoices on D that can be paid by A
and use bitcoin_pay
on D to pay invoices generated by A.