App
Connecting

Swap shielded ZEC for dollars

One sha256 hashlock on both chains. Simple and widely used.

From your shielded balance
ZEC

A standard amount: it looks like many other swaps.

Receive on
You receive

0.00OUSD

on Tempo, to a fresh address

Enter an amount to get a quote.

Route

Hashlock (HTLC)
– ZECZcash
– OUSDTempo

Linked by one sha256 hashlock, visible on both chains.

Estimated time
–
Refund after
–
Claim gas
Relayer
  1. Zcash: Unshield the swap amount

    Only this amount leaves the shielded pool, into a dedicated swap address. Change and refunds are shielded again.

  2. Zcash: You lock ZEC

    Into an HTLC: the maker can claim it only with the secret; after a timeout it's yours again.

  3. Tempo: Maker locks OUSD

    In an HTLC on Tempo that pays you, under the same hashlock. Expires before your ZEC refund opens.

  4. Tempo: You claim OUSD

    Claiming publishes the secret on Tempo, the only way the maker can open the ZEC. A relayer submits the claim.

  5. Zcash: Maker claims ZEC

    The maker reads the secret from the claim and opens the ZEC lock. Both sides are paid.

Run the three endings

Every swap ends one of two ways: both sides are paid, or both get their money back. Each run starts a swap above with your current amount, chain and mode, played by the simulated maker.

  • Normal swap

    You lock ZEC, the maker locks dollars, you claim. Claiming hands the maker the key to the ZEC.

    You get the dollars; the maker gets the ZEC.

    About 20 s
  • The maker disappears

    You lock ZEC and the maker never locks dollars. Nothing was traded, so nothing is owed.

    You refund your ZEC once the timeout passes.

    Refund in about 50 s
  • You walk away

    The maker locks dollars but you never claim. The maker's lock expires first, by design.

    The maker takes back the dollars, then you refund your ZEC.

    Refund in about 50 s

Request a payment

Make a link for a customer or a friend. It opens this app in Pay mode with your address, price and chain filled in, and you receive exactly that amount.

LinkEnter your address to make the link.