What binds
What the SDK checks for you
Before it returns a created swap, the SDK rebuilds the contract from your own inputs and compares it with what the maker sent. A mismatch stops the flow before any money moves.
The same applies to atomic RGB quotes: the rgb-lib offer inside a quote must move the same amounts and asset as the quote, so what your wallet signs is what you showed the user.
What your app must check
Chain state, the network, invoices you pay, and fees. Common mistakes lists each check.What the maker controls
- Whether it fills. It can decline to create, pay, or lock. Your funds then come back through the refund or the released hold.
- Cooperation. It can refuse to co-sign. The script path still works after the deadline.
- Re-quotes. On a chain swap it can offer a new amount, but only your
swapAuthcan accept it. - The pay-through payout. That leg has no lock. Use pay-through only where that is acceptable.