A non-custodial swap is an exchange of one coin for another in which you never hold a balance on a platform: the coins leave your own wallet and the swapped coins arrive at an address you control. The strictest form is an atomic swap, where two blockchains enforce "trade or refund" through HTLCs and nobody has to trust anybody.

Most everyday swaps are not atomic swaps. They are wallet-to-wallet swaps executed by a liquidity provider, which is how the SwapRocket crypto exchange works. This article explains both, and is clear about which guarantees belong to which.

TL;DR
  • Non-custodial means no exchange account balance. Your coins start in your wallet and end in your wallet.
  • An atomic swap uses HTLCs (Hash Time-Locked Contracts) so that either both sides complete or both are refunded.
  • Atomic swaps only work between chains with compatible locking features, so most cross-chain pairs are served by a swap service with a liquidity provider instead.
  • SwapRocket is the second kind. It uses no smart contract and no wallet connection: you send to a one-time deposit address and one licensed liquidity provider pays out to your address.
  • The practical risks are the same in every model: wrong network, wrong address, low network fees and price movement.

Custodial vs Non-Custodial: What Changes

Illustration of an HTLC-based atomic swap between two crypto wallets - Custodial vs Non-Custodial: What Changes Under the Hood

On a custodial exchange you deposit funds, the exchange credits an account, and later you ask to withdraw. Between those two moments the exchange controls the coins.

A non-custodial swap removes the account. It is a single-purpose transaction: send coin A, receive coin B at your own address. There are three common models.

