SplitPay Logo
Soroban v22 Smart Contract Documentation

Collaborative Payment Distribution on Stellar

SplitPay is an automated, non-custodial payment splitting protocol powered by Soroban smart contracts. Funds are distributed atomically and mathematically verified in a single transaction.

Core Protocol Invariants

Formal guarantees implemented in Rust and verified by comprehensive automated test suites.

10,000 Basis Points Rule

Pools strictly require member shares to sum to exactly 10,000 BPS (100.00%). Floating-point division is forbidden to ensure deterministic integer execution.

Deterministic Remainder Handling

Integer division differences are deterministically awarded to the primary member (index 0). Zero stroops are lost; sum of distributions equals the gross payment.

Immutable Distribution Snapshots

Payment settlements snapshot the active pool split at execution time. Future changes to members or shares never alter historical disbursements.