Mpruy

Bet smart with friends: Multi-sig pools + AI risk shields for epic crypto predictions!

Mpruy

Created At

HackMoney 2026

Project Description

SocialBet turns casual group hangs into high-stakes fun without the wipeout drama. Imagine you and your crypto crew predicting wild market moves—like "ETH moons past $5k this quarter?"—then pooling stakes in a trustless multi-sig wallet. No one rugs, no solo heroics: everyone signs off via Gnosis Safe for true shared control. But here's the killer twist: our AI doesn't just hype the moonshots. It crunches real-time volatility (via CoinGecko feeds) and suggests battle-tested, risk-balanced portfolios—diversifying across low-vol stable plays, mid-risk alts, and moon-or-bust bets to slash downside while keeping the thrill alive. Friends invite via shareable links, stake ERC20 test tokens together, watch AI recommendations pop on the dashboard, and resolve automatically with Chainlink oracles for fair, tamper-proof payouts.

How it's Made

Smart Contracts — Solidity + Hardhat wizardry: Deployed a core Pool contract with prediction structs (asset, threshold, expiry) and ERC20 staking (OpenZeppelin mock "BetToken" for approvals/transfers). Each pool spawns a Gnosis Safe proxy (Factory + SDK) for ironclad multi-sig: 2/3 thresholds, execTransaction for group-approved stakes. Resolution? Chainlink AggregatorV3Interface pulls live price oracles (ETH/USD, BTC/USD) on-chain—auto-payout winners via ERC20. Hacky win: Forked mainnet in Hardhat for ultra-fast local EVM testing without waiting on testnet blocks.

Frontend — Next.js rocketship + Tailwind/Shadcn for slick, mobile-friendly UI: wagmi + RainbowKit for seamless wallet connects (MetaMask vibes), SIWE auth, real-time pool dashboards. Shareable invite links + Supabase subscriptions for live member/stake updates—feels like a Telegram group but on-chain.

AI Brain — Gemini AI turbocharged: Backend pulls CoinGecko volatility/prices, crafts prompts like "Diversify $X stake across volatile crypto preds—minimize max drawdown," spits out sexy allocation breakdowns (e.g., "40% stable, 35% mid, 25% high-risk"). Displayed instantly on pool page—zero training, all API magic.

background image mobile

Join the mailing list

Get the latest news and updates

Mpruy | ETHGlobal