Skip to content

Repository files navigation

StellarAid Contract

Rust workspace for StellarAid Soroban smart contracts.

Workspace Structure

contracts/
  donation/     # Donation smart contract
  withdrawal/   # Withdrawal smart contract
  campaign/     # Campaign smart contract
sdk/            # Shared SDK (Horizon client, Soroban RPC, keypair utils, config)
worker/         # Background worker binary
scripts/        # Deployment scripts
docs/           # Documentation

Prerequisites

  • Rust toolchain (see rust-toolchain.toml)
  • wasm32 target: rustup target add wasm32-unknown-unknown
  • Soroban CLI: cargo install --locked soroban-cli

Quick Start

cp .env.example .env
make build
make test

See docs/DEPLOY.md for deployment instructions.

Prerequisites

  • Rust toolchain (stable): https://rustup.rs
  • wasm32 target: rustup target add wasm32-unknown-unknown
  • Soroban CLI: cargo install --locked soroban-cli --features opt
  • Verify: soroban --version

Configure Stellar Testnet

soroban network add --global testnet \
  --rpc-url https://soroban-testnet.stellar.org \
  --network-passphrase "Test SDF Network ; September 2015"

About

StellarAid is a blockchain-based crowdfunding platform that leverages the Stellar network to facilitate transparent, secure, and efficient fundraising for social impact projects. The platform will enable project creators to raise funds in various currencies, including XLM and other assets issued on the Stellar network.

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages