Pearl Atomic

Cross-chain HTLC desk for PRL — the border post

The deal

A hash-time-locked contract (HTLC) locks PRL for a claimer who knows the secret preimage. If the swap dies, the refundee sweeps everything back after the timeout. No chain on Pearl runs contracts — this is pure Taproot script, enforced by consensus.

The secret (maker only — never share until you claim the counterparty leg)

Counterparty leg (memo — the other chain's side of the swap)

Saved deals

No saved deals yet.

The contract

The HTLC address commits to both spending paths. Verify the scripts before anyone funds it — the address is fully determined by the claimer key, the refundee key, the hash lock and the timeout.

HTLC address

Spending paths

Leaf 0 · Claim hash-locked

Spends with [signature, preimage, script, control block] — the preimage's SHA-256 must equal the hash lock, then the claimer's Schnorr signature is checked.

Leaf 1 · Refund timelocked

Spends with [signature, script, control block] once the chain reaches the timeout height — refundee signature only.

Taptree

Internal key
(NUMS — no known private key; keypath spending is impossible for anyone)
Claim leaf hash
Refund leaf hash
Merkle root
Timeout

Control blocks (the counterparty needs these to verify)

Descriptor (tamper-evident — share this with the counterparty)

Fingerprint

Import a descriptor (taker path — verify a maker's contract)

Fund the HTLC

The maker funds the HTLC address from any Pearl wallet (Oyster, Pearl Sign, …). This page only watches — it never asks for the funding wallet's keys.

HTLC address
Expected

Air-gapped funding (paste the funding outpoint manually)

Track the swap

Watch the HTLC: funding confirmations, any spend (claim or refund), and the countdown to the refund timeout.

Funding
—
Spend
—
Timeout
—
Countdown
—

Counterparty leg (your notes — the app cannot see the other chain)

Revealed preimage (maker — store the secret you revealed on the other chain)

Settle

Two exits, one contract. Claim reveals the preimage and pays the claimer; refund reclaims everything for the refundee once the timelock opens.

Broadcast & verify

The fully-signed transaction. Its signature was verified locally before assembly — what you broadcast is exactly what the key approved.

TXID
vBytes
Path

Standalone verifier

Verify any Pearl Atomic descriptor or HTLC state without forging anything.

Honest limits