ModelWho holds the coins during the tradeWhat you rely onWorks across unrelated chains
Custodial exchangeThe exchange, for as long as your balance sits thereThe company honoring withdrawalsYes
Atomic swap (HTLC)Nobody. On-chain locks enforce swap or refundThe two blockchains and your own softwareLimited to compatible chains
Non-custodial swap service (SwapRocket's model)The liquidity provider, only while the swap executesThe provider completing the swap or refunding itYes

The third row is where most real swaps happen. It is not trustless in the way an atomic swap is, and it should not be described that way. What it removes is the standing balance: there is nothing parked on a platform before or after the swap. If you are new to the workflow itself, start with your first crypto swap, step by step.

Atomic Swaps: The Trustless Ideal

An atomic swap is a trade with a guarantee: either both parties get what they wanted, or both get their coins back. Nobody has to send first and hope.

"Atomic" comes from computer science, where it describes an operation that happens completely or not at all, like a database transaction that either commits or rolls back.

Classic atomic swaps need:

  • Two chains that can express the lock conditions, through scripts or smart contracts
  • A hash function both chains support, so one secret can unlock both sides
  • Time locks, so funds return to their owner if the other side stalls

Bitcoin and chains derived from it handle this well. Other ecosystems need different techniques. Bitcoin to Monero atomic swaps, for example, use a different cryptographic method because Monero has no scripting for hash locks.

The term also gets used loosely for any swap that feels seamless. In this article "atomic swap" means only the strict, chain-enforced version.

HTLCs Explained

Illustration of an HTLC-based atomic swap between two crypto wallets - HTLCs Explained Like You're Swapping With a Stranger

HTLC stands for Hash Time-Locked Contract. Picture a locked box with two rules:

  • It opens for the receiver if they present a secret code (the hash lock).
  • If nobody presents the code before a deadline, the contents return to the sender (the time lock).

Two people who want to trade across chains each lock their coins in such a box, and the same secret opens both.

How one secret ties two chains together

  1. The initiator generates a random secret, S.
  2. They publish only its hash, H(S).
  3. Both parties lock funds on their own chain with the condition "pay out to whoever reveals the value that hashes to H(S)".
  4. The initiator claims the counterparty's coins, which requires revealing S on-chain.
  5. The counterparty reads S from the blockchain and uses it to claim the initiator's coins.

Claiming one side publishes the key to the other side. That is the whole trick.

Why the timeouts matter

Without time locks, someone could lock funds and walk away, leaving the other party stuck. With them, an unclaimed lock simply refunds. The initiator's lock is given the longer timeout, so that after the secret is revealed the counterparty still has time to claim. Real deployments use windows measured in hours.

Why HTLCs are called trustless

Nobody has discretion. There is no operator who decides whether to release funds. The chain pays out when the conditions are met and refunds when they are not.

The costs of that purity are practical: both parties need compatible wallets, both must stay online during the window, you need a counterparty who wants the other side of your trade, and the set of supported pairs is small.

How Swap Services Work Instead

For most pairs people actually want, such as SOL to USDT or XRP to BTC, there is no strict HTLC route. Swap services fill that gap with a simpler flow:

  • No user account and no stored balance
  • A one-time deposit address for each swap
  • An on-chain payout directly to the address you provide
  • A refund address in case the swap cannot be completed
  • A liquidity provider that carries out the conversion

You do rely on the provider to complete or refund the swap, which is the honest difference from an atomic swap. In exchange you get any supported pair, no counterparty to find and no special software. The costs in this model are covered in crypto swap fees and hidden costs.

How a Swap on SwapRocket Works End to End

SwapRocket is a non-custodial crypto-to-crypto exchange. It is not an HTLC atomic swap, and it uses no smart contract and no wallet connection. One licensed liquidity provider executes each swap. Here is the flow, using ETH to USDT as the example.

  1. Pick the pair. Start on the exchange page or a pair page such as the ETH to USDT exchange. To preview amounts first, use a converter page such as BTC to USDT or SOL to USDT.
  2. Check the estimate. The amount shown already includes the exchange fee and the payout network fee. The rate is floating, so the final amount can move slightly with the market until your deposit is processed.
  3. Enter your receiving address. Match the network to the token: USDT exists on several networks and the address must be on the one you selected. Add a refund address on the chain you are sending from.
  4. Send from your own wallet. You get a one-time deposit address for this swap only. You sign the transaction in your wallet and pay that chain's network fee.
  5. The provider executes. Once the deposit confirms, the liquidity provider converts at the live rate and sends the payout.
  6. Receive the coins. They arrive at the address you gave. There is no withdrawal step.

A typical swap takes 5 to 30 minutes, set mostly by how fast the coin you send confirms. No account or email is needed and there is no KYC for standard swaps. The liquidity provider screens transactions and can, rarely, hold a flagged one and ask for verification. SwapRocket is not offered to residents of the United States or the United Kingdom.

Other common routes: the BTC to ETH exchange and the BTC to XMR exchange.

Fees, Failure Modes and Safety Checks

Non-custodial swaps remove the risk of a stranded account balance. They do not protect you from your own mistakes.

Network mismatches

A token such as USDT lives on several networks. Sending on one network to an address that expects another is the most common preventable loss. Confirm the network and the address format every time, and use a small test amount when unsure. The USDT networks guide explains the differences.

Timeouts and refunds

In an HTLC swap the refund is automatic once the time lock expires. In a swap service, the refund goes to the refund address you provided, so that address deserves the same care as the receiving one. If a swap looks stuck, see how to fix a pending or failed swap.

Price movement during confirmations

With a floating rate, the market can move between the moment you see the estimate and the moment your deposit confirms. The effect is larger for volatile pairs and for slow chains. For a large amount in a fast market, splitting the swap into smaller parts limits the exposure of each one.

Minimums

Every route has a minimum amount, because very small swaps would be consumed by network fees. The swap page shows it before you send.

Ordinary errors

Most losses come from a pasted address that was wrong, the wrong network, a withdrawal from an exchange that arrives late, or a network fee set so low that the deposit sits unconfirmed.

Checklist Before You Send

  • Receiving address: correct chain, correct format, freshly pasted and compared
  • Refund address: on the chain you are sending from
  • Amount: above the minimum shown
  • Network fee: high enough to confirm in reasonable time
  • Timing: start when you can keep an eye on it for the next half hour
  • Record: save the swap ID, and do not send a second deposit to the same address

If something goes wrong, check the deposit on a block explorer, then the FAQ, then email support@swaprocket.io with the swap ID. Never share private keys or a seed phrase with anyone.

Frequently Asked Questions

What is a non-custodial swap?

It is an exchange of one cryptocurrency for another without an account balance on a platform. You send from your own wallet and the swapped coins are paid to an address you control.

What is an atomic swap?

It is a peer-to-peer trade across two blockchains in which on-chain locks guarantee that either both transfers happen or both are refunded. No intermediary holds the funds at any point.

What does HTLC stand for?

Hash Time-Locked Contract. It locks coins so that they can be claimed only by revealing a secret that matches a published hash, and it refunds them to the sender if that does not happen before a deadline.

Is SwapRocket an atomic swap?

No. SwapRocket uses no HTLC and no smart contract. You send to a one-time deposit address, one licensed liquidity provider executes the swap, and the coins are paid to your address or refunded to your refund address.

Is a non-custodial swap completely trustless?

Only an atomic swap is trustless in the strict sense. With a swap service you rely on the provider to complete the swap or refund it. What you avoid is leaving a balance on an exchange.

Why are atomic swaps not used for every pair?

Both chains must support compatible lock conditions, both parties must be online, and someone has to want the other side of your trade. That limits the pairs and the liquidity available.

To try the flow with a small amount, pick a pair on the SwapRocket exchange and check the estimate before you send.