This Bolt 12 Playground provides a docker stack that comprises of bitcoind, LND, CLN, Eclair and LNDK. It connects everything together, initializes wallets, and creates channels between the nodes.
You can use this to get familiar with Bolt 12.
Start nodes:
docker compose up
Initialise the nodes:
./scripts/init.sh
This is the only working scenario at the moment.
Generate a bolt 12 offer:
./bin/eclair-cli tipjarshowoffer
Decode a bolt 12 offer:
./bin/lndk-cli decode [BOLT12_OFFER]
Pay to bolt 12 offer:
./bin/lndk-cli pay-offer [BOLT12_OFFER] 10000
This is not working at the moment.
Generate a bolt 12 offer:
./bin/clncli offer 10000 "test offer from cln"
Decode a bolt 12 offer:
./bin/lndk-cli decode [BOLT12_OFFER]
Pay to bolt 12 offer:
./bin/lndk-cli pay-offer [BOLT12_OFFER]
Clean everything:
./scripts/clean.sh