Verification Actions
sha256:e2a3982bb5339c7ef6d373570b7113c51f67ee906192ec7b3e670ff83e84d2a1
9dc19dfeda68ca5b
Generated report detail
Fixture xchain-atomic-swap-v0 generated pass at 2026-06-10T22:58:55.218Z.
sha256:e2a3982bb5339c7ef6d373570b7113c51f67ee906192ec7b3e670ff83e84d2a1
9dc19dfeda68ca5b
mock-fakenet
n/a
model
Models a CORRECT cross-chain HTLC: both legs lock the SAME shared preimage, each under its own native hash.
Nockchain leg uses %hax = Tip5 (hoon/common/tx-engine-1.hoon); Base leg uses sha256 (an EVM precompile). The commitments DIFFER (Tip5 != sha256) but both derive from the one shared preimage, so revealing it unlocks both legs.
Timelocks are safe: the first-funded (Nockchain) refund window outlasts the Base claim window, so the counterparty cannot refund and still claim.
Honest limit: a single-process MODEL of two chains (model-attested), not live execution. The Tip5 commitment is opaque here (Tip5 is not computable in JS).
No invariant packs referenced.
Reveal the shared preimage -> both legs claimed
bridge
claimed
Each HTLC leg locks the shared preimage under a hash its own chain can compute (Tip5 vs sha256)
critical
Observed all 2 leg(s) lock the shared preimage under a chain-computable hash; commitments distinct; expected each HTLC leg locks the shared preimage under a hash its own chain can compute, with distinct per-chain commitments, under xchain.
First-funded refund window outlasts the second leg's claim window (no free option)
critical
Observed first-funded nockchain=200 > all other legs; expected refund timelock on the first-funded leg > claim window on every other leg under xchain.
Both legs claimed or both refunded (never one-sided)
critical
Observed atomic: all 2 leg(s) claimed; expected terminal settlement is all-claimed or all-refunded (no mix, no stuck-locked) under xchain.settlement.
No alert policies configured.
No adapter observations captured.
| Path | Before | After |
|---|---|---|
| xchain.settlement | ["locked","locked"] | ["claimed","claimed"] |
Initial state
initial6269975ab9195f51
After reveal-and-claim
reveal-and-claim9dc19dfeda68ca5b
lab_xchain-atomic-swap-v0_20260610225855218
sha256:e2a3982bb5339c7ef6d373570b7113c51f67ee906192ec7b3e670ff83e84d2a1
9dc19dfeda68ca5b
/bundle/server-functions/default/.nocklab/xchain-atomic-swap.report.json
/bundle/server-functions/default/.nocklab/xchain-atomic-swap.report.md
1468
xchain.settlement
# ✅ Nockchain<->Base HTLC Atomic Swap Lab Report
0 triggered, 0 clear
Nockchain<->Base HTLC Atomic Swap Verification Candidate
ready
unsigned
none
sha256:e2a3982bb5339c7ef6d373570b7113c51f67ee906192ec7b3e670ff83e84d2a1
9dc19dfeda68ca5b