QuantumChain QTCN
MenuClose menu
Documentation QTCN / NETWORK

QUANTUMCHAIN

Explore the docs

Architecture · Payments · Protocol

TRANSACTIONS · DESIGN GUIDE

Escrow payments

Lock a payment under agreed deadlines. Release, refund or keep it locked according to the parties’ signed rules.

9 min readReviewed 24 November 2026Markdown ↗

Explore the four outcomes

This mutual-consent profile has no arbitrator or platform-admin payout override. Choose a scenario below to follow the intended movement of a 100-QTCN payment.

FOLLOW THE PAYMENTOne payment. Clear conditions.Illustration · 100 QTCN principal · fees excluded
Funded escrowReceiver sees locked value · Original expiry T
No sender dispute before T
EARLY APPROVALReceiver available

Sender signs release while undisputed.

EXPIRYReceiver available

Release executes at or after T.

Sender disputes before TD = max(T, dispute time + W)
NO COUNTER BEFORE DSender refund

Refund executes at or after D.

COUNTER BEFORE DRemains locked

Both must sign the same settlement.

W is the agreed response window. Each payout must execute and finalize. Contested funds may remain locked indefinitely.

Sender approves the service

  1. 01Sender signs funding
  2. 02Receiver sees 100 QTCN locked
  3. 03Sender signs early release
  4. 04Release finalizes
Receiver locked
0 QTCN
Receiver available
100 QTCN
Sender refund
0 QTCN

The second sender signature releases payment while the escrow is undisputed.

Agree the conditions before funding

An invoice is optional. A service agreement, contract, order or other accepted document can supply the required supporting material. Private documents can be referenced by commitments rather than published in full.

Both parties need the same terms before work begins. The exact mechanism binding receiver acceptance, fee treatment and document retrieval remains to be specified before implementation.

Agree the conditions before funding
TermWhat both parties need to understand
Parties and paymentOriginal sender, receiver, asset and amount
AgreementService or goods promised and supporting documents
Release expiry (T)When an undisputed release becomes executable
Response window (W)The receiver’s protected duration to counter-dispute
Fees and executionWho funds execution and how transactions are submitted
Contested settlementBoth must sign the same payment, refund or split

The sender signs up to twice

Funding removes spendable value from the sender and creates one restricted escrow amount. The receiver sees Incoming escrow — Locked, not an available balance. The protocol must enforce that restriction.

  • First signature: fund the escrow and authorize the exact expiry rules.
  • Second signature: voluntarily release early while the escrow is undisputed.
  • No second signature is required for an eligible undisputed expiry release.
  • A dispute and counter-dispute are separately signed actions. Joint settlement requires approval from both parties.

A fair response window

A sender must open a dispute before the original expiry T. Once recorded, the response deadline D is the later of T and the dispute time plus W. The sender cannot choose a shorter window after opening the dispute.

Illustration: expiry is Friday 18:00, W is 24 hours, and a dispute is recorded Friday 17:59. The receiver can counter-dispute until Saturday 17:59. The 24-hour value is an example, not an approved default.

A fair response window
At the applicable deadlineOutcome
No sender dispute before TRelease to receiver becomes executable at T
Disputed; no counter-dispute before DRefund to sender becomes executable at D
Receiver counter-disputed before DNo automatic payout; funds remain locked

When the receiver disagrees

The receiver submits a counter-dispute in the same case before D. Neither party can then use the original expiry or the response deadline to take the funds unilaterally.

Both parties must sign identical settlement instructions. A changed proposal needs new approval. Settlement can pay everything to the receiver, refund everything to the sender, or split the principal between their original addresses.

When the receiver disagrees
Illustrative settlementSenderReceiver
Full release0 QTCN100 QTCN
Full refund100 QTCN0 QTCN
Agreed split40 QTCN60 QTCN

Public events, private documents

The public escrow record can identify the participant addresses, dispute initiator, counter-response, timestamps and outcome. An address is not necessarily a real-world identity.

Wallet services observe recorded events and notify the receiver. Notification delivery does not define the deadline or extend it. Agreement documents and evidence need not be public; their storage, permissions and availability require explicit implementation.

What automatic release means

The signed conditions authorize settlement without another party approval. Execution still needs deterministic protocol processing or a valid execution transaction. A wallet countdown reaching zero does not itself move blockchain funds.

The protocol must check current state and settle once. A valid recorded dispute prevents expiry release; a valid counter-dispute prevents automatic refund. Transaction inclusion and network finality determine the authoritative result.

At T, it is too late to open a sender dispute; at D, it is too late to counter-dispute. Broadcasting before a deadline does not guarantee inclusion before it. Wallets should encourage action with time to spare.