Private cash advance for small shops, repaid from sales. ZK passes, World ID, Uniswap v4 hook.
DripMoney is a private merchant cash advance for small shops in dollar-short economies.
Prove the business, not the person. The merchant proves with zkTLS that their seller dashboard shows a country, a revenue band and 6+ months of activity. That becomes a Business Pass, a Noir ZK credential. We never ask for a name, phone number or contacts.
Get paid in stablecoins. Customers scan the shop's QR and pay in USDC(Sepolia). While an advance is active, x% of each sale goes toward repayment; without an advance there is no holdback.
An agent draws stock on credit. World ID comes first: the merchant proves they are a unique human who is not banned and has no open advance. They set limits (max per advance, max per month, recipient, expiry) and delegate once with a World Agent Pass. The cash-flow agent then draws small advances to pay suppliers, and the AdvanceBook contract enforces the mandate limits and tier caps onchain. AI (an Underwriter plus an independent Critic) proposes offers; the contract decides.
Repay through sales, build a private record. Repayment comes out of the x% split automatically. The fee is 0.5% per week while principal remains, capped at 3%. Falling behind the 1%-per-week minimum adds a late fee paid to the reserve. After 30 days anyone can write the advance off, and the human behind it is banned at the World ID step. A fully repaid advance mints a Standing Pass, a Noir ZK credential that raises the merchant's limit without revealing their history.
Lenders fund it. Fees split 40% senior vault, 30% DripCoin (DRIP), 20% reserve, 10% protocol. DRIP is the junior first-loss ERC-4626 tranche and trades on a Uniswap v4 pool whose RiskHook takes a 0.3% USDC-side fee (75% to the reserve). A Risk agent reads the pool TWAP and write-offs and can only lower limits.
Privacy: ZK passes are generated in the browser and only proofs reach the chain. Browser reads go through Anon-RPC (Nox) by default. World ID is kept only as an HMAC on our server; nothing about the person goes onchain. The shop pseudonym's sales, repayments and advance sizes are public.
Monorepo (pnpm + Turbo): Next.js web app, @repo/sdk, Foundry contracts, Noir circuits, a Python agents service and a zkTLS issuer.
Contracts (Solidity, Foundry, 152 tests), live on Sepolia: AdvanceBook (advances, the 92/8 payment split, fees, late fees, write-off with a 5 USDC bounty, mandate limits via Policy), BusinessPassRegistry, SeniorVault and JuniorVault/DripCoin (ERC-4626 tranches, 20% junior cover checked on every draw), and RiskHook, a Uniswap v4 hook on the DRIP/USDC pool. The hook charges a 0.3% fee only when the unspecified currency is USDC, flushes 75% to the reserve and 25% to treasury, and keeps a TWAP the Risk agent reads. Non-upgradeable, no pause; anyone can call pay, repay, writeOff and flush.
ZK: two Noir circuits (business_pass, standing_pass) proven in the browser with bb.js and verified onchain by Honk verifiers. Poseidon2 (zemse) is shared between Noir and Solidity so the Standing Pass tree matches. /proof decodes the onchain proofs, txs and AI decisions.
World: real IDKit verification comes first (unique human, not banned, no open advance; the nullifier is kept only as an HMAC server-side), then a one-time World Agent Pass delegation with mandate limits. The agent calls drawByMandate with no per-draw approval. Test mode stays as a fallback and for the unattended simulator.
Agents (Python, 406 tests, on EC2, Amazon Bedrock): the Underwriter (Mistral Large 3) proposes; the Critic (Kimi K2.5, a different model family that never sees the Underwriter's reasoning) checks for wash trading. Output is schema-validated, clamped by code against live onchain limits, then EIP-712 signed; the contract checks it again. The Risk agent (Qwen3 235B) can only lower caps, with a deterministic -25% fallback. A keeper and relayer handle writes.
Business Pass issuer: a zkTLS (Reclaim) attestation of the seller dashboard becomes a Business Pass. The demo uses a mock attestor and an unbranded demo seller portal; the real Reclaim path is built and tested.
Anon-RPC: every browser read goes through Nox by default (26/26 SDK reads routed in a Chrome measurement). Backend reads use Tenderly; writes are public transactions.
Hacky bits: a public-devnet simulator that fast-forwards time to show defaulter, late fee, write-off, DRIP absorbing the loss, the Risk agent cutting caps and the World ID ban in under a minute; MockUSDC because Circle's Sepolia USDC can't be minted freely.

