Skip to content

plebnet-dev/bolt12-playground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bolt 12 Playground

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.

Setup

Start nodes:

docker compose up

Initialise the nodes:

./scripts/init.sh

Paying to an Eclair node

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

Paying to a CLN node

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 up

Clean everything:

./scripts/clean.sh

About

Bolt 12 experience testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 55.5%
  • Dockerfile 44.5%