ChainWhistle - Decentralised Whistleblower Protect
Stake. Validate. Publish. Get paid. No middlemen.
Created on 12th April 2026
•
ChainWhistle - Decentralised Whistleblower Protect
Stake. Validate. Publish. Get paid. No middlemen.
The problem ChainWhistle - Decentralised Whistleblower Protect solves
Whistleblowers carry enormous risk - retaliation, prosecution, and career destruction - with zero financial reward for the public value they create. Existing platforms (SecureDrop, Signal tips) solve the delivery problem but leave the economic and trust problems entirely unsolved:
- No anonymity guarantees: centralised platforms can be subpoenaed, hacked, or shut down.
- No financial incentive: leaking information of massive public value earns the source nothing.
- No validator accountability: there's no skin-in-the-game for the people deciding if a claim is real.
- No outlet accountability: a news org can win exclusive rights to a story and simply never publish it.
ChainWhistle solves all four by replacing platform trust with economic stakes and on-chain rules:
- Whistleblowers submit pseudonymously (wallet = identity). No registration, no email, no IP linkage at the protocol level. Claim content lives on IPFS; only CIDs hit the chain.
- Validator Orgs post a 1 ETH stake and vote on claim authenticity via commit-reveal. If their verdict is later contradicted by the oracle cycle, 5% of their stake is slashed.
- News Outlets post a 2 ETH stake and bid ETH for the right to break a verified story. If they win the bid but never publish, they are permanently blacklisted and their stake is seized.
- Oracle Nodes post a 0.5 ETH stake. Five are randomly selected per claim to verify actual publication. Minority voters are slashed 10% to deter collusion.
On the happy path, the winning bid escrow is split: 60% to the whistleblower, 30% to validator orgs who voted correctly, 10% to the oracle majority. Bad behaviour is economically irrational, not merely unethical.
Challenges we ran into
Alchemy eth_getLogs rate limits
Our LLM server scans blocks on startup to catch missed events. Alchemy's free tier rejects any eth_getLogs call spanning more than a handful of blocks with block range is too wide. Fixed by chunking the scan into configurable 10-block batches, accumulating events across all chunks before processing.
Keeping the Pinata JWT server-side
Uploading to IPFS directly from the browser would expose the Pinata JWT in the client bundle. Proxied all uploads through the Express server (POST /upload, POST /upload-text) so the JWT never leaves server/.env.
Commit-reveal salt persistence
Validator orgs must retain their salt for up to 3 days between commit and reveal. A browser clear makes it unrecoverable. Solved by displaying the salt as a copyable hex string immediately after commit with a persistent warning banner until reveal is confirmed.
7-state claim lifecycle in React
Managing 7 on-chain states × 4 time-window deadlines in JSX conditionals became unmaintainable fast. Refactored into a single getAvailableActions(claim, userRole, now) utility that returns permitted actions for a given snapshot, making the UI fully declarative.
Technologies used
