InterPredict Documentation

Developer & User Guide — Regenerated from Smart Contract Implementation

Quick Start Guide

1. Connect Your Web3 Wallet

Connect your browser wallet to the Interlink Testnet (Chain ID: 19042026). The dApp will automatically prompt you to switch networks.

2. Browse or Create Markets

Browse existing prediction markets or create your own. Community markets cost 11 tITL (1 fee + 10 seed). Team markets cost 10 tITL.

3. Trade on Outcomes

Buy shares in your chosen outcomes. Prices adjust dynamically based on the pari-mutuel pool ratio. Minimum trade: 0.001 tITL.

4. Claim Winnings

After market finalization, winning positions can be claimed. Creators can claim fees and seed liquidity. DEC members can claim rewards.

Documentation Sections

Getting Started

  • • Connect wallet to Interlink Testnet (Chain ID: 19042026)
  • • Get tITL from the Interlink faucet
  • • Browse markets on the dApp Portal
  • • Configure environment variables for development

Market Creation

  • • Community: 11 tITL, requires DEC approval
  • • Team: 10 tITL, bypasses curation
  • • 2-4 outcomes, 18 categories
  • • Optional IPFS image upload via Pinata

Trading

  • • Pari-mutuel pricing model
  • • 0.5% trading fee
  • • 5% settlement fee on winnings
  • • Minimum trade: 0.001 tITL

Resolution

  • • DEC resolution voting (3h window)
  • • Admin verification layer
  • • Claim winnings, creator fees, seed
  • • DEC rewards based on reputation

API & Contract Reference

API Endpoints

  • • GET /api/markets — All market data
  • • GET /api/dec-membership — DEC status
  • • GET/POST/DELETE /api/dec-requests
  • • GET /api/keeper — Automated transitions
  • • POST /api/upload-thumbnail — IPFS upload

Contract Functions

  • • pM() — Propose community market
  • • cTM() — Create team market
  • • bO() — Buy outcome shares
  • • vOP() / vOR() — DEC voting
  • • cW() / cCF() / cCS() / cDR() — Claims