SahiKhata is a tamper-evident digital version of the udhaar bahi-khata — the ruled credit register that sits behind the counter of almost every Indian kirana store, where the shopkeeper writes down what each regular customer takes on credit and strikes it off when cash is paid. Pages tear, entries get overwritten, amounts are disputed at the end of the month, and the register is the only copy in existence.
This project rebuilds that register as a small web application with one property a paper book can never have: the entries cannot be quietly altered. Every credit sale and repayment is hashed with SHA-256 and linked to the hash of the previous entry. At closing time the day's entries are sealed into a block whose header carries the previous block's hash and a small simulated proof-of-work — the same pattern a real blockchain uses, implemented in plain Python on top of MySQL.
A Verify Chain screen recomputes the whole chain on demand and pinpoints the exact record where any tampering happened, which makes a memorable live demo for the viva.
The stack is deliberately beginner-friendly: Python and Flask for the application, MySQL for storage, with the hash functions coming from Python's built-in hashlib. This is a simulated blockchain — there is no public network or cryptocurrency — which is exactly the depth an individual BCSP-064 project should attempt and defend.
- Relevant for
- All India
- Level
- Beginner · 14 weeks · solo
- Common at
- IGNOU, University of Madras, University of Kerala
- Updated
- Nov 2026