A production-oriented prediction market built on Stellar and Soroban.
StellarPulse is a monorepo containing the full product stack:
- Soroban smart contracts in Rust
- A Next.js frontend with TypeScript
- Deployment scripts for Stellar testnet and mainnet
StellarPulse is a binary prediction market where users bet YES/NO on real-world outcomes. The platform is designed for low-cost, fast on-chain settlement using Stellar assets and Soroban smart contracts.
Key capabilities:
- Binary bets on prediction markets
- Token rewards and leaderboard points
- On-chain referral rewards
- Fee sponsorship and gasless transactions
- Upgradeable contract architecture
contracts/— Soroban smart contracts. Includesprediction_market,ipredict_token,referral_registry, andleaderboard.frontend/— Next.js frontend app with wallet integration, market UI, and leaderboard views.scripts/— deployment and helper scripts for testnet/mainnet workflows.docs/— deployment docs and contract call examples.
- Rust + Cargo
- Soroban toolchain (
soroban+wasm) - Node.js 18+
- Git
git clone https://github.com/Steller-StellarPulse-org/StellarPulse.git
cd StellarPulseStart the frontend:
cd frontend
npm install
npm run devOpen http://localhost:3000 in your browser.
cd contracts
cargo test --workspacecd frontend
npm run test- Update contract logic in
contracts/<crate>/src. - Run
cargo test -p <crate>. - Update frontend code in
frontend/. - Run
npm run testandnpm run lintas needed. - Commit focused changes with clear messages.
Deployment scripts are available under scripts/:
deploy-testnet.sh— testnet deployment flowdeploy-mainnet.sh— mainnet deployment flowcreate-mainnet-markets.sh— create seed markets after mainnet deployment
For contract call examples and deployed addresses, see docs/CONTRACT_CALLS.md.
To confirm whether the project is deployed on Stellar, search the Stellar explorer for contract IDs, account addresses, or transaction hashes.
Recommended explorers:
Search for a known contract ID or account to verify live status on Mainnet or Testnet. If the contract exists, the explorer will show its deployment details and history.
For contract addresses and example calls, see docs/CONTRACT_CALLS.md.
StellarPulse is built as a modular, upgradeable Soroban contract system with a modern frontend.
prediction_market— market creation, bets, resolution, claimsipredict_token— PULSE reward tokenreferral_registry— referral tracking and bonus distributionleaderboard— leaderboards, points, and metrics
- Connects to Stellar wallets
- Uses Soroban RPC for contract interactions
- Displays markets, bets, referral rewards, and leaderboard data
- Supports testnet and mainnet configuration through env variables
Contributions are welcome. Please open issues for bugs or feature requests.
If you plan to force-push or rewrite history, coordinate with project maintainers.
This project is licensed under the MIT License. See LICENSE for details.