Fee Model
Who pays what in a Fluppy payment โ from the user wallet fee to the on-chain 95/5 split.
Payment flow summary
The 95/5 Atomic Split
When a user submits a ZK payment, the Soroban contract atomically bifurcates the amount in a single ledger operation. This is not configurable after deployment.
Example Calculation
| Payment amount | Merchant receives | Treasury receives | Network fee |
|---|---|---|---|
| 1 USDC | 0.95 USDC | 0.05 USDC | Paid by user via Freighter (varies ~0.001 XLM) |
| 5 USDC | 4.75 USDC | 0.25 USDC | Paid by user via Freighter |
| 10 USDC | 9.50 USDC | 0.50 USDC | Paid by user via Freighter |
| 100 USDC | 95.00 USDC | 5.00 USDC | Paid by user via Freighter |
Stellar Network Fee
Soroban transactions require a base reserve and a fee paid in XLM. In the current MVP:
What Fluppy Does NOT Currently Do
| Feature | Status |
|---|---|
| Production transaction relayer | Not implemented โ future phase only |
| Gas / network fee sponsorship | Not implemented โ user pays directly |
| API key billing system | Not implemented โ future merchant integration layer |
| Mainnet transaction fees | No mainnet deployment yet |
| Merchant subscription or plans | Not implemented โ future phase |
| Developer fee accounting | Not implemented โ protocol fee goes to treasury only |
Future Fee-Related Phases
Merchant API Key Layer โ future
A future phase will add an authenticated API key layer for merchant registration, rate limiting, and enrollment management. This is not a billing system โ it is an access control and integration layer.
Optional Relayer Sponsorship โ future
A future optional relayer model would allow enrolled merchants to sponsor user network fees through an API-key-authenticated backend. This is explicitly future โ not part of the current MVP โ and would require additional security review.
Fee Abstraction UX โ future
Future UI helpers could abstract the network fee display for users without reducing transparency. Users would still authorize the full transaction including the network fee amount.