Skip to main content

Phases

Four phases, one goal: the first trustless, private Bitcoin lending protocol on Stellar.
Phase 0          Phase 1          Phase 2          Phase 3
Research    ──►  Foundation  ──►  Launch      ──►  Scale
✅ COMPLETE      🔄 CURRENT        Q4 2026          2027

Phase 0 — Research & Validation ✅ COMPLETE

Goal: Understand the technical landscape deeply enough to make confident architecture decisions.
Timeline: June 2026
Status: All 15 research documents produced. All architecture decisions validated.

Key Findings

  • Stateless SPV on Soroban is feasible: ~37–55M instructions per full verification — within the 100M instruction budget
  • Protocol X-Ray (Protocol 26) BN254 host functions reduce ZK verification cost significantly
  • P2WSH locking script design complete and tested on Bitcoin Signet
  • SCF Build Award strategy defined ($92K, Open Track, one-time application)

Research Produced

DocumentKey Finding
Bitcoin SPV on Other Chainssumma-tx is the reference; stateless SPV avoids relayer dependency
Protocol X-Ray Deep DiveCircom + Groth16 on BN254 is production-ready today
Soroban Compute BenchmarksFull deposit fits in one transaction
Bitcoin Locking ScriptP2WSH + CLTV design complete; Taproot in Phase 2
Market Landscape28x growth in BTCfi; Stellar has zero BTCfi competition
Interest Rate ModelKinked curve: Uoptimal=75%, slope2=200%
Liquidation MechanismZK undercollateral proof; 150% min, 120% threshold, 10% bonus
Circom Circuit DesignThree circuits; Groth16 trusted setup required pre-mainnet
Tokenomics & Fee ModelReal-yield model; WRTZ token after $5M TVL
Security Audit StrategyAudit Bank covers costs; Veridise for ZK circuits

Phase 1 — Foundation 🔄 CURRENT

Goal: Working Bitcoin SPV client on Soroban testnet. SCF application submitted. Community presence established.
Timeline: July–September 2026
Milestone: SPV contract verified on testnet + SCF Tranche #0 received

What’s Complete ✅

ItemDetails
bitcoin-spv contract28/28 tests. SHA256d, Merkle proofs, PoW validation. Deployed: CAE5L7BO2GNF7MIZWXB2BTUMLYNIMQZUSWN2BWLZQS7HRHLOUSL6VLWJ
zk-verifier contract18/18 tests. Groth16 BN254 via Protocol 26 host functions. All 3 VKs set. Deployed: CDV45GLXG4AOU6BDZSY5YHHVNGQIAYAPD3PUGXIIIYLIO6V2XGO6SMFV
commitment-tree contract50/50 tests. Full ZK cycle verified on-chain. Deployed: CDFAP3J4WLFZC2N5U66X5EO62POBBIBXOKCCMCM3IRLJNXT73C4IBKA7
private-lend contract50/50 tests. Non-ZK skeleton with kinked interest model. Deployed: CCLH2GJYG3QSHZJI7V7VK3DNMNK3I3QJCECBSFGX3AC6CK4I7EF7ZJ2G
ZK circuits45/45 tests. All 3 circuits compiled (Circom 2.2.3). Dev keys generated.
Relayer service35/35 tests. REST API: GET /spv-proof/:txid. Esplora-backed.
Bitcoin script toolkit48/48 tests. P2WSH generation, PSBT signing, witness assembly.
Bitcoin Signet E2EPath A co-signed release broadcast and accepted. 11932100
ZK testnet E2EFull deposit→borrow→repay cycle on Soroban testnet. 6 transactions. 8daddf52
SCF applicationContent complete: full application, 4-tranche milestone plan, STRIDE threat model
DocumentationComplete rewrite: 22 documents across introduction, products, how-it-works, developers, security, roadmap

What Remains

ItemStatus
Protocol 27 monitoring (July 8, 2026)Monitor testnet; update co-signing key architecture after P27 ships
Push repo publicReady — waiting for community engagement first
Mintlify docs at docs.writz.ioConnect GitHub → publish (mint.json ready)
Demo video (testnet)Record after docs are live
Community engagementDiscord, GitHub discussions, Stellar forum — 2–3 weeks
SCF referralApproach Stellar ecosystem members after community presence established
SCF application submissionAfter above checklist is complete
Trusted setup ceremony — planningIdentify 5+ independent participants

Phase 1 Exit Criteria

  • SPV contract verifies a real Bitcoin transaction on Soroban testnet ✅
  • P2WSH locking and release tested E2E on Bitcoin Signet ✅
  • ZK commitment-tree full cycle verified on Soroban testnet ✅
  • SCF application submitted
  • Trusted setup ceremony planned and participants identified
  • SCF Tranche #0 received (~$9,200)

Phase 2 — Launch (Q4 2026)

Goal: Mainnet launch of PrivateLend v1 with real BTC collateral and ZK-private USDC loans.
Milestone: First real mainnet deposit + first ZK-private USDC loan issued against real BTC

Remaining Work

Protocol 27 integration (July 2026):
  • Update co-signing key architecture using delegate_account_auth
  • Update SDK imports (breaking change in @stellar/stellar-sdk)
ZK circuits — production prep:
  • Trusted setup ceremony: Powers of Tau Phase 2 for all 3 circuits
  • Publish ceremony transcript publicly
  • Recompile liquidation circuit artifacts after usdc_debt signal addition
Audit Bank:
  • Submit intake form (after SCF Build Award received)
  • Readiness review (~4 weeks)
  • Veridise audit: ZK circuits
  • OtterSec/Zellic audit: Soroban contracts
  • Remediate all Critical/High/Medium findings
Frontend (app.writz.io):
  • Deposit flow UI: connect Xverse → P2WSH → SPV proof → ZK commitment
  • Borrow/repay UI with local position decryption
  • Position dashboard (health factor, interest accrued)
  • /stats public dashboard: TVL, utilization, protocol revenue
  • Stellar Wallets Kit integration (Freighter, Lobstr, others)
  • WASM ZK prover in browser (no server-side proving)
Mainnet launch (gated):
  • TVL cap: 50,000(raisedto50,000 (raised to 250K after 30 days clean operation)
  • Whitelist-only for first 30 days
  • Protocol fee: 0% for 90-day bootstrap period
  • Protocol-owned USDC seed: $50,000
  • DeFiLlama submission (day 1)
  • Points program launch (pre-WRTZ)

SCF Tranche Delivery

TrancheAmountDeliverable
#0 (10%)~$9,200Phase 1 milestone: SPV on testnet
#1 (20%)~$18,400commitment-tree on testnet with ZK E2E
#2 (30%)~$27,600Circuits + trusted setup + frontend on testnet
#3 (40%)~$36,800Mainnet live, first real deposit

Phase 2 Exit Criteria

  • Mainnet deployment with passing Audit Bank audit (0 critical findings)
  • 10+ real deposits processed with no security incidents
  • $50K TVL cap reached
  • TVL cap raised to $250K after 30 days clean operation
  • Open-source SPV SDK published (GitHub + npm)
  • DeFiLlama listing live
  • All SCF tranches delivered

Phase 3 — Scale (2027)

Goal: $10M TVL, WRTZ token launch, full product suite, Stellar ecosystem alliance.
Timeline: Q1–Q4 2027

Product Expansion

Dark Swap (Q2 2027): Private BTC-to-USDC conversions using the existing SPV infrastructure. AMM-style USDC liquidity. No exchange account, no visible order book. BTC Savings (Q3 2027): BTC collateral + automated USDC yield routing to Blend, Phoenix DEX, and other vetted Stellar protocols. ZK Proof of Reserve — B2B (Q3 2027): Enterprise attestation product. Direct sales. Target: 5 paying customers by end of 2027. See ZK Proof of Reserve.

TVL Progression

QuarterTVL Cap
Q1 2027$1M
Q2 2027$5M
Q3 2027$20M
Q4 2027Remove cap

WRTZ Token (Q2–Q3 2027)

Launch criteria: $5M TVL sustained 60+ days, 500+ active wallets, one completed Audit Bank audit.
Structure: Fair IDO / Liquidity Bootstrapping Pool — no VC cliff dumps.
Real-yield mechanics: Protocol revenue used to buy and burn WRTZ.
Governance: TVL cap increases, fee adjustments, insurance fund payouts, new product whitelisting.

Stellar Ecosystem Alliance

  • Contribute Writz SPV SDK as Stellar ecosystem infrastructure
  • Propose a SEP standard for Bitcoin SPV on Stellar
  • Co-market with SDF as the flagship BTCfi protocol on Stellar
  • Apply for SCF Growth Hack Program (after 60+ days mainnet, completed audit, no active SDF grants)
  • Apply for SCF Liquidity Award (after $250K TVL sustained 7 days)

Wallet Integrations

Target integrations with demonstrated traction and open SDK:
  • Xverse: BTC DeFi section with PrivateLend
  • Freighter: BTC collateral option in the lending section
  • Lobstr: BTC yield product in the savings section

Institutional BD

  • Direct outreach to crypto hedge funds, family offices, BTC mining companies
  • Compliance documentation package (ASP attestations, audit reports, regulatory positioning)
  • Target: 3–5 institutional deposits of $100K+ each

Success Metrics

PhaseMetricTarget
Phase 1SPV verifications on testnet100+
Phase 1SCF application submitted
Phase 2Mainnet TVL (day 30)$50K
Phase 2Mainnet TVL (day 90)$250K
Phase 2Audit completed (0 critical findings)
Phase 2DeFiLlama listed
Phase 3TVL$5M+
Phase 3Monthly protocol revenue$15K+
Phase 3Protocols using SPV SDK3+
Phase 3Proof of Reserve customers5+
Phase 3WRTZ token launched

See the full vision: Vision →