Soroban smart contracts for the Vatix prediction market protocol on Stellar.
Core smart contracts powering Vatix prediction markets, written in Rust for the Stellar Soroban platform.
- Market Contract: Market creation, trading, and settlement logic
- Outcome Token: Fungible tokens representing market outcomes
- Resolution Contract: Oracle-based outcome resolution
- Treasury: Fee collection and protocol management
- Language: Rust
- Platform: Stellar Soroban
- Testing: Soroban SDK test utilities
- Build: Cargo
- Binary outcome markets (Yes/No)
- Share minting and trading
- Oracle-based resolution
- Fee distribution
- Market expiration and settlement
Next.js 16 app for prediction-market UI (mock data + Freighter wallet stub).
pnpm install
pnpm dev # http://localhost:3002
pnpm build:web# Prerequisites: Rust toolchain, Soroban CLI
cd contracts/market && cargo buildGenerate 375 onboarding issues (125 per repo) — see scripts/issues/README.md.
pnpm issues:generate
pnpm issues:publish # requires gh auth# Prerequisites
- Rust toolchain
- Soroban CLI
- Node 20+ and pnpm 8+ (for apps/web and issue scripts)
# Build contracts
cargo build Smart contract security is critical. All contracts will undergo:
- Extensive unit testing
- Integration testing
- External audits before mainnet deployment
Contribution guidelines coming soon. For now, check out vatix-docs for project information.
MIT License
Part of the Vatix Protocol