Skip to content

twitter-like social media platform that makes you put your money where your mouth is. users post claims, and people argue for or against them and stake crypto on their position. when reality decides, those who were right win money, and those who don't lose.

Notifications You must be signed in to change notification settings

RadonUmar/TruthStake

Repository files navigation

TruthStake 💵

Put your money where your mouth is.

Social media rewards outrage, not accuracy. The loudest voice wins, facts don't matter, and rage bait drives engagement. TruthStake flips the script — misinformation loses value, truth gains it. Every argument becomes a market. Every post has weight.

The Problem

People are addicted to two things: betting and arguing. Current platforms exploit the arguing part but leave money on the table. We're monetizing both.

Traditional social media rewards engagement, not correctness. You can post complete nonsense, get millions of views, and face zero consequences. TruthStake changes that by making truth profitable and conviction expensive.

TruthStake 10² Hacks
Presentation TruthStake 10² Hacks — watch on YouTube

How It Works

1. Make a Claim

Post any factual statement or prediction. "Bitcoin will hit $100k by December 2024." "The Earth is flat." "I'll launch my product next week."

2. Stake Your Conviction

Back your claim with real ETH. Small stakes for casual takes, big stakes for high conviction. No stake? Your opinion has no weight.

3. Others Stake Against You

Disagree? Put money on it. Every reply becomes a Yes/No argument pool. Thousands of micro-bets flow through the platform as people argue.

4. AI Verification + Blockchain Transparency

After the deadline, our system verifies claims using:

  • EigenLayer oracle network for decentralized LLM verification
  • Gemini AI for fact-checking and reasoning
  • Blockchain ledger for immutable, transparent proof
  • Every verification gets a cryptographic SHA-256 token you can audit

5. Winners Take All

Truth wins. False claims forfeit their stake. The winning side claims the entire pool. Your Truth Score adjusts based on your track record. The Truth Score also makes misinformation impossible, people know who tells the truth and who doesn't. Over time your score is immuatable evidence about your character.

Why This Works

Blockchain creates trust. Every verification is transparent, auditable, and immutable. You can see exactly how and when claims were verified.

EigenLayer enables decentralized oracles. Instead of trusting a single AI, we use a decentralized network of verifiers secured by restaked ETH.

SuperMemory API tracks your reputation. We integrate with SuperMemory to build a permanent record of your accuracy. Lie once, wear it forever.

Micro-bets drive massive volume. Traditional betting platforms have a few big bets. We create thousands of tiny, specific arguments. More surface area = more money flowing through the system.

You can't bullshit your way out. In normal debates, you can move goalposts, cherry-pick data, or just disappear. Here? The blockchain remembers everything.

Tech Stack

Smart Contracts

  • Solidity 0.8.20
  • Deployed on Sepolia testnet
  • Stake management and pool distribution
  • Transparent, auditable verification records

Frontend

  • Next.js 14 with App Router
  • TypeScript for type safety
  • Tailwind CSS for UI
  • Wagmi + Viem for Web3 integration
  • Server-side rendering for performance

AI Verification Layer

  • Gemini API for claim verification and reasoning
  • EigenLayer integration (planned) for decentralized oracle consensus
  • Cryptographic proof tokens (SHA-256) for every verification

Reputation System

  • SuperMemory API integration for permanent accuracy tracking
  • Truth scores based on win/loss history
  • Public profiles showing verification track record

Database

  • Prisma ORM with SQLite (migrating to PostgreSQL)
  • User accounts, posts, stakes, and verification tokens
  • Like/reply system for engagement

Vision

A world where:

  • Truth is profitable
  • Conviction comes with a price tag
  • The correct voice wins, not the loudest
  • Your reputation follows you across the internet
  • Arguments generate revenue instead of just rage

Setup

# Install dependencies
npm install

# Setup database
npx prisma generate
npx prisma migrate dev

# Seed demo data (optional)
npx tsx scripts/seed-demo-data.ts

# Add your Gemini API key
echo 'GEMINI_API_KEY="your_key_here"' > .env

# Run dev server
npm run dev

Visit http://localhost:3000

API Endpoints

  • POST /api/auth/signup - Create account
  • POST /api/auth/login - Log in
  • POST /api/posts/create - Create staked claim
  • GET /api/posts/feed - Get all posts
  • POST /api/posts/[id]/like - Like/unlike post
  • POST /api/posts/[id]/reply - Reply to post
  • POST /api/verify/process - Trigger AI verification
  • GET /api/tokens - Get all verification proofs

Verification Tokens

Every AI verification generates a unique SHA-256 cryptographic token:

Token: f98a496f69ed42cc42025d8db3d8000a2a45f0d54e67eb28f7ffd2be9f1a6bc4
Result: FALSE
Verified: Oct 11, 2024 12:34 AM

This creates an immutable, auditable trail. You can verify any claim's resolution on our blockchain explorer-style /tokens page.

Roadmap

  • MVP with AI verification
  • Cryptographic proof tokens
  • Like/reply system
  • Truth score tracking
  • EigenLayer oracle integration
  • SuperMemory reputation API
  • Real blockchain deployment (Sepolia → Mainnet)
  • Twitter bot for thread → debate conversion
  • Mobile app
  • Cross-platform reputation portability

The Bet

People are addicted to betting. They're even more addicted to arguing. We're the first platform to monetize both simultaneously.

Every debate becomes a market. Every claim has liquidity. Truth becomes the ultimate currency.


Built with conviction 🤖

Because if you're not willing to stake on it, why should anyone believe you?

About

twitter-like social media platform that makes you put your money where your mouth is. users post claims, and people argue for or against them and stake crypto on their position. when reality decides, those who were right win money, and those who don't lose.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages