Skip to content
OnlyProjects
BCA · BlockchainFor educational purposes only
Code included

Blockchain-Anchored Contribution and Auction Ledger for a Registered 25-Member Chit Fund (Solidity, PHP/MySQL)

Replacing the foreman's register in a monthly chit with a shared, tamper-evident ledger for contributions, auctions and payouts

Mapped to your syllabusBCU SEP 2024 · 24BCAPJ Project · Semester 5

Overview

1 min read

NammaChit is a BCA fifth-semester project (BCU SEP 2024, slot 24BCAPJ) that re-records the oldest neighbourhood finance institution in India — the chit fund — on a shared, tamper-evident ledger. In a registered chit under the Chit Funds Act, 1982, twenty-five members pay a fixed contribution every month for twenty-five months, an auction decides who takes the month's pot at a discount, and the foreman (the organiser) keeps the register that says who paid, who won and who is owed. Every chit dispute — "my payment is not written", "the auction was rigged", "the foreman vanished" — is really a dispute about trust in one person's register: exactly the problem a shared ledger solves.

The system is deliberately hybrid. The money logic lives in a Solidity smart contract deployed on a local Hardhat Ethereum network: contributions, the monthly auction (lowest bid wins the pot, discount shared by the unprized members), the statutory 5% cap on the foreman's commission, and every state change emitted as an unalterable event. A familiar PHP/MySQL member portal (the BCU syllabus stack: 24BCA51 Web Programming, MySQL, 24BCA54 Cryptography) handles registration, meeting calendars, notices and SHA-256 document hashing — minutes and the chit agreement are hashed and the hashes anchored on-chain, so later edits are detectable. A JavaScript front end calls the contract through ethers.js and MetaMask.

Solidity, Hardhat, ethers.js and MetaMask are industry-standard extras, clearly beyond the syllabus; the syllabus contributes JavaScript, PHP, MySQL, hashing and cryptography fundamentals — and a project story examiners rarely hear.

Relevant for
Karnataka
Level
Intermediate · 12 weeks · team of 3
Common at
Bengaluru City University, Bangalore University
Updated
Nov 2026

Syllabus alignment

BCU · SEP 2024

24BCAPJ · Project · Semester 5 · 6 credits · 150 = SEE 120 (writing 20 + demo 60 + viva 20 + report 20) + IA 30 (3 reviews × 10)

Subjects this project applies
  • 24BCA51 Web Programming (PHP/JavaScript)
  • 24BCA54 Cryptography
  • MySQL (DBMS)
  • 24BCA53 Software Engineering
How it is evaluated

Team: individual or group ≤ 3

hardbound report; open-source / licensed tools must be acknowledged

Also fits: IGNOU BCA (revised) — BCSP-064 guidelines, GGSIPU 4-year BCA 2024, University of Madras CBCS 2023-24.

What's in the box

11 parts · 5 free · 2 previewed · 4 unlock for ₹2,000

Problem & synopsis

6 min read

Problem statement

A registered 25-member chit fund moves about ₹2.5 lakh every month, but the institution's entire book-keeping is one register held by one person. Members cannot verify who has paid, the auction's winning bid is whatever the foreman minuted it as, the discount owed to unprized members is computed by hand and contested, and the statutory limit on the foreman's commission exists only on paper. When the foreman is honest, the system works; when the foreman errs or absconds, twenty-five families have no independent record of contributions, bids or payouts — only counterfoils and memory.

The group needs a shared ledger that no single member can alter: contributions and auctions recorded as they happen, the commission cap and discount distribution enforced by code rather than by goodwill, meeting minutes anchored by hash so later edits are provable, and a familiar web portal so that members who have never touched cryptocurrency can still participate. The project must also answer, honestly, where a blockchain is unnecessary — and where only it can help.

Synopsis

Abstract

Chit funds are India's home-grown rotating savings institution: members contribute monthly, an auction assigns the pot at a discount, and the foreman's register is the only record. The register model creates disputes (altered entries, rigged bids) and fraud (foremen absconding with collected funds). NammaChit replaces it with a Solidity smart contract on a local Hardhat Ethereum network that enforces contributions, auctions, the statutory 5% commission cap and payouts, while a PHP/MySQL portal manages off-chain records and anchors their hashes on-chain. The result is a chit whose history no single member — including the foreman — can alter.

Introduction

A registered chit fund is a rotating savings and credit scheme governed by the Chit Funds Act, 1982: subscribers agree on a chit amount (say ₹2,50,000), a duration (25 months) and a monthly contribution (₹10,000). Each month an auction is held; the member accepting the largest discount wins the pot (the prized subscriber), and the discount is shared among the remaining (unprized) members as credit against future contributions. The foreman runs this cycle and takes a commission capped at 5% of the chit amount. For lakhs of households without easy formal credit, chits are working capital — and because pots are large and cash-based, disputes and foreman fraud are standing complaints.

Existing system and its failures

  • Paper register or Excel maintained by the foreman; members see it only at meetings.
  • Auction by show of hands, minuted by the foreman — rigged-bid allegations are routine and unverifiable afterwards.
  • Cash collections with counterfoils; a member's "I paid" fights the foreman's "you did not".
  • Worst case: the foreman absconds with months of collections.
  • Limitations: no shared truth, no audit trail, no enforced commission cap, no automatic discount sharing.

