Prydict
Integra

Documentation

Everything you need to know about RE Predictions on Integra Layer.

Quick start

  1. Get testnet IRL from the faucet (10 IRL + 1,000 tUSDI)
  2. Connect your wallet via MetaMask or Web3Auth social login
  3. Switch to Integra Testnet (chain ID 26218)
  4. Browse markets and buy YES or NO shares
  5. When a market resolves, redeem winning shares for IRL

How prediction markets work

Each market asks a binary question about a real estate outcome. You buy shares that pay out 1 IRL if the answer is YES, or 0 if NO.

Example: "Will SF home price exceed $1.4M by Dec 31?"
If YES shares trade at 0.65 IRL, the market implies a 65% probability.

Prices are set by a Log Market Scoring Rule (LMSR) automated market maker. The more shares you buy, the more the price moves — creating continuous price discovery.

Market lifecycle

1

Created

Market is created with a question, oracle feed, target price, and expiry date. An Asset Passport (ERC-721) is minted.

2

Trading

Users buy and sell YES/NO shares via the LMSR AMM. Shares are IRWA-wrapped ERC-20 tokens tradeable on the GOB.

3

Expired

After the expiry timestamp, no new trades are allowed. The market awaits resolution.

4

Resolved

Anyone calls tryResolve(). The factory checks the oracle price vs the target and settles YES or NO.

5

Redeemed

Winners redeem shares for IRL. Losers' shares are worthless. The settlement pool is distributed proportionally.

Oracle feeds

Markets are resolved using on-chain price data from three sources:

Zillow

Median home prices by ZIP code

FRED

30yr mortgage rates, housing starts

ATTOM

Transaction volume data

The oracle relayer polls these sources every 5 minutes, signs attestations with ECDSA (EIP-191), and submits them on-chain. View live feeds on the Oracle Dashboard.

Integra ecosystem

Asset PassportEach market is an ERC-721 NFT representing the prediction
IRWA TokensYES/NO shares are wrapped as tradeable ERC-20 tokens
Global Order BookSecondary trading of positions across Integra
AgentAuthResolver agent auto-closes markets with minimal permissions
XP SystemEarn XP for every action — trades, creates, redeems, referrals
Web3AuthSocial login (Google, X, email) — no seed phrases needed

XP rewards

Create a market+200 XP
Buy shares+50 XP
Sell shares+25 XP
Redeem winnings+100 XP
List on GOB+75 XP
Daily login+50 XP
Complete daily quest+25–100 XP
Streak bonus+10% per day (max 40%)

Contract addresses (testnet)

RealEstateOracle0xd5A0F1ad...Aa8FE
PredictionMarketFactory0x0583a0C5...6c3FD3
Asset Passport (Mock)0x0029Eefa...5F535
Global Order Book (Mock)0x343Aab75...FbF6f

Network configuration

NetworkIntegra Testnet (integra-testnet-1)
Chain ID26218 (0x666A)
RPChttps://testnet.integralayer.com/evm
WebSocketwss://testnet.integralayer.com/evm/ws
Explorerhttps://blockscout.integralayer.com
Native tokenIRL (18 decimals)
Faucethttps://testnet.integralayer.com

FAQ

Is this real money?

No — this runs on Integra testnet. IRL tokens are free from the faucet.

How are markets resolved?

Automatically via oracle price feeds. When a market expires, anyone can trigger resolution by calling tryResolve() on the factory.

Can I create my own market?

Yes! Go to /create and define your question, target price, oracle feed, and expiry date.

What happens if the oracle has no data?

Markets cannot resolve with stale data. The staleness threshold is 24 hours. If no fresh price is available, resolution is delayed.

Can I trade my position before resolution?

Yes — sell back to the AMM anytime before expiry, or list on the Global Order Book for secondary trading.