Make a swap¶
A swap exchanges one asset for the other. A forward swap sells shielded ZEC for USDC. A reverse swap spends 0zkUSDC to buy shielded ZEC. Check the direction, quoted amounts, fees and expiry before authorizing either.
From ZEC to 0zkUSDC¶
- Choose the direction from ZEC to 0zkUSDC and review the quote. If the maker asks for an opening fee, that separate ZEC payment is nonrefundable.
- Authorize the swap. The maker locks the tokens on Ethereum. Your wallet checks the confirmed escrow before sending your shielded ZEC deposit.
- Once the deposit confirms and the claim is available, the wallet can authorize the claim. With auto-claim enabled, the wallet can arrange this without a second prompt. Otherwise, return to the swap and authorize the claim in its window.
- Follow the swap through payout. The USDC reaches your Railgun balance after the authorized relayer fee and applicable shielding fee. If you want regular USDC at a public address, choose Withdraw from that balance. Withdraw regular USDC
From 0zkUSDC to ZEC¶
- Choose the direction from 0zkUSDC to ZEC and review the maker’s quote.
- The first authorization funds the Ethereum escrow from your Railgun balance. The maker then deposits shielded ZEC at the joint address.
- Your wallet checks that the full quoted ZEC is confirmed and spendable. The second authorization marks the swap ready. Return to the wallet in time to complete it.
- When the maker claims the tokens, your wallet obtains the remaining key share and moves the ZEC to a fresh shielded address you control. The Zcash transaction fee comes out of the amount swept home.
Resume a swap¶
If a connection drops, reopen the existing swap so the wallet can check both chains. A pending payout and a pending claim are different stages. Check the current stage before retrying a payment or starting another swap. Deadlines and refunds · Prices and fees