LEVR.bet

LEVR.bet

The world's first Decentralized Leveraged Sports Book Exchange bridging DeFi and traditional sports wagering.

4x

Faster page loads via decentralized indexing vs heavy RPC queries.

3x

Reduction in query response times via SQD Cloud during peak live traffic.

5x

Max leverage allowed on high-conviction single-line sports bets.

50%

Of all platform revenue distributed to liquidity providers (sMVP).

"Instead of relying on complex, low-probability parlays to achieve high payouts, users can place high-conviction single-line sports bets utilizing up to 5x leverage."

LEVR.bet

DECENTRALIZED SBEX

Bridging DeFi mechanics with sports betting required implementing an Oracle-Driven Real-Time Liquidation Engine that synchronizes live sports data with smart contracts sub-second, and creating an automated liquidity pool (MVP Vault) where LPs act as the systematic counterparty.

Project UI

Leveraged Betting Engine trading-style interface like a Perpetuals DEX for sports lines.

MVP Vault pooled liquidity acting as the systematic house with revenue sharing.

Real-Time Liquidation high-frequency synching via decentralized data oracles.

Sub-second Indexing utilizes Subsquid for real-time Web2-quality UI performance.

A Hybrid Fee Structure providing mathematically higher Expected Value.

By leveraging EVM-compatible architectures across Avalanche and Monad alongside Subsquid indexing, LEVR.bet achieves sub-second event parsing for complex on-chain events. This eliminates blockchain latency to deliver a real-time betting experience during high-volume events, drastically reducing traditional bookmaker vigorish (+EV).

Project UI
TECHNICAL DEEP DIVE

Implementation Overview

Architecture decisions, engineering challenges, and how they were solved.

SolidityTypeScriptNext.jsSubsquidAvalanche C-ChainMonad EVMHardhatEthers.js
01

Subsquid Indexer over TheGraph

Chose Subsquid for its TypeScript-native SDK, faster sync times, and ability to handle complex multi-contract event decoding needed for real-time leverage position tracking.

02

Hybrid On-chain/Off-chain Architecture

Core betting logic and fund custody live on-chain for trustlessness, while odds computation and UI state are served from an off-chain indexer to achieve Web2-level responsiveness.

03

Oracle-Driven Liquidation Engine

Integrated Chainlink price feeds with custom liquidation bots that monitor leveraged positions and trigger on-chain liquidations within the same block as the settling sports event.

Real-time UI updates for live sports events on a blockchain backend

Built a WebSocket relay layer between the Subsquid indexer and the Next.js frontend. The indexer processes finalized blocks in <500ms, and diffs are pushed to connected clients, achieving near-instant UI updates without polling RPCs.

Preventing MEV exploitation on leveraged bet placements

Implemented a commit-reveal scheme for bet submissions: users commit a hashed bet in transaction 1, then reveal in transaction 2 after a minimum block delay, making front-running economically unviable.

Managing complex DeFi state across two EVM chains

Abstracted chain-specific logic into adapter modules behind a unified interface. Deployment scripts and indexer configs are parameterized per chain, enabling single-codebase deployment to both Avalanche and Monad.

4x faster page loads compared to direct RPC queries via Subsquid indexing

Sub-second event parsing for complex multi-contract interactions

Zero MEV-related losses since launch through commit-reveal protection

Deployed identical contract suite across 2 EVM chains from a single codebase