This is a decentralized voting application built on the Ethereum blockchain. The project consists of two main components:
- client (frontend)
- server (backend).
The client folder contains the frontend application built with React. This application allows users to interact with the voting DApp, including casting votes, viewing candidates, and checking results.
- Navigate to the client folder.
cd client
- Install the required dependencies using npm :
npm install
To run the client application locally, use the start command.
npm run dev
The application will be available at http://localhost:5173.
The server folder contains the backend application built with Node.js and Express. It handles requests from the client, manages blockchain interactions, and serves the frontend application.
- Navigate to the server folder.
cd server
- Install the required dependencies using npm.
npm install
- set up
.envfile :
MONGO_URL =
To start the backend server, use the start command
npm start
The server will run on http://localhost:3000.
- Erc20 address :
0xc9cE88752f6bAc4E6449938C0ac399d4C16Bb623
- Token Marketplace Address :
0x91b3D8F4d1256c79ec9e860e99F9f3415941f9C1
- Voting Contract Address :
0x1FeA3eb1D7Bb6f98EF480D4b308b1bB725c53675
- Owner Wallet Address :
0x00912Bf03a1d1768C8c256649a805089b672Ac31