尚未收集儲存庫資訊。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗The first zkTLS revenue-backed lending pipeline on Stellar.
Forepay lets a content creator prove their ad revenue privately and turn that proof into a stablecoin advance on Stellar, without sharing account credentials and without posting collateral.
Reviewing this for Instawards? Start at
docs/evidence.md— it answers the SOW §6.2 checklist row by row, with a clickable link for every claim and a plain statement of what each row does not show.
Status: the advance contract is live and source-verified on Stellar testnet (
CCQFL2Q6…I2HS), funded with 105 testnet USDC, and has disbursed and been repaid against verified proofs. The backend and proof relay are running, and the creator front end is merged. What is not done yet is listed in the evidence pack rather than left for a reader to work out.The scope is a 30-day technical demonstration on Stellar testnet, funded through Stellar Instawards (Ambassador Chapter Indonesia). It is not a lending product and uses no real funds.
Content creators earn real, recurring platform revenue (for example Google AdSense payouts), but they cannot borrow against that income on-chain without either:
Existing lending on Stellar points elsewhere: cash-flow and receivables lenders underwrite business invoices, not individual creators, and the largest money market is over-collateralized.
Reclaim's zkTLS verifier is already live on Stellar. Forepay wires a privately proven revenue figure into a lending flow:
verify_proof integration.| Check | Prevents |
|---|---|
| Proof verification (attestor signature) | Forged or tampered proofs |
| Nullifier registry | Reusing one proof for multiple advances (replay) |
| Proof-to-address binding | Someone else using a creator's proof |
| Freshness check | Stale proofs with outdated revenue |
forepay/
├── sc/ # Soroban smart contracts (Rust): advance contract
├── be/ # Reclaim AdSense provider and proof relay
├── fe/ # Creator app (Next.js): connect wallet, prove revenue, accept advance, view repayment
└── landing-page/ # Project landing page (Next.js)
| Week | Focus | Expected output |
|---|---|---|
| 1 | Reclaim verify_proof on testnet, first AdSense provider, repo and CI | One real AdSense revenue proof verified on testnet; reviewed design |
| 2 | Advance contract: verification, nullifier, sizing, USDC disbursement, repayment ledger | A valid proof sizes and disburses a USDC advance on testnet; passing tests |
| 3 | Proof relay, proof-to-address binding, creator front end | A creator completes the full flow through the front end on testnet |
| 4 | End-to-end demo and negative cases, hardening, docs | Full pipeline plus invalid, replayed and stale proofs rejected on testnet; demo video |
Real credit underwriting and default recovery, licensing and KYC, mainnet funds, Blend integration, revenue sources beyond AdSense (YouTube, Twitch, Spotify), and third-party audits. These are planned for later phases.
Two workspaces: pnpm at the root for the TypeScript packages, Cargo in sc/ for the
contracts. Pinned versions and the reasoning are in CLAUDE.md.
Prerequisites: Node ≥ 22, pnpm 12 (corepack enable or npm i -g [email protected]), rustup
(the toolchain in sc/rust-toolchain.toml installs itself), stellar-cli 28.1.0.
# TypeScript: install once at the root, then run any package
pnpm install
pnpm --filter fe dev # creator app
pnpm check # lint + typecheck + test, every package
# Contracts
cd sc
cargo test --workspace --all-features
stellar contract build --package forepay-advance
AGPL-3.0-only. The proof relay depends on @reclaimprotocol/zk-fetch, which is AGPL-3.0,
so Forepay is too — see docs/licensing.md.