Giter Site home page Giter Site logo

elexis's Introduction

ELEXIS - A Blockchain Voting App

This is Elexis, a decentralized voting system built on the Volta testnet. This secure and transparent solution guarantees tamper-proof voting records, enabling users to cast their votes remotely while prioritizing anonymity and fraud prevention. Dive into this project for a dependable and decentralized approach to voting processes.

Features

• Simple and elegant UI for a seamless voting experience.

• Leverages blockchain for fraudless and transparent voting.

• Prioritizes user anonymity.

Requirements

HardHat for creating and managing our smart contracts.

MetaMask browser extension for performing transactions.

Live Server extension for running our web-app locally.

Installation

  1. Open terminal.

  2. Clone the repository by using the command:

    git clone https://github.com/darkn3to/elexis.git

    or simply download the zip file from the code dropdown button above.

  3. Download and install node.js. Add it to your path.

  4. Install hardhat by running the following command in the terminal:

    npx hardhat

    then

    npx hardhat init

    and

    npx hardhat compile
  5. Create .env file in the root directory as follows :

     API_URL="https://volta-rpc.energyweb.org/"
     PRIVATE_KEY="THE_HIDDEN_KEY_IN_YOUR_METAMASK_ACCOUNT" 
     CONTRACT_ADDRESS="TOKEN_CONTRACT_ADDRESS" 

Usage

  1. Add MetaMask extension to your browser and create an account if not already created.

    • You would also need to add Volta TestNet to your account. Go to this link to get the details required to do so. Then goto this link to add Volta tokens needed to perform transactions.

  2. Open deploy.js and add/remove names as per requirement.

  3. Run the command:

    npx hardhat run --network volta scripts/deploy.js
  4. Deploy the dApp using live server.

Some Screen Shots

candidates

winner

voting_page_interface

vote_status

view_candidates

connect_metamask

Live Demo

Elexis

elexis's People

Contributors

darkn3to avatar

Watchers

 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.