Lnbits makes it pretty easy. You just need an ESP32 board ($10+usb power supply) and a cheap relay ($5) then to create a static LNURLp QR code to stick on the arcade machine (specific QR per arcade machine or per coin slot for arcades where slots are specific to each player) . There's even a way to provision the ESP32 directly from a web browser (no arduino ide required). Then when someone pays the LNURLp QR, the ESP32 picks it up and triggers the coin mech switch in the arcade.

A couple of potential issues:

. LN wallet compatibility with LNURLp

. Lnbits maintenance windows (affects uptime)

. LN liquidity issues/channel balancing yada yada

It is also not too hard to roll your own to avoid the Lnbits dependency and if you are ambitious you can add a display into the mix to avoid LNURLp compatibility issues. A new invoice could be displayed on the screen each time for just normal vanilla LN.

Feel free to DM me or just keep this convo going. I've always wanted to open my own LN arcade so happy to help. Sorry for the delay. Been off nostr a few days. Thanks for tagging me, Lou!

Reply to this note

Please Login to reply.

Discussion

Hmm very interesting. On the channel side technically you could just do small private channels or just private channels that only handle your arcade transactions as to not have any balancing issues. I've seen alot of people doing diy arms for lightning so I wonder if can just implement what they do to make the payments more streamlined/ compatibility improved. Yah 2p games were the ones I'm lost on cause you'd want them both to register similar times a payment is received so can do 2p/ keep them seprate.

Can you elaborate about the private channels and "DIY arms"? I'm not following. Regarding 2p games, it would just be like 2x the 1 player setup. You could also use 2 pins of a single ESP32 and 2 relays (or a dual relay board - still cheap) but I'm not sure if lnbits would auto-provision that so might need the arduino idea for that. I've manually provisioned an 8 relay version just to play with and have contemplated LN enabling my classic Gauntlet 4 player arcade. It's not hard. I'd be happy to help get you started. The first one is the hardest. 😁

Private lightning channels on a node that runs your arcade so you don't have channels go out of balance. I'm looking to solve th lnbits issue. So if each arcade just runs a basic node and wallet it could limit down time and failed payments. I also meant the guys doing DIY Atms that do lightning. I like your idea alot but I'd like to try where the arcade cabinet is a lightning node too vs just a wallet. If have any parts to recommend or even a cheap cabinet to start with id love that info.