Flash Deals
Flash Deals exchange tokens for payments in one transaction. The seller sets the terms and who can buy while the buyer signs those terms with their own address. If any step fails, the whole transaction reverts.
On this page
Flash Deals is available on Robinhood Chain, Base, BNB Chain and Ethereum with more following.
Seller signs the terms
Buyer signs the same terms
Signatures, deadline, tokens and fee check out
Buyer pays the seller $9,980 USDC
Buyer pays the fee $20 USDC
Seller delivers the tokens 700,000 Xtoken
The vested share becomes a stream for the buyer 300,000 Xtoken
SETTLEDOne transaction. Both sides got exactly what they signed.
- Who signs
- The seller, and the buyer with its own address
- Who may buy
- One wallet, a whitelist or anyone, as the seller signs
- Transactions
- 1
- Vested share
- Sablier stream for the buyer
Neither side sends first
Projects can use Flash Deals for token sales, Investors, partners and OTC deals. Which helps settle a trade without either side sending funds first:
- The seller signs the Deal: the token, price, eligible buyers, vesting schedule and a deadline.
- The buyer approves the exact price to FlasetDeals and signs the same Deal with its own address.
- The buyer or a relayer submits
settle. The signatures fixes every term, so the sender cannot change what moves or where. - The contract checks the terms, both signatures and the fee, marks the deal used, then moves the price minus the fee to the seller. Which sends the share to the buyer and the vesting into a stream for the buyer.
The contract checks each transfer against the recipient’s balance. An incorrect amount reverts the transaction.
The seller chooses the buyer
The seller signs one of the three buyer modes below. The buyer signs with their own address and receives both the tokens vesting stream.
| Mode | Who can take it |
|---|---|
| One wallet | The wallet the seller put in |
| Whitelist | The first wallet on the seller’s list to settle, with its Merkle proof (format) |
| Anyone | The first wallet to settle |
Stream nobody can cancel
The vesting is deposited in Sablier Lockup, whose code is immutable. The buyer receives an NFT representing the stream. Neither the seller nor Flaset can cancel it. The NFT is transferable if the signed Deal allows it.
- Claiming: On the app’s Vestings page or on Sablier through “View on Sablier”. Only the NFT’s owner or an operator it approved, can send the tokens elsewhere.
- Five shapes: Linear, Cliff, Steps, Monthly and All at once. Their fields and how each unlocks inside the developer reference.
Paid from the seller’s side
0.20% fee of the price is paid by the seller in: fee = payAmount * feeBps / 10000, rounded down. Whoever sends the settle pays the gas.
A settled deal, step by step
Xtoken = a fictional token
- Buyer pays
- $10,000 USDC
- Fee (0.20%)
- $20 USDC
- Seller receives
- $9,980 USDC
- Buyer receives now
- 700,000 Xtoken
- Into a Sablier stream
- 300,000 Xtoken
- Transactions
- 1
Token compatibility, cancellation and deadlines
- Tokens: Any ERC-20 on either side with tokenized stocks included. Token with fee on transfers reverts the deal.
- Cancel: Until it settles, “Cancel this deal” ends it for good. Creating a new deal does not cancel an existing one you can cancel the old deal first.
- Keep the deadline short: An open deal is a free option for the other side while the price moves.
- The contract owner sets the fee, as a governance votes decide, can pause new settlements. But it cannot touch a stream, move tokens or change a signed deal.