A community-governed financial cooperative platform built on the Stellar blockchain using Soroban smart contracts.
TCCU gives communities the tools to create savings groups, rotating savings clubs, cooperative loan pools, member treasuries, and emergency funds — all managed transparently on-chain.
This repository contains the open-source foundation. It is designed to be extended by contributors.
TCCU is a set of smart contracts, a backend API, and a frontend interface that lets communities:
- Create and manage financial cooperatives on Stellar
- Register members and assign roles
- Pool savings together in shared vaults
- Manage a cooperative treasury
- (Future) Issue and repay loans
- (Future) Vote on financial decisions
- (Future) Run rotating savings groups (chama / susu style)
tccu/
├── contracts/ # Soroban smart contracts (Rust)
│ ├── cooperative/ # Cooperative creation and management
│ ├── member/ # Member registration and roles
│ ├── savings_pool/ # Savings pool structure
│ └── treasury/ # Treasury management
├── backend/ # Rust REST API (Axum)
│ └── src/
│ ├── routes/ # Route definitions
│ ├── handlers/ # Request handlers
│ ├── models/ # Data models
│ └── contract_layer/ # Stellar/Soroban interaction
├── frontend/ # Static HTML/CSS/JS frontend shell
│ ├── pages/ # Individual page files
│ ├── styles/ # CSS
│ └── js/ # JavaScript
└── docs/ # Additional documentation
To work with the smart contracts:
- Rust (stable, 1.75+)
- Stellar CLI (
stellarcommand) - A Stellar testnet account (create one at Stellar Laboratory)
To work with the backend:
- Rust (same as above)
- Cargo
To work with the frontend:
- Any web browser
- A local HTTP server (e.g.
python3 -m http.server)
git clone https://github.com/your-org/tccu.git
cd tccucd contracts
cargo build --release --target wasm32-unknown-unknownstellar contract deploy \
--wasm target/wasm32-unknown-unknown/release/cooperative.wasm \
--source YOUR_SECRET_KEY \
--network testnetcd backend
cargo runThe API will start at http://localhost:3000.
cd frontend
python3 -m http.server 8080Open http://localhost:8080 in your browser.
| File | Purpose |
|---|---|
| PRD.md | Product requirements and vision |
| ARCHITECTURE.md | Technical architecture overview |
| ROADMAP.md | Development roadmap and milestones |
| CONTRIBUTING.md | How to contribute |
| SECURITY.md | Security policy |
This is the foundation release. The core contracts, backend structure, and frontend shell are in place. The project is ready for contributors to extend.
See ROADMAP.md for what is planned and CONTRIBUTING.md for how to get involved.
Apache 2.0. See LICENSE.