Skip to content

DivyanshGoel20/SafeBet

Repository files navigation

SafeBet

The lossless prediction market powered by Aave, Avail, Pyth, and Blockscout.


💡 What is SafeBet?

SafeBet is a lossless prediction market where users can bet on crypto price outcomes without ever losing their money.
All user funds are deposited into Aave to earn yield while the market is live.
When the market resolves using Pyth’s real-time price feeds, only the interest generated is distributed to the winners — while everyone gets their initial USDC back.

It’s risk-free, transparent, and yield-powered speculation built on DeFi.


⚙️ How It Works

  1. Admin creates a market (e.g., “Will ETH ≥ $3,000 on Oct 30?”)
  2. Users place bets in USDC (Yes/No)
  3. The contract deposits all funds into Aave to earn interest
  4. Pyth provides verified price data to resolve the market
  5. Winners share the interest earned, and everyone gets their principal back

🌉 Cross-Chain Betting with Avail

Avail Nexus SDK allows users to place bets using balances from other chains, bridging liquidity to Arbitrum seamlessly.


🔍 Transparency with Blockscout

Integrated with Blockscout SDK, every market and payout is verifiable on-chain, ensuring total transparency and user trust.


🧠 Built With

  • Aave Protocol — Generates interest on pooled USDC
  • Pyth Network — Real-time price feeds for market resolution
  • Avail Nexus SDK — Cross-chain betting and unified balances
  • Blockscout SDK — On-chain transparency and tracking
  • Solidity & Arbitrum — Smart contracts and fast execution

🚀 The Vision

SafeBet reimagines prediction markets — no losses, no fear, only fair play.
A DeFi-native platform where your money works for you, even when you’re just betting on outcomes.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors