You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Soroban smart contracts for trustless token distribution and revenue sharing on the Stellar blockchain.
Overview
Stellar Distribution Contracts enable automatic, proportional token distribution to multiple shareholders. Built for the Stellar ecosystem using Soroban smart contracts, it provides:
Proportional Distribution: Split any token based on predefined share percentages
Pull-Based Withdrawals: Shareholders claim their allocations independently
Share Marketplace: Buy and sell shares with built-in escrow
Admin Controls: Update shares, lock contracts, transfer unused funds
Contract Versions
Version
Description
Status
V1 (Splitter)
Accountability-based shares with push distribution
Production
V2 (Splitter V2)
Tokenized shares with lazy distribution
Production
V2 Features (New)
Tokenized Shares: Participation represented as SAC tokens
DEX Tradeable: Shares can be traded on Stellar DEXs (StellarX, Lobstr)
O(1) Distribution: Admin creates distribution rounds, users claim
Wallet Visible: Shares appear as token balance in Freighter/Lobstr
# Clone repository
git clone https://github.com/Dobprotocol/stellar-distribution-contracts.git
cd stellar-distribution-contracts
# Build contracts
make build
# Run tests
cargo test
Deploy
# Configure network
stellar network add testnet \
--rpc-url https://soroban-testnet.stellar.org \
--network-passphrase "Test SDF Network ; September 2015"# Deploy to testnet
make deploy-testnet