TRANSACTIONS · DESIGN GUIDE
Escrow payments
Lock a payment under agreed deadlines. Release, refund or keep it locked according to the parties’ signed rules.
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.
Sender signs release while undisputed.
Release executes at or after T.
Refund executes at or after D.
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
- 01Sender signs funding
- 02Receiver sees 100 QTCN locked
- 03Sender signs early release
- 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.
| Term | What both parties need to understand |
|---|---|
| Parties and payment | Original sender, receiver, asset and amount |
| Agreement | Service 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 execution | Who funds execution and how transactions are submitted |
| Contested settlement | Both 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.
| At the applicable deadline | Outcome |
|---|---|
| No sender dispute before T | Release to receiver becomes executable at T |
| Disputed; no counter-dispute before D | Refund to sender becomes executable at D |
| Receiver counter-disputed before D | No 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.
| Illustrative settlement | Sender | Receiver |
|---|---|---|
| Full release | 0 QTCN | 100 QTCN |
| Full refund | 100 QTCN | 0 QTCN |
| Agreed split | 40 QTCN | 60 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.