Concept stage — specification in progress

Two strangers can swap assets without trusting a middleman.

CommitLock is a product concept for a provably fair on-chain escrow primitive. Each side seals its terms into a time-locked hash commitment, so the swap rule is fixed in code before either party moves anything — and no custodian ever holds the assets in between.

Design thesis: the escrow rule lives inside the commitment, and watchers only check reveals.

No custodian holds your keys. No one can rewrite the rule. A commitment opens exactly one way: the way it was sealed.

  • Time-locked

    Each side attaches a deadline to its commitment. Once that deadline passes, the related leg can no longer be claimed by reveal, so neither party can stall the swap indefinitely.

  • Hash-committed

    The deal is committed as a hash of its terms plus a salt. A later reveal is checked against that hash, so nobody can quietly change the asset, the amount or the recipient.

  • Watcher-verified

    An off-chain watcher network is never asked to hold funds. Its role is narrow on purpose: recompute the hash from a reveal and confirm it matches what was sealed earlier.

Concept document, not a live service

No custodian in the design

Watchers verify reveals only

Deadlines are part of the rule

Specification in progress

Design notes

Provably fair means checkable by anyone.

Fairness here is not a policy someone promises to follow. It is the property that a stranger can recompute the same hash and reach the same conclusion without asking permission.

Hashing is deterministic, so verification is cheap and repeatable. A watcher derives the commitment again from the revealed terms and compares it with the on-chain record.

Salts keep terms private during the commitment phase. Without the salt, a published hash says nothing useful about the amounts or the assets involved.

Deadlines are treated as data, not as an afterthought. Every commitment carries its own window, so a stalled reveal cannot freeze the other side forever.

Watchers are designed to be boring: they observe, recompute and report. They cannot spend, reassign or override a commitment.

The primitive is meant to be reused. Any pair of parties, any supported asset pair, the same commitment format and the same expiry logic.

This page describes a concept only. Behaviour, guarantees and scope will be stated precisely in the specification as it develops.

Documentation resource

Cryptocurrency documentation, hosted independently.

If you would like background reading on cryptocurrency alongside the commitment design on this page, chinazes.space is an independent documentation resource on the subject — described by its publisher as remarkable documentation about cryptocurrency. A visitor might open it to read around the general topic before returning to the escrow primitive described here. This page makes no claim about that site beyond describing it as documentation about cryptocurrency.

The link opens in this browser tab. The destination is an independent external site.

Concept overview

A simple idea, held to a strict standard.

2

parties binding terms

0

trusted intermediaries

01

Both sides agree on the same terms first.

Step one — agree terms off-chain Commitment format: hash of terms, salt, deadline.

2

legs held in escrow

1

reveal to verify

02

Reveals are verified, not taken on trust.

Step two — publish and check Watchers recompute the hash and report the result.
A chain of three stages: seal a commitment, verify the reveal, settle both legs