/physically-faucet

Lightning Network bitcoin faucet using lnurl

Primary LanguageCGNU General Public License v3.0GPL-3.0

Project Overview

This is a fork project for c-lightning users. This project uses c-lightning and sparko plugin.

Parts (Project cost 4000JPY)

  • M5Stack Basic(Core Kit)

Workflow

  • ESP32 connects to lightning.gifts, and generates an invoice for the amount set
  • ESP32 connects to an c-lightning instance and pays the invoice on lightning.gifts (This project uses sparko plugin as an access token is required so funds should be limited!
  • ESP32 fetches the LNURL generated by lightning.gifts

*note currently LNURL is only supported by "Bitcion Lightning Wallet", "Wallet of Satoshi" and "Bluewallet"

Installing arduino + libraries

Install the Arduino IDE,
https://www.arduino.cc/en/Main/Software

Install the ESP32 hardware,
https://github.com/espressif/arduino-esp32#installation-instructions

From "Manage Libraries" install,

  • lv_arduino
  • ArduinoJson
  • qrcode (By Richard Moore)

a