Introduction
When people trade, they may need both sides of the deal to go through
together.
What you’ll learn
Explain how an atomic exchange settles and what matching participants
can still learn.
Lesson
Atomicity means the exchange settles as a single
outcome. Either the required asset transfers settle together, or the
exchange does not settle. Confidentiality describes who
can see its terms and related information. One property can exist
without the other.
Worked example. The radio crew offers three
equipment credits for two workshop credits from Artforce. Their exchange
terms match only if both asset legs are present. For the first asset,
the crew contributes three and Artforce receives three. For the second
asset, Artforce contributes two and the crew receives two. The exchange
balances by asset, with no need to treat the two credits as equivalent
units. Fees are handled as required by the transaction design.
Zswap research describes non-interactive composition of confidential
multi-asset transactions using commitments and proofs. Compatible
fragments can be combined for settlement. An imbalance representation
can expose net information where portions do not cancel. The parties or
an off-chain matcher may know terms they received and can retain them.
Privacy on-chain does not erase that history or eliminate every ordering
risk. Exchanging two assets already represented on one ledger also
differs from coordinating settlement across two independent chains. Zswap research
paper.
Practice quiz
Select one answer per question.
Answer key and explanations
- C. The exchange should not settle with only one
leg.
- A. The matcher already received its view of the
terms. Handling and retention of that data are separate concerns.
Sign in with Discord to take this quiz and earn your badge.