This is a fork project for c-lightning users. This project uses c-lightning and sparko plugin.
- M5Stack Basic(Core Kit)
- 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"
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)