Soroban smart contracts for automated budgets, savings goals, and spending limits on Stellar Smart contracts powering StellarSpend financial logic on the Stellar blockchain using Soroban.
StellarSpend Contracts are a collection of Soroban smart contracts written in Rust that power the core financial logic of the StellarSpend ecosystem. These contracts enable secure, transparent, and low-cost financial interactions for users, including budgeting, savings, and on-chain data verification.
They are designed to support financial inclusion, self-sovereign identity, and trustless execution for unbanked and underbanked users globally.
- On-Chain Budget Logic — Enforces spending limits and budget rules
- Savings Vaults — Smart-contract–based savings and goal tracking
- Self-Custody — Users retain full control of their assets
- Low Fees & Fast Execution — Powered by Stellar + Soroban
- Composable Contracts — Designed to integrate with backend & frontend
- Deterministic & Secure — Written in Rust with predictable execution
- Network Agnostic — Works on Testnet & Mainnet
- Open & Auditable — Fully transparent smart contract logic
StellarSpend is the smart-contract layer for automated budgets, savings goals, and spending limit features on Stellar. If a public website or product documentation exists, add the reference here so contributors know where to learn more.
We welcome contributions!
- Fork the repository
- Create a branch:
git checkout -b feature/short-description - Implement changes and add tests where applicable
- Run linters and tests locally
- Open a clear Pull Request describing the changes
- Look for issues and link them in your PR
- Rust (stable)
rustup- Soroban CLI
Install Soroban CLI:
cargo install --locked soroban-cliAdd the WASM build target (needed for Soroban contracts):
rustup target add wasm32-unknown-unknownBuild a single contract to WASM:
cargo build -p batch-conversion --target wasm32-unknown-unknown --releaseRun tests for a single contract:
cargo test -p batch-conversionRun all workspace tests:
cargo test --workspaceWe welcome contributions.
- Fork the repository
- Create a branch:
git checkout -b feature/short-description - Implement changes and add/update tests where applicable
- Run tests locally
- Open a Pull Request with a clear description