Code Monkey home page Code Monkey logo

eosio-sensor-dapp's Introduction

EOSIO Sensor dApp

This project uses EOSIO blockchain combined with a REACT single page application.

Features

  • login (to login in the app)
  • log (to send a new data log from a sensor)

Requirement

The easiest way to have all requirements is to use EOS Studio.

  • At least one EOS instance running
  • Accounts:
    • Use an account called sensordapp to deploy the smart contract.
    • Create a bob account and use its private key to login the app.

Installation

dev mode: By starting REACT dev mode :

cd frontend
npm run start

production mode: First build, then open the app:

cd frontend
npm run build

Now run the app localy using serve :

#install serve globally
npm install -g serve 
serve -s ./build

Usage

First login using a created account on your instance :

Login

Then you should see this :

Dashboard

After that you can add & view the sensors logs you sended via the dapp.

Perspectives

  • Build a C++ client to use the EOS app:

    • -> Combine EOS SDK with a custom library.
  • Run benchmarks with this app to see limits of tables & EOS smart contracts

TODO

  • Fix sensor log count using an increment in the smart contract
  • Add Ricardian contract
  • Add en/decryption
  • share system between accounts

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.