Skip to content

stellarspend/stellarspend-contracts

Repository files navigation

CI Status

stellarspend-contracts

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.


Overview

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.


Key Feature

  • 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

Contributing 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.

Quick Start

Prerequisites

  • Rust (stable)
  • rustup
  • Soroban CLI

Install Soroban CLI:

cargo install --locked soroban-cli

Add the WASM build target (needed for Soroban contracts):

rustup target add wasm32-unknown-unknown

Build

Build a single contract to WASM:

cargo build -p batch-conversion --target wasm32-unknown-unknown --release

Test

Run tests for a single contract:

cargo test -p batch-conversion

Run all workspace tests:

cargo test --workspace

Contributing

We welcome contributions.

  1. Fork the repository
  2. Create a branch: git checkout -b feature/short-description
  3. Implement changes and add/update tests where applicable
  4. Run tests locally
  5. Open a Pull Request with a clear description

About

Soroban smart contracts for automated budgets, savings goals, and spending limits on Stellar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages