What Is Crypto Escrow and How It Protects a P2P Trade

Escrow is what makes it possible to buy crypto from a stranger without anyone having to trust blindly. Here's how it works and what to look for.

Security

What Is Crypto Escrow and How It Protects a P2P Trade

Buying crypto from another person has a basic problem: someone has to move first. If the buyer pays and the seller disappears, the buyer loses their money. If the seller sends the crypto and the payment never arrives, the seller loses. Escrow exists so that neither party has to trust the other.

What Is Escrow

Escrow is a legal term for a security deposit: a neutral third party holds an asset while the parties fulfill what was agreed, and releases it only when the conditions are met. It is what a notary does with the earnest money on a home purchase, or what a secure payment service does in a private sale between individuals.

In the crypto world, escrow is the central mechanism of any P2P (peer-to-peer) market: the seller’s crypto is locked before the buyer pays, so the buyer knows the funds exist and the seller can no longer spend them on something else.

Centralized Escrow vs. Onchain Escrow

Not all escrows are the same. The key difference is who holds the funds while the trade is in progress.

Exchange escrow Onchain escrow
Where the funds are In the exchange’s wallets In a public smart contract
Who decides to release them The exchange, according to its internal rules The contract’s code (and, in a dispute, the rules the contract allows)
Prerequisite Verified account and a balance deposited on the platform Your own wallet holding the funds
Risk if the platform goes bankrupt or freezes accounts Your funds get trapped The funds stay in the contract, outside the platform’s balance sheet
Transparency Opaque: you rely on its accounting Verifiable on the block explorer

On a centralized P2P platform like those of the major exchanges, you first deposit your funds on the platform, and the “lock” is an entry in its database. It works as long as the platform stays solvent and doesn’t decide to freeze your account. With an onchain escrow, by contrast, the crypto leaves the seller’s wallet and enters a smart contract whose rules anyone can read.

How an Onchain Escrow Works Step by Step

We use Vailox’s flow as an example, which follows the usual scheme of non-custodial P2P markets:

  1. The buyer chooses an ad with the price, network, and payment method that suit them.
  2. The seller locks the crypto (USDT or USDC) in the escrow smart contract. From that moment, neither party can move it on their own.
  3. The buyer pays in fiat using the agreed method (bank transfer, Bizum, Revolut…) and marks the order as paid. On Vailox, they have about 20 minutes to do so.
  4. The seller checks that the money has arrived and confirms.
  5. The contract releases the crypto automatically to the buyer’s wallet.

If something goes wrong, for example the seller doesn’t confirm a payment that was actually made, either party can open a dispute. The parties submit evidence (receipts, the order chat), and the funds are released to whoever is entitled to them under the resolution.

The important detail is what the person who manages the contract can and cannot do. On Vailox, the contract owner cannot withdraw the locked funds: in a dispute, they can only send them to the buyer or the seller.

What Escrow Protects Against, and What It Doesn’t

Escrow solves the problem of “who pays first,” but it doesn’t solve everything. It’s important to understand its scope:

It protects you from:

  • A seller who doesn’t have the funds or who tries to sell them twice.
  • A seller who collects payment and doesn’t deliver: the crypto is already locked, and the dispute releases it to the buyer.
  • The bankruptcy or account freezing of an intermediary platform, because the funds are not on its balance sheet.

It does not protect you from:

  • Releasing the crypto before you have actually received payment. If you are the seller, check the incoming transfer in your bank, not a screenshot. We cover this in detail in the most common P2P scams.
  • Payments that are reversed later, such as a PayPal chargeback or a payment from a third-party account. Accept payments only from the account holder on the order.
  • Network or address errors outside the platform. Choose the network carefully: we explain it in USDT or USDC and which network to choose.
  • A badly programmed contract. An onchain escrow is only as secure as its code.

What to Check Before Trusting an Onchain Escrow

Before trading on any decentralized P2P market, review:

  • Whether the contract has been audited and by whom. Vailox’s contract is based on open source code that has already been audited and tested for years, with minimal modifications, and the final version has been re-audited by HelixNebula.
  • What powers the owner has. Ideally, they cannot withdraw funds to an arbitrary address and can only resolve disputes in favor of one of the parties.
  • How disputes are resolved and what evidence is accepted.
  • Whether the platform holds custody of anything. If you have to deposit funds into a platform account before trading, it is not an onchain escrow, even if it is called one.

In Summary

Onchain escrow replaces trust in a company with verifiable rules in a smart contract. It doesn’t eliminate all risks (you still have to verify payments and choose the right network), but it does remove the most serious one in P2P: depending on an intermediary to keep your money safe and not lose it, freeze it, or disappear with it. If you want to see how it works in practice, take a look at how Vailox works.

Frequently asked questions

What does escrow mean in crypto?

It is a security deposit: the seller's crypto is held by a neutral third party (in an onchain escrow, a smart contract) until the trade conditions are met. Only then is it released to the buyer.

What is the difference between an onchain escrow and an exchange escrow?

On a centralized exchange, escrow is an entry in its database and the funds sit in its wallets. In an onchain escrow, the funds are locked in a public smart contract, and the rules for releasing them are written in its code.

Can the platform keep the escrow funds?

It depends on the contract. On Vailox, the contract owner cannot withdraw locked funds: they can only intervene if a dispute is opened, and even then they can only release the funds to the buyer or the seller.

What happens if the seller doesn't confirm the payment?

If the buyer has paid and the seller does not release the crypto, either party can open a dispute. Evidence from both sides is reviewed, and the escrow funds are released according to the resolution.