🌍 Inspiration

Across Africa and many emerging markets, millions of people rely on informal savings groups such as ajo, esusu, and tontines. These rotating savings and credit associations (ROSCA) are vital for community lending, but they suffer from lack of transparency, privacy risks, and trust issues.

While blockchain could bring transparency, most on-chain financial systems expose sensitive details like wallet balances, contribution history, and member identity. I was inspired to build Silent Loan Circle to combine the community spirit of ROSCAs with the programmable privacy of the Midnight blockchain.


🛠️ How We Built It

Silent Loan Circle is built using:

  • Midnight Compact smart contracts to encode group logic, contributions, and payouts.
  • Zero-knowledge proofs (ZKPs) so members can prove they contributed the required amount without revealing balances.
  • Commitment schemes for contributions, nullifiers, and member sets to ensure unlinkability and privacy.
  • Next.js + Tailwind UI for the web dashboard (create/join circles, track cycles, see payout status).
  • CLI tool for developers, enabling scripted group creation and private contributions directly from the terminal.

📚 What We Learned

  • How to design privacy-first dApps where data remains confidential, but correctness is enforced cryptographically.
  • How Compact differs from Solidity: it forces a mindset shift to commitments, counters, and disclosures instead of traditional mappings/arrays.
  • The power of selective disclosure: you can prove statements like

[ \text{"I contributed } X \text{ in cycle } n \text{"} ]

without ever revealing your wallet balance or transaction history.


🚧 Challenges We Faced

  • Compact Language Learning Curve: Coming from Solidity, it was challenging to adapt to Compact’s unique model of commitments and circuits.
  • ZK Proof Integration: Designing contribution proofs and nullifier accumulators to prevent double spends required careful hashing strategies.
  • Time Constraints: Implementing both a UI and CLI in a short hackathon window while learning new tooling.
  • User Experience: Making privacy-preserving contributions feel simple and intuitive for end users.

✨ Outcome

Silent Loan Circle demonstrates how community finance can be rebuilt on a privacy-first blockchain.
It provides a working example of how ROSCAs can evolve into secure, compliant, and private DeFi primitives, unlocking financial inclusion for millions.

Built With

Share this project:

Updates