Skip to content
← Back to SalapiPublic · No login
Salapi · public documentation

Rules you can read.
Proof you can check.

A guide to fundraising causes, shared money pools and public receipts. Check the terms, then inspect the Testnet evidence.

STELLAR TESTNET
Hands supporting a community vault
Different pools, different rules

Choose the right flow.

Causes · D4

Each cause has its own escrow, locked recipients, a 0 to 10% creator share, three approvers, and funding/review deadlines. After funding closes, two wallets approve the same proof before the deadline. After quorum, anyone can release to the fixed recipients. If timely approval is incomplete, each donor claims their own full contribution back.

Explore causes →

Recurring causes · D5

Contributions fill scheduled payout stages in order. A fully funded stage can be released after its due date only after public proof receives approval from two of its three configured reviewer wallets. After final review, donors can reclaim allocations to stages that have not released; released stages stay paid. The fixed 0 to 10% creator share is paid from each released stage and is not a platform fee.

Explore recurring causes →

Disaster Vault · v4 pair payouts

Two assigned, distinct Testnet partner wallets must accept first. A guardian then creates one immutable proposal that snapshots 20% of the current pool balance and an equal split, with the odd stroop assigned to the second wallet. Two of three guardians approve it, then it waits 20 ledgers. Execution checks the combined amount against the rolling 24-hour cap of 20% of the current balance once, before either transfer. Pause and unpause need quorum; contributions stay open while paused.

View Disaster Vault and public proof →

Arisan Rooms

Members fund N × their share upfront for N rounds. The draw uses participant commitments and reveals, then a finalization call pays the selected eligible member. A host still starts a full room. This is a rotating pool, with no interest or yield.

View Arisan Rooms →

The original D3 contract retains its balance and proposal history; no old funds are migrated to v4. D4 cause donations do not automatically send a percentage to either shared pool. Wallet approvals and public receipts do not prove real-world delivery.

What Salapi solves

In an informal arisan or paluwagan, one person commonly holds the pot and runs the process. Salapi puts the pool rules and accounting in Soroban contracts instead. Contributions, payouts, and draws leave public Stellar receipts that anyone can inspect.

The app shows familiar peso or rupiah amounts. The server validates the input and converts it once to an integer stroop amount before sending it to Stellar; no floating-point money value is passed to a contract.

How it works

  1. The PWA collects a user-friendly amount and action.
  2. Server actions resolve the wallet, validate the request, and build the transaction.
  3. Soroban RPC submits the signed transaction to Stellar Testnet.
  4. The UI returns a receipt link so the result can be checked independently.

The web layer uses @stellar/stellar-sdk 15.1.0 and the contracts use Soroban SDK 22. The current test asset is native XLM through its Stellar Asset Contract; it has no real-world value.

Testnet contracts

These are recorded Salapi Testnet contract deployments. The fixed base-vault address is a verified smoke-test instance and is not configured as an application vault. The historical base-vault uses the pre-fix public initializer and must not be used for new flows. Historical single-admin Disaster and D3 deployments remain separate from the v4 pair-payout contract. Arisan has separate demo- and long-cadence deployments compiled from the same source.

Contract addresses and source packages
base-vault (fixed, Testnet smoke instance)contracts/base-vault (constructor-bound admin and token)
CCHYLXQ7A6GC7M27GOKGTRKMOSGKCURCVGABXYDQMYJXGKHQ2UMGMJKT
base-vault (historical, pre-fix)contracts/base-vault (pre-fix source)
CBC6BTKW5VA6Y2XH6WP4IEPWDZ7TBPYSIIOZQMTEH62N62NFT4F4VYDD
username-registrycontracts/username-registry
CDDINUQXTF6SHZN2ZJ36IT7P4YOJ3OZN3H6LTYHVCQ35YYO7YTAWM4G3
disaster (historical, single-admin)contracts/disaster
CCKQ3UVBZ75KSZDO6IPA5U6PFARJG4PLRGN2SAIW5RAGQ6K4B7ZDWBUZ
arisan-rooms (long cadence)contracts/arisan_rooms
CAYJ7G3CPT5LYKV2P5E4GL7TNVDQKMMW6SA4WA4QYQZKCNLK45GE4VUL
disaster (D3 legacy balance and history)contracts/disaster
CCN2O4Z6CSUVF74DWZBJJ526IMEXVRCYKY74PM5BDKA22WWTOW5WHZDY
disaster-v4 (atomic pair releases)contracts/disaster-v4
CB76BBGXPLCIFI2B6A5CTP2RHXARQY3YY77Q3K3OHXTR77UYDI4ZC4VK
donation-campaign (D4)contracts/donation-campaign
CC6D7P35SVCNZLOKTHKDNH4S2ZELYHBP5UO3IWADFORKEF7BCSBY37FU
recurring-campaign (D5 v5)contracts/recurring-campaign
CDI6V4XTDDDAVW5GLJE6JOZ4AZO3TWCUJ54ZWYOTQFUNX4HXIJVPKK24

The configured v4 address is the active pair-payout pool. The original D3 address remains a separate legacy pool and is not a funding fallback.

Full deploy, initialization, and flow transaction hashes are in thedeployment evidence log.

Public evidence

Start with the live app, then open the transparency page or a Stellar Expert link to verify the underlying network activity.

Current status and boundaries

  • Stellar Testnet only. No real donations, fiat payments or mainnet funds.
  • The milestone reports above archive D1 integer amount handling and D2 participant commit-reveal acceptance. Historical acceptance does not verify every current session.
  • D3 remains on its original immutable contract with its original balance and history. v4 uses a new immutable contract: partner wallet assignment needs two guardian approvals, both recipients must accept, one proposal locks 20% of the current balance and the exact split, and two guardians approve before the 20-ledger wait. One combined cap check precedes the atomic transfers. No old funds are migrated.
  • D4 escrows each cause separately, fixes its three approvers and creator share at creation, requires two approvals of the same proof, and supports full donor-claimed refunds if review expires incomplete. The Testnet asset is fixed at deployment. D4 has no D3 spending cap or 20-ledger wait.
  • D5 uses the separate recurring-campaign v5 contract on Testnet XLM. Contributions fill stage targets in order; each fully funded stage requires its own proof and two of three configured reviewer approvals before release. After final review, donors can refund only their allocations to stages that have not released.
  • Independent audit, independent signer custody, and fiat anchor integration remain outside this Testnet implementation.
  • Current wallets are managed by Salapi. Three distinct signer wallets do not establish three independent organizations or independent key custody.
  • Smart Savings is available on Testnet for signed-in wallet owners. One contract vault holds the on-chain balance; additional goal labels and allocation weights are saved locally per wallet in that browser. No yield or fiat withdrawal is available.

Security assumptions, custody trade-offs, and the mainnet checklist are documented in the repository's security policy.