Fee Model

Who pays what in a Fluppy payment โ€” from the user wallet fee to the on-chain 95/5 split.

Payment flow summary

ยท
User: Signs transaction through Freighter wallet
required
ยท
User: Pays Stellar/Soroban network fee via wallet
required
ยท
Soroban contract: Splits payment: 95% โ†’ merchant, 5% โ†’ treasury
automatic
ยท
Developer / Merchant: Does not pay network fee in current MVP
not applicable

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.

100%
User pays
full payment amount
95%
Merchant receives
net settlement
5%
Treasury receives
protocol fee
โ„น
The protocol fee is taken from within the payment amount, not as an additional charge on top of it. If a user pays 10 USDC, the merchant receives 9.5 USDC and the treasury receives 0.5 USDC โ€” the user is not charged 10.5 USDC.

Example Calculation

Payment amountMerchant receivesTreasury receivesNetwork fee
1 USDC0.95 USDC0.05 USDCPaid by user via Freighter (varies ~0.001 XLM)
5 USDC4.75 USDC0.25 USDCPaid by user via Freighter
10 USDC9.50 USDC0.50 USDCPaid by user via Freighter
100 USDC95.00 USDC5.00 USDCPaid by user via Freighter

Stellar Network Fee

Soroban transactions require a base reserve and a fee paid in XLM. In the current MVP:

Source of feeUser's Freighter-connected wallet โ€” not Fluppy, not the developer
Fee currencyXLM (Stellar's native token) โ€” separate from the USDC payment amount
Fee visibilityFreighter shows the fee to the user before they sign โ€” transparent
Fee sponsorshipNo production relayer or gas sponsorship in current Testnet MVP
Typical costVaries with ledger congestion โ€” usually very small (~0.001โ€“0.01 XLM)

What Fluppy Does NOT Currently Do

FeatureStatus
Production transaction relayerNot implemented โ€” future phase only
Gas / network fee sponsorshipNot implemented โ€” user pays directly
API key billing systemNot implemented โ€” future merchant integration layer
Mainnet transaction feesNo mainnet deployment yet
Merchant subscription or plansNot implemented โ€” future phase
Developer fee accountingNot 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.

Developer Guidance

โš 
Do not advertise Fluppy as a gasless payment system in the current MVP. Users pay the Stellar network fee directly through Freighter. This is by design โ€” it keeps the protocol non-custodial and trust-minimized.
โœ“Show users the total amount they are authorizing (payment + network fee via Freighter)
โœ“Make the 95/5 split clear in your UI โ€” users should understand 5% goes to protocol treasury
โœ“Treat the protocol fee as part of the amount, not a hidden extra charge
โœ—Promise gasless or zero-fee payments โ€” network fees are always present
โœ—Claim developer or merchant sponsors the transaction fee in current MVP
โœ—Market the protocol as having zero fees โ€” the split and network fee are real costs