Proposed system

  • A ChitGroup smart contract: 25 members, 25 monthly rounds, per-round auction window, sealed-bid commit then reveal (bids cannot be copied), automatic pot transfer to the round winner, pro-rata discount credit to unprized members, a commission function hard-capped at 5%, and penalties for late contributors.
  • Event-sourced history: every contribution, bid, reveal, payout and distribution emits an Ethereum event — the ledger is the minutes.
  • PHP/MySQL portal (off-chain): member profiles (name, phone, nominee — no government ID numbers), meeting calendar, notices, contribution receipts, and SHA-256 hashes of the chit agreement and meeting minutes stored in MySQL and anchored on-chain.
  • Consensus: a Proof-of-Authority local network (Hardhat's dev node) with known validators — appropriate for a permissioned group of 25 known members.

Feasibility

  • Technical: Solidity, Hardhat, ethers.js, PHP, MySQL and MetaMask are all free; the dev network needs no real cryptocurrency; the contract is under 300 lines with a full test suite — within a 12-week, three-member team's reach.
  • Economic: zero cost; even a production deployment on a low-fee EVM chain would cost a few rupees of gas per month.
  • Operational: a familiar portal plus a browser wallet is a small step, and the demo runs fully offline on one laptop.

Objectives

  1. 01Model the registered chit-fund lifecycle (contribution, auction, prized/unprized settlement, foreman commission, default penalty) as a Solidity smart contract with enforced invariants.
  2. 02Enforce the Chit Funds Act, 1982 rule that the foreman's commission never exceeds 5% of the chit amount, in code.
  3. 03Implement a commitment–reveal auction so bids cannot be copied within the round window.
  4. 04Emit an Ethereum event for every state change, making the contribution and auction history tamper-evident.
  5. 05Build a PHP/MySQL member portal for registration, meeting calendar, notices and contribution receipts, with SHA-256 hashing of the chit agreement and minutes anchored on-chain.
  6. 06Connect a JavaScript front end to the contract through ethers.js and MetaMask against a local Hardhat network.
  7. 07Write Hardhat tests proving the critical paths: double contribution rejected, late bid rejected, commission above 5% reverts, discount distribution sums correctly.

Scope

In scope

  • One registered chit group: 25 members, 25 monthly rounds, fixed contribution, auction by sealed bid with reveal, discount sharing, 5% foreman commission cap, late-payment penalty rules.
  • Local permissioned network (Hardhat dev node / PoA-style) with MetaMask accounts representing members.
  • PHP/MySQL portal for off-chain records and document-hash anchoring; ethers.js integration and dashboard.
  • Hardhat unit tests and a demo dataset of three simulated rounds.

Out of scope (v1)

  • Real-money deployment on a public mainnet; the prototype uses the Hardhat network's test ether.
  • KYC/AML verification, Aadhaar/PAN collection or regulator filing workflows — the design deliberately stores no government ID numbers.
  • Recovery litigation tooling, credit scoring and integration with actual bank/UPI payment rails.
  • Mobile apps (the portal is responsive web); multi-chit management.

Methodology

The team follows the Incremental SDLC model — a working skeleton (contract + portal talking to each other) exists by week 4, and each of the three increments adds an enforceable feature, so the 24BCAPJ review schedule (three internal reviews) always has something demonstrable.

PhaseWeeksActivitiesDeliverable
Requirement study1–2Study the Chit Funds Act flow with the guide; interview one chit foreman informally; write user stories for member, foreman; fix the contract invariantsSRS + invariant list
Design3–4Contract state machine and storage layout; ER design for the MySQL portal; wireframes; security threat list (reentrancy, integer issues, access control)Design document
Increment 15–6ChitGroup contract: join, contribute, round state machine, events; Hardhat tests; portal registration in PHP/MySQLContributable chit on local chain
Increment 27–8Commit–reveal auction, pot transfer, discount distribution, commission cap; ethers.js/MetaMask front endFull round playable end-to-end
Increment 39–10Minutes/agreement hashing and on-chain anchors; notices, receipts, dashboards; penalty rulesComplete system
Testing & hardening11Full test suite, checks-effects-interactions audit against the best-practices checklist, black-box UI test cases, gas measurementTest report
Documentation12Hardbound report, PPT, demo script with three simulated roundsSubmission

Team split (3 members): Member A — smart contract and its tests; Member B — PHP/MySQL portal, hashing and anchoring service; Member C — JavaScript/ethers.js front end, MetaMask flows and the HTML report generator. Reviews, documentation and the demo script are shared.

Testing approach: Hardhat tests with chai assertions for every invariant (including the 5% cap and reentrancy guard behaviour); portal tested with black-box test cases; a two-laptop dress rehearsal of the demo before submission.

Architecture & tech stack

2 diagrams · 7 technologies · 2 min read

  • JavaScript
  • PHP
  • MySQL
  • Solidity (industry-standard extra)
  • Hardhat (industry-standard extra)
  • ethers.js (industry-standard extra)
  • MetaMask (industry-standard extra)

The system is a hybrid of an on-chain trust core and an off-chain convenience layer, deliberately split along the line "what must no one be able to alter" versus "what is only useful if it is convenient".

  1. On-chain core (Solidity on Hardhat network): the ChitGroup contract holds the member registry, round state machine, contributions (in test ether), auction bids and payouts. Storage is minimised to what integrity requires; everything else lives off-chain.
  2. Off-chain portal (PHP + MySQL): registration, meeting calendar, notices, downloadable receipts, and the SHA-256 hash registry. MySQL keeps full documents; only their 32-byte hashes go on-chain as anchors, so a document that is later edited no longer matches its hash.
  3. Client layer (JavaScript): the browser page uses ethers.js to read contract state, submit transactions through MetaMask, and render round dashboards; the portal's PHP API serves portal data to the same page.
flowchart TD
  M([Member browser]) --> P["PHP portal
  (registration, calendar, notices)"]
  P --> DB[(MySQL: members, minutes,
  receipts, anchor index)]
  P --> H["SHA-256 hash service
  (agreement, minutes)"]
  H -->|anchor hash| SC["ChitGroup contract
  (Solidity)"]
  M -->|"MetaMask signs txn"| E["ethers.js client"]
  E --> SC
  SC --> EV["Events: Contribution, Bid,
  Reveal, Payout, Distribution"]
  EV -->|"listener syncs"| DB
  SC --> CH[("Hardhat local network
  (PoA-style, 25 known members)")]

Contract state machine

flowchart LR
  J["JOINED: members registered"] --> C["CONTRIBUTING: month opens,
  contributions accepted"]
  C --> BID["BIDDING: sealed commitments"]
  BID --> REV["REVEAL: bids opened,
  lowest wins the pot"]
  REV --> PAY["SETTLED: pot to winner,
  discount shared, commission ≤ 5%"]
  PAY --> C
  PAY --> D["COMPLETED: all 25 rounds done"]

The round cycle repeats twenty-five times; after the final round the contract moves to COMPLETED and refuses all state changes. Every arrow in this diagram is a guarded transition in code — an attempt to contribute during BIDDING, bid after the window, or reveal before REVEAL reverts with a specific error, and those reversions are exactly what the Hardhat test suite asserts.

Modules

5 modules

  1. Module 01

    ChitGroup Smart Contract (Member A)

    The Solidity heart of the project: member registration with fixed contribution, the 25-round state machine, commit–reveal auction with a minimum-discount floor, automatic pot transfer to the round's lowest bidder, pro-rata discount credit to unprized members, the foreman commission function hard-capped at 5% of the chit amount, and penalty accrual for late contributions — all following checks-effects-interactions to prevent reentrancy.

  2. Module 02

    Event Log and Anchoring Service (Member B)

    Every contract state change emits a typed event; a Node listener script persists events into MySQL so the portal can show a tamper-evident history without each member reading the chain. The same module computes SHA-256 hashes of the chit agreement and meeting minutes, stores documents in MySQL and writes only the hashes on-chain as anchor records.

  3. Module 03

    PHP/MySQL Member Portal (Member B)

    Registration of members with name, phone and nominee (no government ID numbers), the meeting calendar, group notices, monthly contribution receipts as printable HTML, and role-based access (foreman vs member) enforced in PHP sessions — plus the schema, migrations and seed data for the 25-member demo group.

  4. Module 04

    Wallet Front End and Auction UI (Member C)

    A JavaScript single-page interface that connects through MetaMask, displays each member's contribution status and owed discounts, submits commit and reveal transactions through ethers.js, shows the live auction board (commitment count, revealed bids, provisional winner), and confirms every on-chain action with the transaction hash for the member's own records.

  5. Module 05

    Testing, Security Audit and Demo (shared)

    The Hardhat test suite covering every invariant and failure path; a security pass against the published smart-contract best-practices checklist (access control, reentrancy, compiler pragma pinning, gas notes); a black-box test-case table for the portal and UI; and a three-round simulated demo dataset with a rehearsal script for the 24BCAPJ SEE demo.

Slides

12 slides · titles free · bullets, notes and the .pptx unlock

  1. Slide 1

    NammaChit — A Blockchain-Anchored Chit-Fund Ledger

  2. Slide 2

    How a Chit Fund Works

  3. Slide 3

    The Trust Problem

  4. Slide 4

    Why Blockchain, and Where Not

  5. Slide 5

    Objectives

  6. Slide 6

    Technology Stack

  7. Slide 7

    System Architecture

  8. Slide 8

    Contract Design

  9. Slide 9

    The Commit–Reveal Auction

  10. Slide 10

    Demo — Three Simulated Rounds

  11. Slide 11

    Testing and Security

  12. Slide 12

    Conclusion and Future Scope

Bullets, speaker notes and the .pptx · ₹2,000

The titles above are the real outline. The rest is what you present from.

Unlock for ₹2,000

Viva questions & answers

3 of 17 answered free · 14 unlock

Read each answer, close it, and say it in your own words. Your viva will ask. Now you'll know.

  1. 01Concept

    What is a chit fund and who is the foreman?

    A chit fund is a rotating savings scheme in which a fixed group of subscribers contributes a fixed amount every month for a fixed duration, and each month one member — the prized subscriber — takes the pot at the largest discount bid, while the foreman is the organiser who collects contributions, runs the auction, pays out the pot and keeps the records, earning a commission capped at five per cent of the chit amount under the Chit Funds Act, 1982.

  2. 02Concept

    Why does this problem need a blockchain at all?

    Because the failure mode of the existing system is one party controlling the shared record: the foreman's register is the only history of contributions and auctions, and members cannot verify or contest it. A blockchain gives twenty-five mutually distrusting parties one append-only ledger plus code-enforced rules, which is the textbook fit; for a single-trustee database with auditing, a plain MySQL system would honestly be enough, and I say so in the report.

  3. 03Concept

    What consensus does your network use and why that choice?

    The prototype runs on Hardhat's local development network, which seals blocks instantly in a dev-node mode; the production-shaped alternative I designed for is Proof of Authority with a small set of known validators, because a chit group is a permissioned set of twenty-five identified members rather than anonymous internet participants. Proof of Work would waste electricity to solve a sybil problem my design does not have, so the membership model, not fashion, picks the consensus.

+14 more questions, with answers

Try the free ones out loud first. Your examiner will not accept “it's in the PPT”.

Source code & how to run

5 steps · complete source code · unlocks with the project

Unlocks with the project · ₹2,000

5 steps · source code zip

Prerequisites, install, seed data and tests, written for demo day. Plus the complete source.

Unlock for ₹2,000

READMEFIRST

275 words · unlocks with the project

What to change before it goes anywhere near a submission. Skipping it is how the demo fails live.

Unlocks with the project · ₹2,000

275 words · ~1 min read

The checklist of things to rename, re-seed and re-think so the project reads as yours.

Unlock for ₹2,000

Instructions

404 words · unlocks with the project

How to study it, adapt it and walk your examiner through it, step by step.

Unlocks with the project · ₹2,000

404 words · ~2 min read

Report structure, formatting rules and the submission checklist your department will grade.

Unlock for ₹2,000

References

8 sources

  1. The Chit Funds Act, 1982 — full text (Indian Kanoon)
  2. PRS Legislative Research — summary of the Chit Funds (Amendment) Bill, 2019 (foreman commission and regulatory context)
  3. Hardhat — Ethereum development environment, official documentation
  4. Solidity — official documentation
  5. ConsenSys Diligence — Ethereum Smart Contract Security Best Practices
  6. web3.js / ethers — ethers.js v6 documentation (contract interaction from JavaScript)
  7. Andreas M. Antonopoulos & Gavin Wood, Mastering Ethereum: Building Smart Contracts and DApps, O'Reilly (open-source edition)
  8. MySQL 8.0 Reference Manual

Cite this bundle

OnlyProjects. (2026). Blockchain-Anchored Contribution and Auction Ledger for a Registered 25-Member Chit Fund (Solidity, PHP/MySQL): BCA Blockchain project bundle [Educational resource]. https://onlyprojects.online/projects/bca-blockchain-chit-fund-contribution-auction-ledger

Future scope

1 min read

  • Guarantor and collateral rules for prized members, modelled as on-chain stake that is released on completing the remaining contributions.
  • Multi-group and foreman-reputation contracts so a foreman's completed chits are publicly countable.
  • UPI off-ramp integration (documented as future work) linking on-chain settlement to real bank transfers through a payment-service partner.
  • A formal audit pass — run a static-analysis tool (Slither-class) and file the findings in the report.
  • Mobile-first PWA for the portal with push reminders on contribution and auction days.
  • Gas and cost study comparing the prototype against a public low-fee EVM chain for a real deployment decision.

Keep browsing

Same degree, same syllabus slot, different idea. Pick the one your guide will actually approve.

BCACode included

Web Development

Smart Hostel Management System

Room allocation, complaints and mess billing without the register

  • Next.js
  • TypeScript
  • Node.js
  • +3

intermediate8 wk2 students