Certificates are easily faked. Verifiable commits are not. At Dokkho Tech, we engineered a system that converts validated GitHub pull requests and Figma designs into sweat equity points.
Ledger Architecture
Building a point-tracking system requires strict financial-grade architecture to prevent double-spending or duplicate point allocation.
We structure our database with a strict append-only ledger:
- A learner submits an artifact.
- Peers validate the artifact.
- A Cloud Function triggers, writing a new document to the ledger collection.
- The user's total equity is dynamically aggregated from the ledger, never stored as a mutable integer on the user profile.
By enforcing idempotency via unique artifact hashes, we guarantee that the Sweat Equity Ledger remains perfectly accurate regardless of network retries.
Build systems you can trust.
Top comments (0)