Skip to content

High-performance decentralized prediction markets protocol built on Solana. Features instant settlement, automated market making (AMM), and oracle integration for trustless resolution. Production-ready smart contracts using Anchor framework.

License

Notifications You must be signed in to change notification settings

polyport-dev/polyport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

19 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

PolyPort - Decentralized Prediction Markets Platform

Solana TypeScript Anchor License

๐Ÿš€ Overview

PolyPort is a next-generation decentralized prediction markets platform built on Solana, offering lightning-fast settlement, automated market making, and seamless user experience. Our platform enables users to trade on the outcome of real-world events with instant finality and minimal fees.

โœจ Core Features

High Performance

  • โšก Sub-second transactions on Solana blockchain
  • ๐Ÿ’ฐ Minimal fees - typically under $0.01 per transaction
  • ๐Ÿ“ˆ High throughput - capable of handling 65,000+ TPS

Advanced Market Mechanics

  • ๐Ÿ”ฎ Binary & categorical markets for diverse predictions
  • ๐Ÿ’ง Automated Market Maker (AMM) with CPMM algorithm
  • ๐Ÿ›๏ธ Decentralized oracle integration for trustless resolution
  • ๐Ÿ“Š Real-time price discovery with continuous liquidity

User-Centric Design

  • ๐ŸŽฏ Solana Actions & Blinks integration for seamless sharing
  • ๐Ÿ‘› Multi-wallet support with secure authentication
  • ๐Ÿ“ฑ Mobile-responsive Progressive Web App (PWA)
  • ๐Ÿ”’ Non-custodial - users maintain full control

๐Ÿ›  Technical Architecture

Smart Contracts

  • Program ID: FT3tQxWs7Z428ALt4EVwyyrKE1DYdsd1kcXWcBuKnmdM
  • Framework: Anchor (Rust)
  • Network: Solana Mainnet (Live since Q3 2025)

Tech Stack

Blockchain Layer:
โ”œโ”€โ”€ Solana (High-performance blockchain)
โ”œโ”€โ”€ Anchor Framework (Smart contract development)
โ””โ”€โ”€ Web3.js/Solana-Web3 (Blockchain interaction)

Backend Services:
โ”œโ”€โ”€ Node.js + TypeScript (API server)
โ”œโ”€โ”€ Supabase (Database & real-time subscriptions)
โ”œโ”€โ”€ Inngest (Event-driven automation)
โ””โ”€โ”€ Pyth Network (Price feeds)

Frontend:
โ”œโ”€โ”€ Next.js 15 (React framework)
โ”œโ”€โ”€ TailwindCSS (Styling)
โ”œโ”€โ”€ Wallet Adapter (Wallet integration)
โ””โ”€โ”€ SWR (Data fetching)

๐Ÿ“š Documentation

๐Ÿ”ง Quick Start

Prerequisites

  • Node.js 18+
  • Solana CLI tools
  • Rust 1.70+ (for smart contract development)

Installation

# Clone the repository
git clone https://github.com/polyport-dev/polyport-showcase.git
cd polyport-showcase

# Install dependencies
npm install

# View example integrations
cd examples
npm run demo

๐Ÿค Integration Examples

Create a Market

import { PolyPortSDK } from '@polyport/sdk';

const sdk = new PolyPortSDK({
  network: 'mainnet-beta',
  rpcUrl: 'YOUR_RPC_URL'
});

// Create a binary prediction market
const market = await sdk.createMarket({
  title: "Will BTC reach $200k by Dec 2025?",
  marketType: 'BINARY',
  cutoffTime: new Date('2025-12-31'),
  resolutionSource: 'PYTH_ORACLE',
  initialLiquidity: 1000 // in SOL
});

Place a Position

// Buy YES shares
const position = await sdk.buyShares({
  marketId: 'market_123',
  outcome: 'YES',
  amount: 100, // in SOL
  slippage: 0.01 // 1% slippage tolerance
});

๐ŸŽฏ Use Cases

  • Sports Betting - Predict game outcomes, player performance
  • Financial Markets - Trade on price movements, economic indicators
  • Political Events - Elections, policy decisions, geopolitical events
  • Entertainment - Award shows, box office performance
  • Crypto Markets - Token prices, protocol metrics, DeFi yields

๐Ÿ—บ Roadmap

Q1-Q2 2025 (Completed)

  • Smart contract development (Anchor framework)
  • Devnet deployment and testing
  • Core AMM implementation (CPMM)
  • Solana Actions & Blinks integration
  • Basic oracle integration (Pyth Network)

Q3 2025 (Completed)

  • Mainnet launch (July 2025)
  • Automated settlement system (SportMonks + API-SPORTS)
  • Pyth price feed automation
  • Worker infrastructure for auto-activation
  • Mobile-responsive PWA

Q4 2025 (Current - October 6th)

  • Automated sports settlement with dual-oracle consensus
  • Enhanced Pyth settlement with staleness checks
  • Governance token ($POLYPORT) launch
  • Meteora integration for self-funded liquidity
  • Kamino yield integration - 5% APY on deposits (Testing phase)
  • Jupiter swap aggregation - bet with any token (Integration started)
  • 4-way fee distribution system (Implementation in progress)

Q1 2026 (Planned)

  • Full Meteora pools (YES/wSOL + NO/wSOL)
  • Complete Jupiter integration - USDC/BONK/JUP support
  • Kamino vault optimization
  • Cross-chain bridges (Ethereum, Base)
  • Institutional API & SDK

๐Ÿ‘ฅ Team

Our team consists of experienced developers and traders from leading DeFi protocols and traditional finance institutions. We combine deep technical expertise with market knowledge to build the future of prediction markets.

๐Ÿ“ฌ Contact

For partnership inquiries, integration support, or investment opportunities, please reach out to ops@polyport.app.


This repository contains public interfaces and documentation. For access to the full platform SDK and private beta, please contact our team.

ยฉ 2025 PolyPort. All rights reserved.

About

High-performance decentralized prediction markets protocol built on Solana. Features instant settlement, automated market making (AMM), and oracle integration for trustless resolution. Production-ready smart contracts using Anchor framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •