Predict. Trade. Settle. Trustlessly.
A decentralized prediction markets platform built on the Stellar blockchain using Soroban smart contracts — combining the transparency of on-chain settlement with the efficiency of a Central Limit Order Book (CLOB).
SteMart is an open-source, community-governed prediction markets protocol that enables anyone to trade on the outcomes of real-world events — elections, sports, finance, technology, and global news — with near-zero fees, instant finality, and full on-chain settlement.
We believe prediction markets are one of the most powerful tools for aggregating distributed knowledge. SteMart makes them accessible to the world.
| Feature | Benefit |
|---|---|
| ~3-5s finality | Real-time order matching |
| Sub-cent fees | Micro-trades are viable |
| Native DEX primitives | Deep liquidity synergy |
| Soroban smart contracts | Expressive, auditable logic |
| Global reach | Accessible without traditional finance |
- Rust (1.75+) with
wasm32-unknown-unknowntarget - Node.js 18+
- Stellar CLI (
cargo install stellar-cli) - Docker & Docker Compose
git clone https://github.com/Predict-mart/stellar-market
cd stellar-market# Install Rust WASM target
rustup target add wasm32-unknown-unknown
# Install frontend deps
cd frontend && npm install
# Install backend deps
cd ../backend && npm installdocker compose up stellar-nodecd scripts
./deploy-testnet.shcd frontend && npm run devOpen http://localhost:3000
| Layer | Technology |
|---|---|
| Smart Contracts | Rust / Soroban |
| Blockchain | Stellar (Testnet / Mainnet) |
| Backend Indexer | Node.js + TypeScript |
| API | REST + WebSocket |
| Frontend | Next.js + TypeScript |
| Database | PostgreSQL + Redis |
| Infrastructure | Docker, GitHub Actions |
┌─────────────────────────────────────────────┐
│ Frontend (Next.js) │
└──────────────────┬──────────────────────────┘
│ REST / WebSocket
┌──────────────────▼──────────────────────────┐
│ Backend API + Indexer │
│ (Node.js / TypeScript) │
└──────────────────┬──────────────────────────┘
│ Stellar Horizon RPC
┌──────────────────▼──────────────────────────┐
│ Soroban Smart Contracts │
│ MarketFactory | CLOB | Oracle | Settlement │
└──────────────────┬──────────────────────────┘
│
┌──────────▼──────────┐
│ Stellar Network │
└─────────────────────┘
/stellarmarket
├── contracts/ # Soroban smart contracts (Rust)
├── backend/ # Indexer + REST API (TypeScript)
├── frontend/ # Web application (Next.js)
├── docs/ # Architecture, guides, specs
├── scripts/ # Deployment + utility scripts
├── tests/ # Integration + E2E tests
└── deployments/ # Contract addresses + configs
We welcome contributors of all experience levels. See CONTRIBUTING.md to get started.
Browse our open issues — many are labeled good first issue.
Apache 2.0 — see LICENSE