This project is inspired by https://github.com/arcbtc/1.21 and runs on the same hardware. The code is written from scratch in MicroPython and can be deployed on any MicroPython compatible board like NodeMCU (esp32) or similar ones. https://www.opennode.co/ is used as custodial backend for receiving payment through for the Bitcoin Lightning Network.
- Flash MicroPython onto the esp32 board (Instructions: https://docs.micropython.org/en/latest/esp32/tutorial/intro.html)
- Get a REPL promt. (Instructions: https://docs.micropython.org/en/latest/esp8266/tutorial/repl.html)
- Connect the board to your wifi network and enable webREPL. This is required to upload files to the device.
- Edit src/settings.py and configure your wifi network credentials and opennode api key
- Use the upload.py script to upload the python files to the board
./upload.py BOARD_IP src/