Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 1.33 KB

File metadata and controls

77 lines (57 loc) · 1.33 KB

eHalalan

eHalalan is a decentralized election system using blockchain.

Project Structure

apps/
├── smart-contracts/  # Solidity smart contracts managed with Hardhat
├── web/              # Next.js frontend

Tech Stack

Installation

Clone the repository and install dependencies:

git clone https://github.com/eHalalan/ehalalan.git
cd ehalalan

Smart Contracts Setup

cd apps/smart-contracts
npm install
npx hardhat compile

Frontend Setup

cd ../web
npm install
npm run dev

Usage

Smart Contracts

cd apps/smart-contracts
npx hardhat node
npx hardhat run scripts/deploy.ts --network localhost

Frontend

cd apps/web
npm run dev

If using VS Code, you can run the tasks via the command palette or Ctrl + Shift + B.

Contributing

  1. Clone the repository.
  2. Create a new branch.
  3. Make changes and commit.
  4. Submit a pull request.