Skip to content
Lightning Network bitcoin faucet using lnurl
C C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
M5StackVersion Create README.md Oct 1, 2019
framed-version Delete pfframe.png Sep 18, 2019
LICENSE Create LICENSE Sep 18, 2019
README.md
main.ino

README.md

lightning network faucet

Lightning Network bitcoin faucet using http://lightning.gifts api

Parts (Project cost £8)

  • ST7735 1.8 TFT, ESP32 NodeMCU 32s

bitcoin

ESP32

Workflow

  • ESP32 connects to lightning.gifts, and generates an invoice for the amount set
  • ESP32 connects to an LND instance and pays the invoice on lightning.gifts (This project uses a local copy of Zap as an admin macaroon 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" 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,

  • Ucglib
  • ArduinoJson
  • qrcode (By Richard Moore)

a

ESP32 NodeMCU-32S GPIO map

Details on wiring can be found at the header of each ino file

ESP32 GPIO Map

Tip me

If you like this project and might even use or extend it, why not send some tip love! https://paywall.link/to/f4e4e

You can’t perform that action at this time.