Simulation in your browser. No real money. No real people.
Fictional data · runs on your device
Demo
A fictional mosque fund, one step at a time. Each step adds one entry to a public ledger. Then verify the ledger, and try to tamper with it.
Amounts are shown as PKR (simulated). The rules are design choices, not religious rulings: see How it works. The engine is one file you can read: ledger.mjs.
The demo needs JavaScript and a current browser. If this line stays, it has not started. Every other page on this site works without JavaScript.
Guided run
A mosque fund and one medical case
Eleven steps, following the demonstration in the MVP paper. Every name is fictional.
Guided run
Free play
Add your own entries
Use made-up names only. What you type is saved in this browser and goes nowhere else.
Things to try. Each one should be refused:
- Release from the zakat pool to a case that was not marked zakat-eligible.
- Release more than a pool holds.
- Have the person who entered a case verify it.
- Release funds before identity and need are verified.
Treasury
Four pools
Words used on this page
- zakat
- the obligatory annual alms
- sadaqah
- voluntary charity
- waqf
- an endowment: an asset set aside so its benefit goes to a cause
- amanah
- a trust: something held on behalf of others
Public
Public ledger
What anyone would see. Each entry carries the hash of the entry before it.
No entries yet. Run step 1.
Cases
Cases and their checks
A commitment is a hash of the private details plus a random value, the salt. The details can be checked later without being published.