Giter VIP home page Giter VIP logo

justice's Introduction

Judge Contract

A decentralized application of elections and opinion polls Justice is a decentralized application aimed at holding fair elections without fraud on the visible and hearing of all.

I had had a lot of problems because I'm a principle in the field of Blockchain, especially Ethereum. Therefore, I decided to make the project opensource but on my own terms and rules to make a business deal with everyone who contribution in this project in the near future.

The whole idea is that governments are paying billions of dollars for elections and everyone is questioning their integrity as a result of the lack of independence of the judiciary in some countries and governments, so I decided to move my passion towards that point: Applied Justice on Blockchain network

From that point on, I prepared a plan to walk together:

  • Preparation of electoral rooms where each room contains a number of numbers of voters (ID numbers)
  • Connecting the voters' chambers to the voters and making sure they are affiliated with that room
  • Use one of the front-end frameworks such as angular or react to complete the project
  • Set up to start ICO for integrating the two systems together

Installation

Justice requires Node.js v4+ to run. Meta Mask Client Provider Truffle Blockchain Network

Install the dependencies and devDependencies and start the server.

$ cd Justice
$ npm install
$ truffle migrate
$ npm run dev

justice's People

Contributors

loaiabdalslam avatar mohamed2del avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

justice's Issues

Candidate Structs is out Rooms Structs

the voting process included rooms and inner these rooms we need to declare all candidate
but we have candidates out of room Struct so we need to back it

Before

struct Room{
        uint VotersCount ;
        uint candidatesCount;
        uint roomId;
        mapping(uint => Voter) votersStructs;

    }
    mapping(uint => Candidate) candidateStructs;

To

    struct Room{
        uint VotersCount ;
        uint candidatesCount;
        uint roomId;
        mapping(uint => Voter) votersStructs;
        mapping(uint => Candidate) candidateStructs;
    }
   

and resolve all function related to Room Structs

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.