LemiPay is a decentralized group treasury system built on Stellar Soroban.
This MVP demonstrates how groups can coordinate funds transparently and execute programmable treasury logic on-chain.
Built for rapid validation, clarity, and real blockchain interaction.
LemiPay enables:
- 🧑🤝🧑 Group-based fund coordination
- 🔐 Trustless treasury management
- ⚙️ Programmable execution logic
This repository contains the smart contracts powering the MVP.
The system is composed of two main contracts:
Responsible for:
- Holding funds
- Managing deposits
- Executing treasury actions
- Enforcing rules
Responsible for:
- Creating and managing groups
- Linking groups to a treasury
- Tracking group state
lemipay-contracts/
│
├── Cargo.toml (workspace)
├── treasury/
│ ├── Cargo.toml
│ └── src/lib.rs
└── group/
├── Cargo.toml
└── src/lib.rs
This repository uses a Cargo workspace to manage multiple contracts cleanly.
- Rust (latest stable)
- Soroban CLI
- Stellar testnet account funded
- wasm target installed
Install wasm target:
rustup target add wasm32-unknown-unknownBuild Contracts
From the root directory:
cargo build --target wasm32-unknown-unknown -p treasury --release
cargo build --target wasm32-unknown-unknown -p group --releaseCompiled WASM files will be located in:
target/wasm32-unknown-unknown/release/
Example (replace paths and keys accordingly):
soroban contract deploy \
--wasm target/wasm32-unknown-unknown/release/treasury.wasm \
--source <YOUR_SECRET_KEY> \
--network testnetRepeat for group.wasm.
Save deployed contract IDs for frontend interaction.
- Deploy TreasuryContract
- Deploy GroupContract
- Create a group
- Deposit funds into treasury
- Execute treasury action
- Verify on-chain state
This flow is used in the live demo presentation.
This is a minimal implementation focused on:
- Demonstrating real on-chain interaction
- Validating group treasury coordination
- Enabling live demo execution
Production features such as security hardening, governance layers, and advanced validation are intentionally out of scope for this MVP.
- Fast execution
- Low fees
- Native asset support
- Built for financial infrastructure
LemiPay Core Team
This code is experimental and built for demonstration purposes. Do not use in production environments.