Revolutionizing group payments on Stellar β Built for Africa π
Pamoja automates group payment distribution using Stellar Soroban smart contracts. Create a group, assign wallet addresses with percentage splits, and any payment sent to your group contract instantly distributes funds β no manual calculations, no delays, complete on-chain transparency.
Built by Africans to solve African payment problems: Simple, Seamless, Secure.
- Group Creation β Set up payment groups with multiple Stellar wallet addresses and percentage splits
- Child Contracts β Each group deploys its own Soroban child contract; funds split exactly as configured
- Automated Distribution β Payments split and distribute instantly on-chain, zero manual intervention
- Group Management β Update splits, extend usage limits, manage subscription cycles
- Full Transparency β On-chain transaction history, distribution logs, real-time tracking
pamoja/
βββ contracts/ # Soroban smart contracts (Rust)
β βββ pamoja_factory/ # Factory contract β deploys group child contracts
β βββ pamoja_group/ # Group contract β holds splits, executes distribution
βββ frontend/ # Next.js 14 app
β βββ src/
β β βββ app/ # App router pages
β β βββ components/ # UI components
β β βββ hooks/ # Stellar SDK hooks
β β βββ lib/ # SDK clients, contract bindings
β βββ public/
βββ .github/workflows/ # CI/CD
βββ docker/ # Deployment
- Rust +
wasm32-unknown-unknowntarget - Stellar CLI (
stellar) - Node.js 20+
- pnpm 9+
git clone https://github.com/pamoja-app/pamoja.git
cd pamoja
cp .env.example .envcd contracts
cargo build --target wasm32-unknown-unknown --release
# Deploy to testnet
stellar contract deploy \
--wasm target/wasm32-unknown-unknown/release/pamoja_factory.wasm \
--source <YOUR_SECRET_KEY> \
--network testnetcd frontend
pnpm install
pnpm devOpen http://localhost:3000.
See .env.example for all required variables.
| Variable | Description |
|---|---|
NEXT_PUBLIC_STELLAR_NETWORK |
testnet or mainnet |
NEXT_PUBLIC_FACTORY_CONTRACT_ID |
Deployed factory contract address |
NEXT_PUBLIC_HORIZON_URL |
Horizon server URL |
NEXT_PUBLIC_SOROBAN_RPC_URL |
Soroban RPC endpoint |
# Contract tests
cd contracts
cargo test
# Frontend tests
cd frontend
pnpm test
# E2E
pnpm test:e2eWe welcome contributions! Please read CONTRIBUTING.md before submitting a PR.
- Fork the repo
- Create a feature branch:
git checkout -b feat/your-feature - Commit with Conventional Commits
- Open a Pull Request
MIT Β© 2026 Pamoja Contributors