Milestone escrow with verifiable KPIs on Arbitrum. A funder locks the full grant once — each tranche pays out automatically when its on-chain proof checks out, and refunds itself if the deadline passes unmet.
Read directly from the MilestoneVault contract — amounts, KPI progress and statuses refresh from chain state, never hardcoded.
Connect a wallet on Arbitrum Sepolia, mint free test mUSDG, and create a real milestone grant. Every action below sends a real transaction and refreshes from chain.
MockUSDG is a testnet demo token (6 decimals) — not real USDG and worth nothing. Mint 1,000 free mUSDG to your connected wallet.
Need testnet ETH for gas? Get free Arbitrum Sepolia ETH from a public faucet, then switch your wallet to chain 421614.
On each grant card above, Release appears when checkKpi returns true on-chain, Refund when the deadline has passed with the KPI unmet, and Attest when your connected wallet is that milestone's verifier. Buttons stay disabled until a wallet is connected.
Funds are pulled from your wallet into escrow in the same flow (approve → createGrant). Add 1–3 milestones, each with its own verifiable KPI.
Three steps, zero trust in screenshots or spreadsheets — the contract itself verifies every milestone.
The funder creates a grant and escrows the full amount in MilestoneVault, split into milestone tranches — each with a KPI type, target, deadline and label.
The beneficiary's progress is checked on-chain: a token balance, a contract's call count, a timelock, or a named verifier's attestation with an evidence hash.
Anyone can call releaseTranche once the KPI passes — the contract re-checks and pays. Miss the deadline and the tranche refunds to the funder instead.
| KPI type | What the contract checks | Good for |
|---|---|---|
| TIMELOCK | Current block time ≥ target timestamp | Vesting-style tranches, kickoff payments |
| BALANCE | Beneficiary's token balance ≥ target amount | Treasury / liquidity buffers, matching funds |
| CONTRACT_CALLS | A KPI contract's count() ≥ target | Usage milestones, product actions, on-chain activity |
| ATTESTATION | Named verifier attested with an evidence hash | Deliverables judged off-chain (launch, docs, audit) |
The 18 seed transactions that deployed the contracts and ran the three demo grants end-to-end. Every link opens the real transaction on Arbiscan.
| # | Transaction | Hash |
|---|