Giter Club home page Giter Club logo

bankex-nfc-eth's Introduction

bankex-nfc-eth

BANKEX NFC Ethereum smart contract based accounting.

NFC card's unique identifier are being used as a key in ERC-20-like smart contract.

Prerequisites

Hardware

  • NFC tag reader (tested with ACR122U USB).
  • Raspberry Pi (recommended) or any Linux-based PC (Debian/Ubuntu is recommended)

Installing

General

sudo apt update
sudo apt -y install subversion autoconf debhelper flex libusb-dev libpcsclite-dev libpcsclite1 libccid pcscd pcsc-tools libpcsc-perl libusb-1.0-0-dev libtool libssl-dev cmake checkinstall

Node.js

  • Follow the instruction to install NVM
  • Install node-gyp module npm install -g node-gyp

###libnfc

Download actual release of nfclib library, e.g. libnfc-1.7.1.tar.bz2. Unzip it to temp directory and cd into it.

./configure --with-drivers=acr122_usb
make
sudo make install

App node modules

Clone git and cd to project directory.

npm install

Configuring

  • Deploy contract ./contracts/nfctoken.sol to Ethereum
  • Add your local address to whitelist in deployed contract
  • Place local geth keystore json key file to ./keystore/key.json
  • Place plain text password to file ./keystore/password.txt
  • cp config-example.yml config.yml
  • Edit config.yml to set up correct geth/parity node RPC address

Running

Clone git and cd to project directory.

npm install
npm start

bankex-nfc-eth's People

Contributors

dnx2k avatar

Watchers

Ben Haim 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.