Loops HousePE
Pearn

Event
NEAR HACKATHON
Links
Team
1 member- RIOwner
Rifky
Overview
Problem: Traditional prediction markets make users lose their entire stake when they predict incorrectly, discouraging participation. Pearn is a no-loss prediction market built on NEAR where users get their principal back regardless of the outcome. Users bet stNEAR (Meta Pool liquid-staked NEAR) on YES or NO, including Polymarket questions mirrored on testnet. Winners split the staking yield generated by the entire market, plus sponsor contributions. How NEAR fits in:
- Solidity smart contracts deployed on Aurora (NEAR's EVM).
- Uses stNEAR staking yield, which increases in NEAR value every epoch.
- Custom on-chain oracle fetches exchange rates directly from Meta Pool through Aurora's cross-contract-call precompile, without off-chain price feeds.
- Gasless transactions using NEAR accounts, without requiring Aurora ETH.
- Automated keeper synchronizes staking rates every 12 hours. Design: Principal is fixed in NEAR at bet time. Winnings are weighted by principal × time remaining, preventing late whales from taking early bettors' yield. Markets use designated resolvers, with guardian protection and permissionless voiding. No owner, no upgrades, and payout logic guarantees solvency. Built with Solidity, Aurora, Meta Pool, Ponder indexer, and automated keeper. Includes unit, integration, fuzz, fork, and end-to-end tests. Live on Aurora Testnet. A demo market successfully completed bet → resolve → claim. Contracts: PearnMarkets: 0x4659f0d99587D4fA396840d982a4215FcFe8a557 Oracle: 0xA8adEFE2C8f0F71a585a73c1259997f593F9e463 Website: https://pearn.site App: https://app.pearn.site Docs: https://docs.pearn.site