Git Product home page Git Product logo

btc-lightning-candy-machine's Introduction

Bitcoin Lightning Candy Machine, The Easy Way

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.

Installation:

  1. Flash MicroPython onto the esp32 board (Instructions: https://docs.micropython.org/en/latest/esp32/tutorial/intro.html)
  2. Get a REPL promt. (Instructions: https://docs.micropython.org/en/latest/esp8266/tutorial/repl.html)
  3. Connect the board to your wifi network and enable webREPL. This is required to upload files to the device.
  4. Edit src/settings.py and configure your wifi network credentials and opennode api key
  5. Use the upload.py script to upload the python files to the board
./upload.py BOARD_IP src/

btc-lightning-candy-machine's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.