TrueCast
Prediction-market-powered news in your social feed
Created on 1st September 2025
•
TrueCast
Prediction-market-powered news in your social feed
The problem TrueCast solves
One of society’s biggest problems is how do we know what’s true?
As trust in traditional media steadily declines and AI-generated fake news spams the internet,
prediction markets emerge as a new real-time news source powered by collective intelligence.
TrueCast natively integrates the social graph to bring prediction-market powered news to everyone. After all, what's more social than discussing and sharing insights about events and headlines with your friends, whether you're speculating or just following along?
TrueCast brings a new way to monetize content. Whether you have an interesting take about a DeFi protocol, sports team or any news headline, simply embed a related prediction market in your post, provide valuable context to your audience, and earn referral rewards.
With the TrueCast mini app you can speculate on election results, sport games or other events.
Check what your friends are predicting and receive notifications for breaking news.
The TrueCast agent curates interesting events, like price spikes, and posts them on X/Farcaster/Zora, with a headline and illustrative images. Get insights and fact-checks by tagging the agent along with a question in your cast. Answers are backed by web search, social media sentiment, DeFi metrics and prediction markets.
Business model:
Mini app: 1% fee on trades
Newsfeed: Coined on Zora -> users collect their favorite news headlines
Agent API: x402 pay-per-request paywall that is accessible to users and AI agents
Roadmap:
Predict with casts
Aggregate more data sources/prediction markets
Collaboration with other agents that could tap into the API
Challenges I ran into
Mini app:
- Challenges: Complex dependencies with a mix of onchain contract calls and offchain databases, cron jobs and many moving parts
- Base app readiness was difficult to achieve. For example onchainkit transaction modal keeps in pending state indefinitely, so had to be replaced by own wagmi logic. Detection of smart accounts and separate transaction handling for those had to be implemented.
TrueCastAgent:
While CDP AgentKit is a great framework for autonomous onchain agents, it is a relatively new project and was missing crucial features for my specific use case. I implemented those myself and made the following PRs:
- Trades via 0x router #681
- Truemarkets integration #614
- Post embeds on Farcaster and media on X #675
- Safe multi-sig wallet provider #330
- Zora Coins SDK: #704
BetTogether Smart Contract:
Recently launched, Truemarkets already features many interesting markets but liquidity is still ramping up limiting every-day users to participate without suffering from high slippage.
To overcome this, I devised a novel P2P mechanism, where 2 users with opposing view come together to place slippage-free bets (regardless of liquidity), relying on Truemarkets leading oracle solution to finalize the market.
It works as follows:
- Alice wants to bet 100 USDC on YES
- Current market odds: YES (66.7%), NO (33.3%)
- Bob accepts bet by taking opposite position: 50 USDC on NO
- 150 USDC is sent to Truemarkets to mint 150 YES + 150 NO token
- Alice receives 150 YES token worth 100 USDC, Bob 150 NO token worth 50 USDC at time of tx
- Market resolves to eg YES => YES token = 1 USDC, NO token = 0 USDC
- Alice happy, Bob sad
In a traditional web app, it would be difficult to find a counterparty. However, with TrueCast users can seamlessly share the bet offer in their social feed. For example, a user that wants to bet on the outcome of a particular NBA game, could post it to the NBA Farcaster channel to find an opposing view easily.
The implementation of the smart contract was challenging as I had to understand the Truemarkets smart contracts and Uniswap v3's specialised math operations thoroughly, think about possible attack vectors and security measures.
The full flow has been successfully tested on base mainnet, but the smart contract is unaudited and should be considered an experimental proof of concept. It has been fully integrated in the mini app but it currently disabled pending further internal testing.
Smart Contract Address(es)
BetTogether Smart Contract (see above): 0xfddcddc9f9ab2a14cbbcfc7762eb89f5d5de4dea
Other Onchain Proof
- Trades in the mini app are routed through 0x API, not my own smart contracts
- News post are collected through Zora feed, see https://zora.co/@truecast
- Agent address that creates Zora news coins and collects x402 API payments: 0xa8c1a5D3C372C65c04f91f87a43F549619A9483f
Tracks Applied (1)
Top 5 Live Mini Apps
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
