Skip to content

Talent-Index/setiMVP

Repository files navigation

🔮 seti — Sui-Native Prediction Markets

Status Build License

Create, trade, and resolve markets on real-world events — secured by the Sui blockchain

🌟 Overview

Seti is a professional-grade prediction market platform that lets anyone launch a market, add liquidity, and trade YES/NO outcomes with transparent on-chain settlement. Built for speed and usability on Sui, it features real-time pricing, wallet-native flows, and a clean, responsive interface.

🚀 Live Demo: https://seti-mvp.vercel.app/

✨ Key Features

🏪 Marketplace & Discovery

  • Browse live markets across multiple categories (Crypto, Stocks, Sports, Politics, Tech, and more)
  • Real-time pricing for YES/NO outcomes with dynamic liquidity
  • Structured analytics: 24h volume, total liquidity, and performance signals

📊 Market Analytics

  • 24h volume tracking and market-level liquidity metrics
  • Performance visualization to understand price momentum and risk

🧰 Market Creation

  • One-click launch of markets with question, description, end time, category, image, and tags
  • Initial liquidity supplied in SUI with on-chain settlement

💧 Liquidity & Trading

  • Add liquidity to deepen markets and earn fees
  • Fast trades with clear pre-trade payout and risk visibility

🛠️ Tech Stack

Frontend & Framework

TypeScript React Vite

Styling & UI

TailwindCSS shadcn/ui Radix

Blockchain & Data

Sui Mysten dapp-kit React Query

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn
  • A Sui-compatible wallet (Sui Wallet, Suiet)

Installation

# Clone repository
git clone https://github.com/Talent-Index/setiMVP.git
cd seti

# Install dependencies
npm install

# Configure environment
cp .env.example .env.local

# Start development server
npm run dev

Environment Setup

Edit .env.local:

VITE_SUI_PACKAGE_ID=0x0
VITE_NETWORK=devnet
VITE_SUI_RPC_URL=https://fullnode.devnet.sui.io:443

🏗️ Architecture

Project Structure

src/
├── components/           # UI components (shadcn/ui)
├── hooks/               # Blockchain interactions
├── pages/               # Page components  
├── types/               # Type definitions
├── App.tsx              # Main app component
└── main.tsx             # Entry point
contract/
└── sources/polymarket.move  # Move smart contracts

Smart Contract Functions

Function Purpose Parameters
create_market Initialize new market question, description, end_time, category, image_url, tags, initial_liquidity
get_market_info Retrieve market details market object reference
place_prediction Trade on market outcomes market_id, outcome, amount
add_liquidity Provide market liquidity market_id, liquidity_amount
resolve_market Resolve completed markets market_id, winning_outcome
withdraw_liquidity Remove liquidity market_id, amount
claim_winnings Claim payouts market_id

📱 User Guide

Trading Workflow

  1. Connect Wallet using the header connection
  2. Browse Markets by category and liquidity
  3. Place Prediction with YES/NO outcomes
  4. Manage Portfolio and claim winnings

Market Creation

  1. Prepare Details: question, description, end time, category
  2. Set Parameters: image, tags, initial liquidity
  3. Launch Market: deploy to Sui blockchain

Market Categories

Category Examples
Crypto BTC price, L2 adoption
Stocks Earnings beats, price targets
Sports Match outcomes, standings
Politics Election winners, bills passing
Technology Feature releases, company metrics
Economics GDP, CPI, employment
Space Launches, missions
Other Culture, entertainment

🚢 Deployment

Build for Production

npm run build

Deploy to Vercel

npm i -g vercel
vercel --prod

Environment Variables

Required:

VITE_SUI_PACKAGE_ID=0x0
VITE_NETWORK=devnet

Optional:

VITE_SUI_RPC_URL=https://fullnode.devnet.sui.io:443
VITE_APP_NAME=seti
VITE_APP_VERSION=1.0.0

🎯 Core Features

Technical Architecture

  • TypeScript-first implementation for strong typing
  • Custom React hooks for blockchain interactions
  • Modular components with clean separation of concerns
  • Robust error handling and user-friendly feedback

Wallet Integration

  • Sui wallet integration via @mysten/dapp-kit
  • Session persistence and smooth signing flows

User Experience

  • Modern, responsive UI powered by Tailwind and shadcn/ui
  • Accessible components with Radix primitives

📸 Platform Preview

Marketplace Overview

Marketplace

Market Creation

Market Creation

Trading Interface

Trading

Dashboard

Dashboard

👥 Team

Name Role Contact
Mary Njoroge Frontend Developer marrianapeters00@gmail.com
Graham Full-stack Engineer graham@gmail.com
John Mokaya Frontend Developer mokayaj857@gmail.com
Peter Njuguna Smart Contract Developer peternjuguna@gmail.com
Iano Smart Contract Developer inc3099@gmail.com

📄 License

MIT — see LICENSE for details.


Built with ❤️ for the Sui ecosystem

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages