Git Product home page Git Product logo

blocklocker's Introduction

Blocklocker

This is repository of the "Blocklocker" project. Blocklocker is composed of the words Blockchain and Locker. With this project a prototype of a simple vending machine was developed. Payment is made with the Zcash cryptocurrency. Other currencies can also be added.

It is the result of an innovation project within the Otto Group IT (IT service provider of the Otto Group). In the Otto Group IT, employees have the opportunity to suggest innovative projects and then work on them within their working hours. The innovation does not have to have anything to do with the actual job. Great place to work :)

Overview

Blocklocker is made up of three main components:

  1. Shop back end with Zcash full node
  2. Shop front end - Many thanks to Marc for the UI.
  3. Locker
 +----------+                              Firewall
 | Customer |                                 ||
 +----------+                                 ||
      |                                       ||
      | HTTP                                  ||
      v                                       ||
 +----------------------------------+         ||        +-----------+
 |  Computer with Internet          |         ||        | Locker    |
 |                                  |         ||        +-----+-----+
 |  +----------+     +-----------+  |         ||        |  1  |  2  |
 |  | Shop     |     | Shop      |  |         ||        +-----+-----+
 |  | Back End | <-- | Front End |  |         ||        |  3  |  4  |
 |  +----------+     +-----------+  |         ||        +-----+-----+
 |      |                           |         ||        |  5  |  6  |
 |      | JSON RPC                  |         ||        +-----+-----+
 |      v                           |         ||        |  7  |  8  |
 |  +----------------------------+  |                   +-----+-----+
 |  | Zcash Blockchain Full Node |  | <-- SSH Tunnel -- | Raspberry |
 |  +----------------------------+  |                   | Pi        |
 +----------------------------------+         ||        +-----------+

Process

  1. There are up to 8 products in the vending machine / locker. The product is assigned to the door in the shop back end.
  2. A customer visits the shop frond end and chooses a product. This will generate and display a Zcash address (z-Addr).
  3. The customer sends the displayed amount to the address.
  4. Once the transaction has been confirmed, the door can be opened.

TODO

Help ๐Ÿ‘

If you have found a bug (English is not my mother tongue) or have any improvements, send me a pull request.

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.