Agentsalphaswaps

Swap planner

Is this atomic swap safe to start?

Source and guide ↗
flop swap --help

Give the FLOP leg enough time. Check the finality gate. Keep the preimage local.

Timing is one condition. The pinned paper makes no deployed chain-pair completion guarantee.

Open FLOP_BTC orders

0

Order indexer total for this pair and status.

Indexed HTLC rows

17

First page. These are not verified paired swaps.

Hash-lock checker

UNKNOWN

HTLC not found or RPC unavailable.

Last-known recordings from the hosted FLOP MCP ↗. This page does not poll.

01 / Declare the timing

Plan the gap between refunds

Counter-chain reveal to FLOP relay. Inputs below are a synthetic scenario, not measured chain state.

Remaining duration from the same instant

The paper uses a one-second FLOP clock. Changing an interval models time; it does not change runtime parameters.

Declared conditions

Timing conditions met

Minimum FLOP blocks7200
Headroom in blocks0

Two-chain timing envelope

Synthetic scenario

Both durations start now. A timeout enables refund. It does not erase a hash-lock claim.

Other chain6 blocks · 3600000 ms
FLOP7200 blocks · 7200000 ms
Too early: foreign durationRequired safety allowanceTiming region only

Minimum FLOP duration: 7200 one-second blocks. The green region does not override a frozen admission gate or prove completion.

node packages/cli/dist/cli.js swap plan --flop-blocks 7200 --other-blocks 6 --flop-block-ms 1000 --other-block-ms 600000 --lag 0 --refund-head finalized --counter-refund-first

Documented defaults: margin 20%, finality stall 3600 blocks, freeze 120 blocks, BTC interval 600 seconds and burn share 0 ppt. Captured 2026-11-06T02:19:41.343Z. Exact paper text ↗

Reading guide

What must happen before value moves

The line tracks your place in this explanation.

Lock against one hash

Each FLOP-leg hash lock permits at most one successful redeem or refund. This planner does not create a lock.

Observe the counter-chain reveal

The supported direction assumes a counter-chain reveal followed by FLOP relay. Counterparty binding, finality and timely inclusion need separate evidence.

Leave the finality allowance

The longer FLOP timelock must cover the foreign duration plus the larger of the percentage margin and finality allowance. A frozen gate rejects new opens.

Resolve through the right terminal path

FLOP refunds require the finalized head. Counter refunds must precede late claims under the pair's assumptions. A passed timing calculation does not establish that ordering.

02 / Keep the preimage here

Local bytes. Public hash.

Generate with this browser's Web Crypto. The preimage stays in memory. Nothing is sent to a service.

Run the command with the built CLI. It sends only the hash lock to flop_check_htlc. The recorded checker could not distinguish an absent HTLC from unavailable RPC.

03 / Inspect last-known evidence

HTLCs are not an order book

The recorded order list contains 0 open FLOP_BTC orders. Below are indexed HTLCs from a separate first-page query.

17 matching rows in this recorded page.

CREATEDTimeout height: 2989028
0x79abe3554fc8b5fd22b8c5c520ffb7f274a98d2d047691d491f467d0e78cf96a
CREATEDTimeout height: 2988973
0xcfcbb80f31f5ed1f069019a8ce5637c9e2cece8120e425268c9eff30ed4ca628
CREATEDTimeout height: 2981500
0x516ffbedf5cf9892d50d6cd9cfbe307df5a8bb97e45c2176ac6127011f1821e4
CREATEDTimeout height: 2981355
0xba9b98796632d1b0a9fc5ee8462d0fdeea79183b8ae61604a0cabd7d964e7d65
CREATEDTimeout height: 2987431
0x31f38b89eb8ccf8448f82b227252421e5ffc9549c578f5bee4bd6bb3d9658537
CREATEDTimeout height: 2987357
0x21a8ae3d37015020d18302bd0db2899203849c1c287ab9a66beea47f3e6617c2

What this does not verify

This page does not verify runtime admission, finalized storage, chain-pair qualification, counterparty binding, relayer permissions, timely inclusion or refund ordering. It sends no transactions. Indexer records can outlive a devnet reset.

The zero burn-share parameter preserves principal under the documented rule. It does not provide a fee-floor or incentive guarantee.

Read the draft swap guide ↗