Ben @BTCSocialist demoing a slave device sweet machine running on Lightning Network, and George @georgevaccaro demoing a clever workaround for static Lightning Network QR codes on a Pacman arcade! Both hacks are the result of https://twitter.com/fulmolightning NYC hackday https://lightninghackday.f...
## Podcast Summary: Static QR Solution and a LN Slave Module #LNHackspace
This podcast episode dives into innovative solutions for micro-payments using the Lightning Network, focusing on a project called "Sweet Machine" and a "LN Slave Module" setup. The core concept revolves around streamlining the payment process for low-power devices, aiming for a user-friendly experience while minimizing resource consumption. The project began with exploring GPI opens but evolved into a more scalable micro-payment focused approach, utilizing a central Lightning node to manage invoices for multiple smaller, “slave” devices. This centralized approach simplifies management and reduces the complexity of running individual nodes on each device, particularly beneficial for applications like arcade machines and vending machines. The ultimate goal is to move towards static QR codes for payments, enhancing user experience and reducing power consumption, though this requires protocol-level changes and is currently being addressed through a URL-based workaround.
1. Main Topics Discussed:
- Lightning Hack Days: The podcast highlights the Lightning Hack Days events in Berlin and New York as a catalyst for exploring Lightning Network technology and real-world applications.
- Sweet Machine Project: A project creating a low-power, cost-effective vending machine that accepts Lightning Network payments for small items, initially for sweets.
- LN Slave Module: A system utilizing a central Lightning node to manage invoices for multiple low-power devices, simplifying management and reducing resource demands.
- Static QR Codes: The pursuit of using static QR codes for Lightning payments, currently achieved by pointing a static QR code to a URL that dynamically generates the invoice.
- Hardware Implementation: The use of ESP32 microcontrollers and e-paper displays for low-power operation and efficient invoice presentation.
- Async Strike: Initially used as a custodial Lightning service for invoice generation, with the code designed for easy adaptation to a private Lightning node.
- GPI Opens Exploration: Early experimentation with GPI opens for triggering arcade credits, which led to the current micro-payment focused approach.
- Future Development: Plans for dynamic pricing, remote configuration management (potentially utilizing Excel spreadsheets), and an admin interface.
2. Key Quotes:
- "So what we've got is yet another sweet machine." - Ben (introducing the project)
- "Now ideally on a sweet machine you would just have kind of a static QR code." - Ben (describing the desired user experience)
- "Rather than trying to, I mean, like can you imagine like. You know, a kind of a whole bunch of sweet machines and having to balance all those nodes and make sure they've got decent connections to the network." - Host (explaining the benefits of a centralized node setup)
- "It makes sense to have something, which is low power. And then have also a very. It's like dumb low power device just checking. See if an invoice paid." - Host (describing the functionality of the slave devices)
3. People Mentioned:
- Ben: Podcast host and developer, utilizing e-paper displays and demonstrating the static QR code solution.
- George: Podcast host.
- Fulmo: Creator of Lightning Hack Days.
- Christine Decker: (Mentioned in passing, likely related to Lightning Hack Days).
- Macaron: (Mentioned in passing, likely related to Lightning Hack Days).
- Pete Todd: (Mentioned in passing, likely related to Lightning Hack Days).
- Christian Decker: (Developer, involved in discussions about GPI opens and static QR codes).
- Jared: (Regarding static QR code implementation).
- Pierre O'Shaar: (Mentioned in relation to a Lightning Excel plugin concept).
4. Bitcoin/Lightning Prices:
- Payments demonstrated were in small amounts, specifically two cents (250 Satoshi).
- ESP32 microcontrollers cost approximately $4.