Skip to main content

Running a Simulation

Prism Simulation

Participating in a BOLT12-Prism Simulation and received an Clams Connect QR? You're in the right spot!

Attedees get into groups of 5 - 10 people.

INFO: Channel and Liquidity management are provided by CLBOSS, allowing us to focus on Prisms.

for each group

  • Each group is composed of 1 Prism Ambassador, a Bob, and the rest are prism members. The Prism Ambassador pays to the Band Prism Offer hosted on Bob.
  • Bob creates and hosts the Band Prism, but first he needs to create a new offer (call it the Band Prism Offer). This will be the offer that when paid to by the Prism Ambassador, triggers the band prism.
  • Every member in each group should generate Any Offers on their node. Show the QR code so it can be scanned by Bob as he constructs the prism.
  • On Bob, create the Band Prism policy by scanning the any offers on the members. Bob should set the outlay_factor to 0.8% as he's taking a 20% cut of the proceeds (implicit pay-to-self of 20%).
  • Bob binds the Prism to the Band Prism Offer he created earlier.

Test the Prism

  • The Prism Ambassador scans Bobs Prism Offer and sends 10,000 sats.
  • Prism members should receive their payment splits in accordance with the Band Prism definition.

Compose the Band Prisms

It's a battle of the bands for tips! But what if you wanted to send a sats to all the bands? To do that, you will create another prism that is a composition of the various band Prism Offers.


Did you learn a lot from this simulation? If so, head over to roygbiv.guide and leave a tip at their prism offer.