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 upInitialise the nodes:
./scripts/init.shThis is the only working scenario at the moment.
Generate a bolt 12 offer:
./bin/eclair-cli tipjarshowofferDecode a bolt 12 offer:
./bin/lndk-cli decode [BOLT12_OFFER]Pay to bolt 12 offer:
./bin/lndk-cli pay-offer [BOLT12_OFFER] 10000This 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