Skip to content
MAINNET PILOT · CONTRACT REVIEW PENDING
SIDEHALL
DOCS · GET STARTED · 03 / 11

Quote as a maker

Publish an encryption key, answer invitations with firm signed quotes, and manage nonces and approvals.

Makers price privately. You only see requests addressed to you, a losing quote is never published, and your inventory stays in your wallet until a fill.

Publish your key

On Maker profile, generate an X25519 encryption key and sign a MakerKey binding with your wallet. The relay stores the public key and the signature; requesters verify the binding in their browser before sealing anything to it.

Keys expire after 90 days. Rotating publishes a new version; invitations sealed to an old version still open while you keep the old key in your store.

You can also list yourself in the directory with a display name, the pairs you quote, availability and coverage hours. Requesters see makers who quote their pair first. Listing is optional: requesters can always invite you by address.

Answer an invitation

Your inbox shows invitations with a reply-by countdown. Opening one decrypts it locally and checks:

  • the requester's signature on the invitation,
  • that it is addressed to your wallet,
  • that the request id and deadlines match the routing data the relay delivered, and that the pair is listed on the settlement contract.

The quote composer takes one number, the gross USDG amount. It computes the fee, the seller's net and your own outcome:

RequesterYou giveYou receive
Sells the base assetGross USDGThe base-asset size
Buys the base assetThe base-asset sizeGross minus the 30 bps fee

You choose how long the price stays firm: 45 seconds, 5 minutes (the default), 30 minutes, or until the request's execute-by time. The requester can fill it at that price any time before then, so a longer life means more price risk for you. A fresh 256-bit nonce is generated and kept in your key store.

Preflight before signing

The composer checks the balance of the asset you would send and your allowance to the settlement contract. If the allowance is short it offers an exact-size approval. A quote you cannot honour wastes the requester's gas, so the desk blocks signing when the balance is short.

After you quote

A signed quote stays executable until its expiry. You can:

  • Re-quote after it expires, while the reply window is open (up to five replies per request).
  • Cancel the nonce on-chain from My quotes if you need to withdraw a live quote early.
  • Revoke approvals from Approvals after a cancellation or expiry.