ExtraLife

No-loss prediction markets powered by DeFi yield—bet on outcomes, never lose your principal.

Visit Repo
ExtraLife banner

About

ExtraLife is a decentralized, no-loss prediction market protocol that lets users speculate on real-world outcomes without risking their original funds. Instead of traditional betting, all user deposits are pooled into an ERC-4626 vault and supplied to Aave V3 to generate yield. Participants vote on outcomes using only the interest earned by the pool.

When a market resolves, every participant, winners and losers alike, withdraws 100% of their principal. The generated yield is then distributed: 60% to users who predicted the correct outcome and 40% to the market creator, incentivizing high-quality, engaging prediction questions. Rewards are time-weighted, encouraging early participation and preventing last-minute whale manipulation.

ExtraLife integrates ENS for human-readable identities and profiles, and LI.FI for seamless cross-chain deposits, making participation easy from any EVM chain. The result is a fair, capital-efficient prediction market where users can engage, speculate, and earn without ever losing their money.

How it's made

ExtraLife was built on top of Scaffold-ETH 2, which served as the foundation for rapid full-stack Ethereum development and clean separation between contracts and frontend. On the smart contract side, we used Solidity v0.8.20 with Foundry, implementing an ERC-4626 compliant NoLossVault that routes LINK deposits into Aave V3 on Base Sepolia to generate yield while preserving principal. Inflation-attack mitigation was handled via dead-share minting at vault initialization. A separate MarketController contract manages pool creation, voting, time-weighted stake accounting, and yield distribution.

The frontend was built with Next.js 15, TypeScript, Tailwind CSS, and DaisyUI, leveraging Scaffold-ETH’s app structure and utilities. Wallet connections and contract interactions use wagmi, viem, and RainbowKit. ENS was integrated using wagmi hooks to resolve names, avatars, and text records, improving UX by replacing raw addresses with human-readable identities. LI.FI was integrated via its widget to enable cross-chain swaps and bridges directly into the vault token, allowing users to fund positions from any EVM chain.

Notable implementation details include time-weighted yield calculations to prevent last-minute whale manipulation and real-time yield previews in the UI using live Aave APY data.

Prizes

  • ENS · Integrate ENS · Integrate ENS

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

DormantLast push 299 days ago

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

NoCap-Lottery

A no-loss, cross-chain prize savings protocol where users earn chances to win using real DeFi yield.

HackMoney 2026Prize winner Shipping#defi#payments

Anti Swan

An ERC-4626 tokenized vault designed to protect capital by betting against black swan events (P < 5%). Using market data, Kelly Criterion, and advanced strategies, we generate consistent yield while minimizing risk in prediction markets. Protect, profit, repeat.