filecoin-project / filecoin-project/devgrants

Grant Proposal: RapidPrediction — Verifiable Resolution Evidence on Filecoin

Open
#2,164 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
409
Forks
311
PR merge metrics
No merged PRs in 30d

Description

# Grant Proposal: RapidPrediction — Verifiable Resolution Evidence on Filecoin

**Project Name:** RapidPrediction

**Proposal Category:** `Other` (consumer prediction-market dapp on FVM with Filecoin storage integration)

**Individual or Entity Name:** Individual — Kelvin White

**Proposer:** `RapidPrediction`

**Project Repo(s):** https://github.com/RapidPrediction/RapidPrediction (dual Apache-2.0/MIT licensing already adopted; grant-funded work will be published open-source under this dual license)

**Filecoin ecosystem affiliations:** None. No existing work relationships, investors, or beneficial owners connected to Protocol Labs, Filecoin Foundation, FFDW, or other Protocol Labs Network organizations.

**(Optional) Technical Sponsor:** N/A

**Do you agree to open source all work you do on behalf of this RFP under the MIT/Apache-2 dual-license?:** Yes.

### 1. What is your project and what problem does it solve? (max 100 words)

RapidPrediction is a live Polymarket-style prediction market running entirely on Filecoin: PRED (ERC-20) trades on FEVM mainnet, deposits use USDFC and native FIL, and users sign in with SIWE. Prediction markets have a trust problem — traders cannot independently verify why a market resolved the way it did. We solve it with Filecoin: daily on-chain anchors of our balance ledger and resolution Merkle roots, plus per-market evidence bundles (sources, price feeds, rule commitments) on IPFS via Lighthouse. This grant funds upgrading that evidence layer to provably-stored, fast-retrievable Filecoin services.

Website: https://rapidprediction.org · Verification: https://rapidprediction.org/transparency

### 2. How is Filecoin used in this project?

The entire on-chain layer runs on Filecoin mainnet FEVM (chainId 314; identical deployments on Calibration for rehearsal), accessed via Glif public RPC using web3.py:

- **PRED ERC-20** (platform currency): `0x7De552a29dbd2a64313d0e8529bD4015cf8a9C64`
- **Soulbound achievement badges** (non-transferable): `0x7c995C32e0c46360FA3a84a4ec54361204a5978a`
- **Transparency anchor contract**: `0x70118d52a65D2FfF9b930791413c163Dd1D09dAb` — daily SHA-256 hash chain of the append-only balance ledger + Merkle root of all market resolutions
- **Deposits**: USDFC (Secured Finance) and native FIL via EIP-681 payment URIs; every user gets a custodial FEVM wallet on signup
- **Storage**: Lighthouse (IPFS) holds daily ledger snapshots and per-market resolution evidence bundles; CIDs are published on-chain in the anchors and surfaced in our API and UI
- **Auth**: Sign-In-With-Ethereum (EIP-4361) — one wallet signature creates a trade-capable account (MetaMask supported)

**On-chain activity growth:** every signup mints a custodial wallet, every deposit/withdrawal/badge claim and daily anchor is an FEVM transaction, and the grant work adds Filecoin Pay settlement flows (USDFC) for Warm Storage — recurring, verifiable on-chain activity tied to real product usage.

### 3. How will you improve your project with this grant? What steps will you take to meet this objective?

| Number | Grant Deliverable | Briefly describe how you will meet deliverable objectives | Timeframe (within 3 months) |
| :--- | :------ | :--- | :--- |
| 1. | Evidence bundles on PDP-backed Filecoin Warm Storage | Integrate the Synapse SDK (Node sidecar until the Python SDK ships): USDFC deposit into Filecoin Pay, Warm Storage operator approval, dataset creation, and per-market bundle upload with PieceCIDs stored alongside existing Lighthouse CIDs. Rehearse on Calibration, then ship to mainnet. | Weeks 1–6 |
| 2. | Filecoin Beam fast retrieval for all evidence artifacts | Serve evidence and snapshot links Beam-first (PieceCID) with Lighthouse gateway and ipfs.io fallbacks, so "verify it yourself" links load fast globally without a single-gateway bottleneck. | Weeks 4–8 |
| 3. | Public Developer API exposure + third-party verifier docs | Add evidence CIDs/PieceCIDs and anchor data to our public read-only API (`/api/v1/`), and publish step-by-step verification documentation so anyone can audit resolutions without trusting us. | Weeks 8–12 |
| 4. | Recorded demo + 3–6 month roadmap | Publish a recorded end-to-end demo (trade → resolution → on-chain evidence verification) and a forward roadmap with resource needs. | Week 12 |

### 4. What is the total amount of this grant request?

$10,000 — covering ~12 months of infrastructure (servers, Lighthouse storage, FIL gas float, Warm Storage/Filecoin Pay service budget) and the development work in the table above.

### 5. Adoption, Reach, and Growth Strategies

**Target audience:** (a) prediction-market traders — a mainstream crypto category proven by Polymarket on Ethereum/Polygon, which RapidPrediction brings to Filecoin with a verifiability feature those platforms lack; (b) web3 developers, via our public read-only Developer API and machine-readable docs (llms.txt).

**Current engagement:** the platform is live and open at rapidprediction.org with a mobile-first PWA, one-signature wallet signup (SIWE/MetaMask), automated breaking-news market creation every 15 minutes, and an AI market-analysis agent.

**Onboarding first 10/100 users:** frictionless wallet signup (one signature, no email, signup bonus) is the funnel; first 10 via direct outreach in Filecoin/prediction-market communities and this grant's public build-in-the-open updates; first 100 via SEO topic hubs (breaking-news and calendar pages), embeddable market widgets for external sites, referral rewards, and creator milestone bonuses that pay users for making markets others trade.

### 6. If accepted, do you agree to share monthly project updates in this Github Issue until the project described here is complete?

Yes.

### 7. Does your proposal comply with our Community Code of Conduct?

Yes — reviewed and in compliance.

### 8. Links and submissions

* Not from an event or hackathon — independently built and already live on Filecoin mainnet.
* Live site: https://rapidprediction.org · Transparency verification: https://rapidprediction.org/transparency · Developer API docs: https://rapidprediction.org/developers
* Contracts on Filfox: https://filfox.info/en/address/0x7De552a29dbd2a64313d0e8529bD4015cf8a9C64

### Additional questions:

* **Team:** Kelvin White — rapidprediction.org@gmail.com — GitHub: `RapidPrediction` — role: founder/builder (full-stack + contracts).
* **How did you learn about this grant type program?** The Filecoin Foundation grants page (fil.org/grants) and the devgrants repository while researching the Filecoin ecosystem for our v0.28 migration.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the RapidPrediction repository and the four listed grant deliverables, especially the Synapse SDK sidecar, Filecoin Warm Storage, Beam retrieval, and the /api/v1/ developer API. Done means the proposal's stated integrations, public verifier documentation, recorded demo, and roadmap are delivered; no specific files or tests are identified in this issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, python
Domain
api, blockchain, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.