Git Product home page Git Product logo

prototype's Introduction

NeuroChain

First public version of our sandbox prototype

Take a deep look at the project NeuroChain. Future of blockchains coming soon...

This sandbox permits us to test some features of our projects. Mainly about communication and consensus matters. We are currently using NodeJS to develop this prototype for quickness reason. Final version of NeuroChain will be mostly developed in C++.

Updates are coming every day.

What is doing this program ?

The current version shows a 4 bots environment playing a Traceability use case.

Each bot has a specific role : producer, carrier, warehouse and shop.

Producer creates fruits and converts it into transactions.

Transactions are propagated to the other bots.

When there are enough transactions, bots create blocks.

Consensus is established between the 4 bots to decide which one is going to write in the ledger. The block is written.

When Production transactions are written into the NeuroChain, the carrier, then the warehouse, then the shop can perfom their jobs too.

Every information is shared, approved and validated by the network.

Run this prototype

Clone this repository then run:

npm install

For Windows environment, run:

./scripts/nodesLauncher.bat 

For Unix environment, run:

./scripts/nodesLauncher.sh

prototype's People

Contributors

neurochain avatar sebtest92 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

prototype's Issues

documentation needs improvement

Hi, I git pulled version dated 10feb;
all 4 bots seem to be started by the nodes start shell script.
The main issue is that we no clue of how to check that the chain of bots is exactly doing what is expected.

Please explain what is your definition of a working demo.

by hte way, I tried to open the index.html from a browser (console shows socket.io errors)
browser display this:

NeuroBot Id ABCDE Communication Channel UDP
Listening Port 5000 Sending Port 12345
Seed IP 2 Seed Listening Port3 4

Logs

Logs

It probably suffers from socket.io.js not being found !

tks

pm2: command not found

 ./scripts/nodesLauncher.sh
1 12345 5000
./scripts/nodesLauncher.sh: line 21: pm2: command not found
number of nodes = 2

Also small problem " ./scripts/nodesLauncher.sh" should executable (when you check it out of repo)

permission denied

Hi all,
I simply followed the instruction, npm install went well( on my ubuntu x86 v17.10)
but starting a node failed miserably :
bash: ./scripts/nodesLauncher.sh: Permission denied

Did I do anything wrong ?
tks

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.