What each party sees
The privacy table for the relay, invited makers, the requester and public chain observers.
SIDEHALL keeps prices and sizes away from everyone who does not need them before the trade. It is not an anonymity system: a filled trade is public on-chain.
Before a fill
| Observer | Learns |
|---|---|
| Relay | Request id, requester and invited makers, deadlines, delivery and open times, envelope sizes |
| Invited maker | Its own invitation: side, size and deadlines. Not who else was invited |
| Requester | Every quote addressed to it, and which makers declined by staying silent |
| Uninvited maker | Nothing |
| Chain observer | Nothing |
After a fill
The Filled event is public: requester, winning maker, side, size, gross amount, fee and quote digest. Losing quotes are never published anywhere.
How the sealing works
Envelopes use HPKE (RFC 9180) with DHKEM(X25519), HKDF-SHA256 and AES-128-GCM. The associated data binds each envelope to:
- the message type and version,
- the chain id and the settlement contract address,
- the request id,
- the recipient's address.
Change any of these, or any byte of the ciphertext, and the envelope does not open. A relay that tried to redirect an invitation to another maker, or replay it into another request, would produce envelopes that fail to decrypt.
What the relay can still do
The operator can delay or drop messages, and can see who invited whom. It cannot read or alter prices, and it cannot fill a quote: only the requester named in the quote can call fill.
Sealed envelopes are deleted 24 hours after the request's execute-by time.