How it works
All products run in a single atomic transaction. Everything goes through, or nothing does.
On this page
The old way
Three separate transactions
- Buyer pays the sellerDone
- Seller delivers the tokensFailed
- The vested share goes into a vesting contractNot run
STUCKThe buyer has paid and the tokens never came.
The Flaset way
One transaction
- Buyer pays the sellerReverted
- Seller delivers the tokensFailed
- The vested share goes into a vesting contractNot run
REVERTEDThe tokens never came, so the buyer keeps the money. Only gas is spent.
Every step in the same transaction
A step is one action. All steps run in a fixed order, in one transaction.
- All or nothing. If one step fails, the entire transaction reverts. No partial payments or deliveries.
- One chain. All steps run on the same chain. Cross-chain transfers require separate transactions.
Signed terms
Deal and invoice terms are signed before any funds move. Each signature is tied to a specific chain, contract and deadline. Once a deal or invoice is settled/ cancelled, it cannot be used again. Changing a signed term invalidates the signature. ERC-1271 smart wallets and EIP-7702 delegated wallets are also supported.
Balances decide
The contracts check token balances before and after transfers/ swaps. If a token delivers less than agreed, including fees, the transaction reverts.
- No funds retained. Settlement contracts return to their starting balances when the transaction ends. Deal’s vested share goes into a stream owned by the buyer. Lending positions remain in the protocol.
- Contract safeguards. Reentrancy protection, pause controls, registry checks and fee limits apply to the relevant product.
What the app does
- Before you sign, it shows each step, who receives what and the most you can spend, asking for exact approvals.
- Shared links carry only the terms and signature, in the part of the URL that never reaches a server. Contract addresses come from the app’s own configuration.
- After settlement, it shows a receipt at
/receipt/<chain>/<tx>with each line, the fee and Transactions.
When a settlement reverts
If a settlement reverts, transfers and other changes are reversed. You still pay network gas. The error names are in the developer reference.