Welcome to the "VoteChain" – a pioneering platform utilizing ResilientDB and GraphQL, a cutting-edge blockchain technology, to revolutionize the landscape of electronic voting systems. Our primary focus is to ensure a secure and transparent voting process while emphasizing the significance of each voter's singular vote. VoteChain is designed to guarantee the permanence of votes, enabling every participant to cast a single vote per election. Our system strictly prohibits multiple votes, ensuring the integrity and fairness of the electoral process. One of the standout features of VoteChain is its user-friendly interface and the provision of a dedicated admin panel. Within the admin panel, a comprehensive display of all elections and their respective candidates' votes is showcased. These statistics are presented dynamically through visually intuitive representations such as bar graphs, pie charts, and polar area charts. At VoteChain, we are committed to fostering a trustworthy environment where the sanctity of each vote is upheld. Our utilization of ResilientDB technology ensures the highest standards of security, transparency, and reliability in electronic voting, empowering individuals to participate in the democratic process with confidence.
- Secure and Transparent Election
- Single Voting Instance
- Immutable Votes
- User Friendly Interface
- NEW! User Authentication with ResVault
- NEW! Customizable Voting
- NEW! Participate in Discussion Panels
- NEW! View Poll Results & Personal Vote History
- ResilientDB - A cutting-edge blockchain technology chosen for its robustness and immutability, providing secure, transparent, and tamper-resistant data storage essential for our electronic voting system.
- GraphQL - Utilised for efficient and versatile data querying, offering a streamlined interface to access blockchain based information. Implemented Fetch Transaction, Post Transaction and Send Request APIs using GraphQL.
- React.js - It was utilized for building composable and interactive user interface within the VoteChain platform, facilitating the creation of modular components and seamless UI interactions.
- Material UI - A responsive UI design library complementing React.js, ensured a consistent and visually appealing layout across various devices and screen sizes.
- Node.js - It forms the foundational infrastructure for the VoteChain back end, managing server-side logic and acting as an intermediary between the user interface and ResilientDB blockchain
- ResVault - VoteChain now uses ResVault for user authentication. Users will log in with their ResVault Wallet, and poll submissions will be linked to their account for enhanced protection and accountability.
- MongoDB - The Custom Poll Creation and Discussion Panel features utilize MongoDB to securely store transaction-related data such as Poll Topics, Vote Options, and Messages. This data is organized into three collections: Poll, Vote, and Message Data, ensuring efficient management and retrieval of information.
- Home Screen
- Login Page
- Authenticate with ResVault
- Create Polls Screen
- Vote Polls Screen
- Vote Screen
- Result Screen
- User History Screen
- Discussion Screen
Please follow the procedures below and ensure that every step is successful.
Google Chrome is installable on macOS, Linux, and Windows platforms. Please refer to the official Google installation guide based on your platform.
- Clone the ResVault repo to get started:
git clone https://github.com/ResilientApp/ResVault.git cd ResVault
- Create the build folder in repo
npm install npm run build
- Load the extension in chrome
- Open chrome://extensions/ in Google Chrome, toggle Developer mode on
- Click on Load unpacked
- Select the build folder you just created
- You should see the ResVault extension in chrome
- Node.js - Download and install Node.js from https://nodejs.org/ based on your platform.
- npm (Node Package Manager) - npm is included with Node.js. Run the following commands to ensure your installation is successful.
node --version npm --version
- Clone this Git repository to your local machine
git clone https://github.com/ItsBaiShiXi/VoteChain.git cd VoteChain
- Install required dependencies
npm install
- Once the dependencies are installed successfully
- Open a terminal, run following command
npm run start-backend
- Open another terminal, run following command
This will launch the application, and you can access it in your web browser
npm start
- Open a terminal, run following command
- Connect the ResVault chrome extension, then you can anonymously login to votechain through it
Enjoy your voting!
Refer to the Blog - https://xiuyuanqi799.wixsite.com/expanded-votechain