This repository contains the Soroban smart contract workspace for Presago.
The Soroban smart-contract workspace behind Presago, deploying to the Stellar network. It defines how XLM enters a market pool, how positions are reduced, and how resolved or cancelled markets account for payouts and refunds, emitting Stellar events for indexers.
- prediction_market
- presago_token
- referral_registry
- leaderboard
- ipredict_token
The workspace is managed by the root Cargo.toml file.
| Tool | Notes |
|---|---|
| Rust 1.91.0 | pinned in rust-toolchain.toml |
wasm32v1-none target |
rustup target add wasm32v1-none |
| Stellar CLI | only for deployment |
cargo test --workspace- Never commit secrets — keep keys, seed phrases, and
.envfiles out of source control. - Testnet values have no real-world value; treat testnet deployments as experimental.
- Keys never leave the wallet — signing is delegated to the user's Stellar wallet; the app does not store secret keys.
- Report vulnerabilities per
SECURITY.mdwhere present rather than opening a public issue.
MIT — see LICENSE.