A decentralized fantasy sports trading platform built on Stellar, where player performance meets real-time market dynamics.
SportInTrade revolutionizes fantasy sports by introducing dynamic player token trading based on real-world athletic performance. Unlike traditional fantasy leagues with fixed rosters, SportInTrade creates an active marketplace where player values fluctuate in real-time, allowing traders to buy low on underperforming athletes and sell high on breakout stars.
- Dynamic Player Tokens: Each athlete is represented by a tradable token whose value reflects real performance
- Real-Time Market: Buy and sell player tokens 24/7 based on stats, injuries, and market sentiment
- Automated Settlements: Smart contracts handle scoring, payouts, and tournament mechanics
- Multi-Sport Support: Start with major leagues (NFL, NBA, soccer) with plans to expand
- Low-Cost Trading: Stellar's sub-second finality and minimal fees enable micro-transactions
- Transparent Performance: On-chain oracles feed verified stats for fair price discovery
SportInTrade is built on three core layers:
- Soroban Smart Contracts: Tournament logic, prize pools, and automated settlements
- Asset Issuance: Player tokens as Stellar assets with built-in compliance
- DEX Integration: Leverage Stellar's native decentralized exchange for trading
- Real-time sports data integration from trusted providers
- Performance metrics calculation engine
- Price feed oracles for token valuation
- Web and mobile interfaces for trading and portfolio management
- Market analytics and player performance dashboards
- Social features for leagues and competitions
node >= 18.0.0
stellar-cli >= 20.0.0
rust >= 1.70.0 (for Soroban development)# Clone the repository
git clone https://github.com/mimijuwon/sportintrade.git
cd sportintrade
# Install dependencies
npm install
# Set up environment variables
cp .env.example .env
# Run development server
npm run dev# Build Soroban contracts
cd contracts
stellar contract build
# Deploy to Stellar testnet
stellar contract deploy \
--wasm target/wasm32-unknown-unknown/release/sportintrade.wasm \
--network testnet- Browse Players: Explore athletes across different sports and leagues
- Analyze Performance: View real-time stats, trends, and market sentiment
- Trade Tokens: Buy player tokens you believe will increase in value
- Monitor Portfolio: Track your holdings and performance rankings
- Cash Out: Sell tokens or compete in tournaments for prizes
- Player Token Contract: Issues and manages athlete tokens
- Tournament Contract: Handles league creation, scoring, and payouts
- Oracle Contract: Verifies and feeds performance data on-chain
- Market Maker: Provides liquidity and fair pricing mechanisms
- Blockchain: Stellar (Soroban smart contracts)
- Frontend: React + TypeScript + Tailwind CSS
- Backend: Node.js + Express
- Database: PostgreSQL (off-chain caching)
- Data Sources: SportsData.io, ESPN API, The Odds API
- SDK: Stellar SDK for JavaScript
- Core smart contracts (player tokens, basic trading)
- Web interface with wallet integration
- Single sport support (e.g., NBA)
- Testnet deployment
- Mainnet deployment
- Advanced trading features (limit orders, stop-loss)
- Mobile app (iOS/Android)
- Multi-sport expansion
- Tournament and league system
- Social trading features
- API for third-party integrations
- Governance token for platform decisions
We welcome contributions from the community! SportInTrade is participating in the Stellar Drips Wave program.
- Check our Issues for tasks tagged with Wave Points
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
SportInTrade is part of the Stellar Drips Wave program. Contributors earn points for merged PRs:
- 🟢 Low (100 pts): Documentation, minor fixes
- 🟡 Medium (300 pts): Feature implementations, UI components
- 🔴 High (500 pts): Smart contract development, complex features
This project is licensed under the MIT License - see the LICENSE file for details.
- Website: sportintrade.io (coming soon)
- Documentation: docs.sportintrade.io
- Twitter: @sportintrade
- Discord: Join our community
- Drips Wave: View our Wave profile
- Join our Discord server for discussions
- Follow our Twitter for updates
- Read our documentation for detailed guides
SportInTrade is in active development. Use at your own risk. This platform is for entertainment purposes and should not be considered financial advice. Always comply with local regulations regarding sports trading and gaming.
Built with ❤️ on Stellar | Powered by the open-source community