Skip to content

About

Soroban contracts for the Presago prediction market: token and referral registry

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Presago Contracts

CI License: MIT Stellar

This repository contains the Soroban smart contract workspace for Presago.

Table of Contents

How it uses Stellar

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.

Included contracts

  • prediction_market
  • presago_token
  • referral_registry
  • leaderboard
  • ipredict_token

Workspace

The workspace is managed by the root Cargo.toml file.

Prerequisites

Tool Notes
Rust 1.91.0 pinned in rust-toolchain.toml
wasm32v1-none target rustup target add wasm32v1-none
Stellar CLI only for deployment

Development

cargo test --workspace

Security

  • Never commit secrets — keep keys, seed phrases, and .env files 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.md where present rather than opening a public issue.

License

MIT — see LICENSE.

About

Soroban contracts for the Presago prediction market: token and referral registry

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages