Skip to main content

Simulations

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. Each group is assisted by a Prism Ambassador.

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

for each group

  • Each group is composed of a 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 Bob's 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

Want to send sats to all the bands at once? To do that, you will create another prism that is a composition of the various Band Prism Offers.

⚠️
WARNING: Take care to avoid prism loops!

If you liked this simulation, consider leaving a tip. The Prism Offer below equally splits sats among the Prism Offers of the various top-level posts, much like the Band Prism Composition above. Learn more at roygbiv.guide/v4v.