Project page template · concept project. Swap the words and numbers for the real build.
A written book by iabd · 2025blockbank
A game-server economy backed by a real general ledger. Every diamond is traceable.
Chapter 1 · The problem
A friend's server had inflation and no audit trail.
Chapter 2 · The build
Every trade posts a balanced entry to SQLite. Admins can trace any item back to the entry that created it.
ledger.post(new Entry(trade.id)
.debit(buyer.inventory, item, qty)
.credit(seller.inventory, item, qty));Chapter 3 · What happened
100%trades traceable
0dupe exploits
/tbin-game trial balance
Chapter 4 · Links
The repo on GitHub ↗ · live demo coming.