Skip to content
C

civic Vault

A decentralized governance platform

Created on 27th August 2026

•

C

civic Vault

A decentralized governance platform

The problem civic Vault solves

Communities everywhere pool money by hand — street levies for a burnt-out
transformer, PTA building funds, ajo/esusu savings circles, alumni investment
clubs, student-union budgets. One person holds the pot. There's no receipt, no
vote on where it goes, and no way to prove what happened when it doesn't arrive.
Rotating savings groups alone move $100B+ a year, almost all of it on
WhatsApp and spreadsheets.

CivicVault turns that pattern into a contract.

  • A community deploys its own DAO in one transaction (EIP-1167 clone factory).
  • Admins onboard members with hash-commitment KYC — no personal data on-chain.
  • Anyone proposes a local investment with a funding target, deadline and IPFS docs.
  • Members vote by staking HSK — skin in the game, not just a thumbs-up.
    Downvotes are free but carry no weight.
  • Funded proposals release in three phases (30 / 40 / 30), enforced in order,
    so a bad actor can lose one tranche — never the whole pot.
  • Returns are deposited back through a 3-of-N multi-sig; the depositor must
    actually hold the funds at execution time (no ghost proposals).
  • claimYield pays every member their exact proportional share, forever, with
    no admin able to skim or forget the smallest contributor.

Every vote, release, deposit and claim is a timestamped on-chain record no
administrator can edit. And because it runs on HashKey Chain — where HSK is the
native gas token — members never touch a separate gas token or a seed phrase
(email / social login via Privy). Feature-phone users get the full flow over
USSD. The blockchain is invisible; the accountability is not.

Challenges I ran into

Making a $100B market usable without a seed phrase. The target user is a PTA
chairman, not a DeFi trader. We used Privy embedded wallets (email/Google login,
wallet created automatically) and picked a chain where the gas token is the
settlement token, so there's no "acquire ETH first" step. For users with no
smartphone at all we built a USSD flow — a full CON/END state machine layered
over a stateless webhook, with per-session context persisted in Postgres.

Migrating the whole stack from a USDC-native chain to HashKey Chain. The
protocol was originally built around USDC-as-native-gas. Moving to HSK meant:
switching every amount from 6 to 18 decimals across contracts, SDK, and backend;
re-pointing chain config, RPC and explorer; and dropping the Circle Programmable
Wallets custody path (Circle doesn't support HashKey), replacing it with a direct
viem signer. We settled the "native HSK vs. ERC-20" question by staking through
WHSK, the ERC-20 form of the native token, so the existing approve/transferFrom
escrow logic kept working unchanged.

Phased escrow that limits blast radius, not trust. We couldn't verify
real-world milestones on-chain, so instead of pretending to, we made
releasePhaseCompleted a strict counter — phase 2 can't release before phase 1.
Admins still decide when a phase is earned (same trust a community already
places in its signers), but a vendor running off costs one tranche, visibly,
instead of everything, silently.

Yield accounting that survives partial deposits and rolling claims.
claimYield computes totalEntitled − alreadyClaimed so members can claim
whenever they want without double-counting, and multiple yield deposits over
time all settle proportionally.

A notification pipeline that doesn't fall over. The chat webhook used to 500
whenever outbound email wasn't configured — the in-app notification was already
written, but the SMTP exception killed the request. We made email delivery
best-effort: notifications persist, the webhook returns 200, email is attempted
only when configured, and a failed send never blocks the fan-out. RabbitMQ is
optional — it falls back to a synchronous path when the broker is absent.

forge coverage stack-too-deep. The DAO contract is large enough that
forge coverage fails even under --ir-minimum (a known Foundry limitation). We
leaned on 60+ Foundry tests instead — full lifecycle, access control, fuzzed
yield/escrow invariants, a malicious-token reentrancy test, and multi-sig edge
cases (duplicate approvals, approved-but-unfunded proposals).

Tracks Applied (2)

Nigieria Hackathon

It fits into the NIgerian track cause it was built solving a Nigerian problem

HSK Chain

The core of the project is HSK token

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio