A Non-Custodial Cross-Chain Swap Network
Abstract
Zhouswap is a decentralized, non-custodial network for exchanging value across the Bitcoin SV (BSV) and Ethereum chains. It lets anyone swap between ZHOU (a token issued on BSV), BSV (native), and USD stablecoins (USDC and USDT on Ethereum) without handing custody of their assets to any operator. Settlement uses hash time-locked atomic swaps: the two sides of a trade are locked on their respective chains under the same secret, so ownership changes hands simultaneously or not at all — no intermediary ever holds both legs.
Pricing is provided by a constant-product automated market maker (AMM) with a 1% spread denominated in USDC. That spread is not paid to any single operator: it accrues in USDC and, every ten minutes, is used to buy back ZHOU on the open curve and burn it permanently on-chain. ZHOU's supply therefore contracts as the network is used.
The network is run by independent node operators. Anyone can run the zhoud node software, provide liquidity from their own inventory, and serve quotes and swaps. There is no central server, no custodial wallet, and no privileged party who can freeze or seize user funds.
1. Motivation
Most "decentralized exchanges" are decentralized only in their smart contracts; the assets they touch live on a single chain, and the interface is a company. Meanwhile, moving value between chains still overwhelmingly relies on custodial bridges and exchanges — precisely the components that have produced the largest losses in the industry's history.
Zhouswap takes a different position:
- Custody never leaves the user. The only trustless way to trade across two chains without a bridge is an atomic swap. Zhouswap builds its entire settlement layer on that primitive.
- The network, not an operator, captures and recycles value. Fees are not a business line; they are converted into a deflationary force on the token that the whole network shares.
- Anyone can be the counterparty. The node software is open and permissionless. Liquidity comes from operators competing to serve swaps, not from a single pooled contract controlled by one team.
2. Design Overview
A swap in Zhouswap has two legs on two different chains, bound by one secret:
User Node (the swap counterparty)
| 1. quote request (H=SHA256(s)) | AMM prices the trade, 1% spread
| --------------------------------->|
| 2. lock own asset under H |
| ---- BSV or Ethereum ----------->| 3. verify, then lock the other asset under H
| 4. claim, revealing s on-chain |
| <---------------------------------| 5. node reads s, claims its side -> settled
|
+- if either side stalls, both refund after their deadlines
- BSV side is expressed purely in Bitcoin Script (no Solidity). ZHOU tokens, native BSV, and the swap locks are all script outputs.
- Ethereum side exists only because USDC and USDT are ERC-20s; it is a single, minimal hash-time-locked contract that escrows the chosen stablecoin and releases it on the correct secret. The contract records the token per lock (one deployment serves both USDC and USDT) and uses SafeERC20-style transfers so it tolerates non-standard tokens such as USDT, whose
transferdoes not return a boolean. USDC and USDT are treated 1:1 on this leg; the AMM keeps its USDC-denominated accounting. Both chains hash the secret with SHA-256, so the same secret opens both locks. - Node software (
zhoud, written in Go, no external chain SDKs) builds and signs both chains' transactions, runs the AMM, watches both chains, and drives each swap to completion or refund autonomously.
2.1 The settlement layer: BSV and Teranode
Zhouswap settles on BSV, a chain engineered for unbounded scaling. BSV's next-generation node implementation, Teranode, has already demonstrated over one million transactions per second in test environments, and its roadmap targets the order of 100 million TPS — an order of magnitude beyond the peak throughput of the major international card networks. Mainnet completed the restoration of the original protocol with the Chronicle upgrade in April 2026 and is now transitioning into the Teranode era.
This figure is not brute-force hardware; it is an architectural change. Unbounded block size invites a classic objection: if blocks grow large, propagation, validation, and mining-template reconstruction cannot keep pace with the block interval, and the resulting rise in orphan rate erodes effective security. Teranode is designed as a structural answer to exactly this. Its core move is to abandon the sequential "discover a block, then distribute its contents" model. Transactions are streamed to the network and validated ahead of time in subtree units, with the Merkle root updated incrementally. When a block is found, all that propagates is a declaration of which subtrees it bundles — validation and propagation are, by then, essentially already done. By severing the proportionality between block size and propagation delay itself, Teranode establishes a base on which million-TPS blocks do not push up the orphan rate.
For Zhouswap this capacity carries a double meaning. First, settlement-layer throughput will, at any conceivable scale, effectively never be the binding constraint on the protocol's growth. Second, because BSV's security model presupposes the existence of enormous transaction volume (see §7), the 100M-TPS target is not marketing but a requirement of the security budget: a chain that has chosen to fund its budget with volume must first build the vessel that carries the volume. Teranode is that vessel.
3. The Atomic Swap Protocol
3.1 Hash-locked outputs
Each locked leg pays to a hash time-locked output. On BSV the output carries two spending paths:
IF OP_SIZE <32> OP_EQUALVERIFY OP_SHA256 <H> OP_EQUALVERIFY
OP_DUP OP_HASH160 <claimerPKH> OP_EQUALVERIFY OP_CHECKSIG (claim with secret)
ELSE OP_2 <pkA> <pkB> OP_2 OP_CHECKMULTISIG (refund, 2-of-2)
ENDIF
The claim branch is spendable only by presenting a 32-byte preimage s such that SHA256(s)=H, together with the claimer's signature. The OP_SIZE guard forces the preimage to be exactly 32 bytes so that BSV and Ethereum hash identical inputs. The Ethereum contract mirrors this with sha256(abi.encodePacked(preimage)).
3.2 Why it is atomic
The party that claims first must reveal s on-chain in the process. Once s is public, the counterparty can always claim the other leg. There is no state in which one side has been claimed and the other cannot be — the swap either completes on both chains or is refunded on both.
3.3 Refunds without on-chain timelocks
BSV's Genesis upgrade disabled OP_CHECKLOCKTIMEVERIFY, so a BSV script cannot enforce a refund deadline on its own. Zhouswap instead uses the standard cross-chain-swap construction: the refund path is a 2-of-2 output, and the counterparties exchange a pre-signed refund transaction with nLockTime = deadline and a non-final input sequence before the funds are locked. After the deadline, the holder of the pre-signed transaction can broadcast it unilaterally to recover the locked asset. The Ethereum leg has a real contract-enforced deadline and refunds directly.
The party that locks first is always given the longer deadline, so the later locker (with the shorter window) can never strand the earlier one.
4. The Automated Market Maker
Each node runs constant-product (x·y=k) pools:
- ZHOU / USDC
- BSV / USDC
A ZHOU ⇄ BSV trade is routed through USDC across both pools; the 1% fee is charged once, on the intermediate USDC, never twice.
The spread is always denominated in USDC. On a buy (USDC in) it is taken from the input before the curve; on a sell it is taken from the curve's USDC output. Fees accrue to a per-pool fee reserve.
To keep quoted prices honest under concurrency, a quote reserves inventory at quote time — the curve moves for the next quote immediately, and the exact quoted amounts are the amounts committed on settlement. Unfilled quotes release their reservation when they expire.
5. ZHOU Token & Tokenomics
5.1 The token
ZHOU is a UTXO-based token on BSV. Its unit is the satoshi: 1 ZHOU unit = 1 satoshi of a specially-tagged output. There is no ERC-20 contract and no separate ledger — the Bitcoin UTXO set is the ledger, and validity is established by tracing an output's ancestry back to a single issuance transaction (indexer-verified, as miners do not enforce token rules).
5.2 Monetary policy — Bitcoin's model exactly
ZHOU follows Bitcoin's monetary policy, to the number:
- Hard cap: 21,000,000 ZHOU. No premine, no team allocation, no sale.
- Block reward: 50 ZHOU per block, paid to the operator that produces the block — the "miner" of the Zhou network.
- Halving every 210,000 blocks, so the reward steps down 50 → 25 → 12.5 → … and asymptotically stops.
These are the same constants as Bitcoin, and they sum to the same cap: 50 × 210,000 × 2 = 21,000,000. Emission is clocked by block height, starting from the network's genesis block. Every ZHOU that will ever exist enters circulation as a block reward to whoever mined that block — there is no other issuance path. Distribution is maximally fair in the Bitcoin sense: the supply is handed to the participants who do the work of running and securing the network, over time, rather than to a treasury or an investor round.
Implementation status: the block-reward emitter is implemented and unit-tested in the node software (internal/emission). At genesis the cap is minted once into a locked reserve; the node reads BSV block height and releases the scheduled amount from reserve into circulation, halving on schedule. Each operator activates it via zhoud -issue-reserve and emission_enabled. Because ZHOU is a whole-unit token, integer halving truncates exactly as Bitcoin's does — 20,370,000 ZHOU is released over the full schedule (21,000,000 is the reserve/ceiling; the remainder stays unreleased unless tail-emission is enabled). The current public testnet node has not yet switched from bootstrap issuance to live emission.
5.3 Buyback & burn — the deflationary counterweight
The 1% spread the network collects in USDC is never withdrawn as profit. Every ten minutes, the accumulated USDC across all pools is used to buy back ZHOU on the open curve, and the bought-back ZHOU is sent to a provably unspendable OP_FALSE OP_RETURN output — burned permanently and verifiably on-chain.
- Every swap — including BSV/USDC and USDT swaps — increases the USDC available to buy back ZHOU. Listing more trading pairs increases buy pressure on ZHOU.
- Emission is capped at 21,000,000 and tapers with every halving; burning is continuous and unbounded. Once emission falls below the burn rate, the circulating supply turns net-deflationary and trends below the 21M cap.
- Because the buyback executes on the same curve, it verifiably raises the ZHOU mid-price with each cycle.
Every burn is a public on-chain transaction; total burned is reported by every node.
6. Node Software & Decentralization
zhoud is a single Go binary with no external blockchain SDK dependencies. It implements from first principles: BSV transaction construction and SIGHASH_FORKID signing, Ethereum EIP-155 signing, RLP/ABI encoding, both chains' watchers, the AMM, and the buyback-burn scheduler.
Responsibilities of a node: serve quotes and swaps over a small HTTP/JSON API (also the backend for the web UI); provide liquidity from the operator's own BSV, ZHOU, USDC and USDT inventory; watch both chains and drive swaps to completion or refund without human intervention; and run buyback & burn on schedule.
Users interact through a command-line client (zhou-cli) that holds their keys locally and independently reconstructs and verifies every lock script before committing funds — so a malicious node cannot trick a user into locking to the wrong script or revealing a secret against a lock that does not exist. The web interface connects to any node's public API; the user's swap secret is generated in the browser and never leaves it (only its hash is sent).
There is no central operator, no custodial hot wallet holding user funds, and no party who can pause or seize a swap in progress.
7. Security Model
What the protocol guarantees. Custody stays with each party throughout. Atomic-swap settlement means neither the node nor the user can take one leg without enabling the other to take the second. Secrets are client-generated; the server sees only a hash. Both chains hash with SHA-256 over a fixed 32-byte preimage, so the two legs are cryptographically bound. Signatures are low-S canonical (no malleability), and the node independently verifies the counterparty's on-chain lock — correct script, token, amount, recipient, and confirmation depth — before committing its own funds.
What it does not remove. An atomic swap protects against theft, not against non-completion: a counterparty who abandons a half-finished swap forces the refund path, which is why pre-signed refunds and staggered deadlines matter. Cross-chain finality (reorgs), fee estimation, and inventory management are operational risks a node must handle, and Zhouswap gates its actions on configurable confirmation depth to reduce them.
Maturity. The protocol and node software have undergone extensive internal adversarial review and iterative hardening, and a full swap (including refunds and buyback-burn) has been demonstrated end-to-end on public test networks (BSV testnet + Ethereum Sepolia). The system has not completed an independent third-party audit. Until it has, it should be treated as pre-production: testnet and small-value use only. Nothing in this document is a solicitation to deposit funds.
8. Roadmap
- Testnet hardening — pre-signed refund exchange for both legs, confirmation-gated settlement, inventory reconciliation across restarts. (largely implemented)
- Independent audit — third-party review of the Bitcoin Script, the Ethereum contract, and the node's swap state machine.
- Mainnet — deploy the Ethereum contract to mainnet, issue ZHOU on BSV mainnet, and open swaps with real inventory, subject to the audit and the operator's regulatory posture.
- Block-reward emission engine — the Bitcoin-model emitter of §5.2: 50 ZHOU per block to the block's miner, halving every 210,000 blocks, hard-capped at 21,000,000. Implemented and unit-tested (
internal/emission); activated per-operator and the default monetary policy at mainnet, replacing the testnet's bootstrap issuance. - Multi-node network — operator discovery, quote aggregation across nodes, and distribution of the block reward across operators.
- More pairs — every additional pair routed through USDC compounds the buy-and-burn pressure on ZHOU.
非カストディ・クロスチェーン・スワップネットワーク
概要
Zhouswap は、Bitcoin SV(BSV)チェーンと Ethereum チェーンをまたいで価値を交換する、分散型・非カストディのネットワークです。誰もが ZHOU(BSV 上で発行されるトークン)、BSV(ネイティブ)、および USD ステーブルコイン(Ethereum 上の USDC・USDT)の間を、資産の管理権(カストディ)を運営者に一切預けることなく交換できます。決済にはハッシュタイムロック型のアトミックスワップを用います。取引の両サイドが同一の秘密のもとでそれぞれのチェーン上にロックされるため、所有権は同時に移るか、まったく移らないかのどちらかです。両レッグを同時に握る仲介者は存在しません。
価格は定積型(x·y=k)の自動マーケットメイカー(AMM)が提示し、スプレッドは USDC 建てで 1% です。このスプレッドは特定の運営者の利益にはなりません。USDC として蓄積され、10 分ごとに曲線上で ZHOU を買い戻し、オンチェーンで恒久的に 焼却(burn)されます。したがって ZHOU の供給は、ネットワークが使われるほど収縮していきます。
ネットワークは独立した ノード運営者 によって動かされます。誰でも zhoud ノードソフトウェアを動かし、自分の在庫から流動性を供給し、見積もりとスワップを提供できます。中央サーバーも、カストディ型のウォレットも、ユーザー資産を凍結・押収できる特権的な主体も存在しません。
1. 動機
多くの「分散型取引所」は、スマートコントラクトの部分だけが分散的で、扱う資産は単一のチェーン上にあり、インターフェースを運営するのは一つの会社です。一方、チェーン間で価値を動かす手段は、依然としてカストディ型のブリッジや取引所に大きく依存しています。それこそが、業界史上最大級の損失を生んできた構成要素です。
- カストディはユーザーから離れない。 ブリッジ無しに 2 チェーンを跨いでトラストレスに取引する唯一の方法はアトミックスワップです。Zhouswap は決済層の全体をこの原理の上に構築します。
- 価値を捕捉・再循環させるのは運営者ではなくネットワーク。 手数料は事業収益ではなく、ネットワーク全体が共有するトークンの供給収縮圧に変換されます。
- 誰もがカウンターパーティになれる。 ノードソフトウェアはオープンかつパーミッションレス。流動性は、単一のプールコントラクトではなく、スワップを提供しようと競う運営者たちから供給されます。
2. 設計の全体像
Zhouswap のスワップは、一つの秘密で束ねられた、2 つのチェーン上の 2 つのレッグから成ります。
ユーザー ノード(スワップの相手方)
| (1)見積もり要求 H=SHA256(s) | AMMが価格提示・スプレッド1%
| --------------------------------->|
| (2)自分の資産をHでロック |
| ---- BSV または Ethereum ------->| (3)検証後、反対側の資産をHでロック
| (4)請求してsをオンチェーンに公開 |
| <---------------------------------| (5)ノードがsを読み自分側を請求→完了
|
+- どちらか停止時は各期限後に双方返金
- BSV 側 は純粋な Bitcoin Script で表現します(Solidity 不使用)。ZHOU トークン、ネイティブ BSV、スワップのロックはすべてスクリプト出力です。
- Ethereum 側 は USDC・USDT が ERC-20 であるためにのみ存在します。選択されたステーブルコインをエスクローし、正しい秘密で解放する、単一で最小限のハッシュタイムロックコントラクトです。ロックごとに使用トークンを記録し(単一デプロイで USDC・USDT 両対応)、USDT のように
transferが真偽値を返さない非標準トークンにも SafeERC20 方式で対応します。この側では USDC と USDT を 1:1 で扱い、AMM は USDC 建て会計を維持します。両チェーンとも秘密を SHA-256 でハッシュするため、同じ秘密が両方のロックを開けます。 - ノードソフトウェア(
zhoud、Go 製・外部チェーン SDK 非依存)が両チェーンのトランザクションを構築・署名し、AMM を動かし、両チェーンを監視し、各スワップを自律的に完了または返金まで進めます。
2.1 決済層:BSV と Teranode
Zhouswap は決済層に、無制限スケーリング設計の BSV を採用する。BSV の次世代ノード実装 Teranode は、テスト環境において秒間100万トランザクション超の処理を既に実証している。これは主要な国際カード決済ネットワークのピーク処理能力を一桁上回る水準であり、BSV のロードマップはさらに秒間1億件級を目標に置く。メインネットは2026年4月の Chronicle アップグレードで原初プロトコルの復元を完了し、Teranode 時代への移行段階にある。
この数字は単なるハードウェアの増強ではなく、アーキテクチャの転換によって達成された。無制限ブロックには古典的な反論——ブロックが巨大化すれば伝播・検証・マイニングテンプレートの再構築がブロック間隔に追いつかず、孤立ブロック率の上昇を通じて実効セキュリティが毀損される——が存在し、Teranode はこの問題への構造的回答として設計された。核心は「ブロックを発見してから中身を配る」逐次モデルの廃棄である。トランザクションはサブツリー単位で継続的にネットワークへ先行配信・先行検証され、マークルルートは差分更新される。ブロック発見時に伝播するのは「どのサブツリー群を束ねたか」という宣言のみであり、検証と伝播はその時点で概ね完了している。ブロックサイズと伝播遅延の比例関係そのものを断ち切ることで、100万TPS級のブロックが孤立率を押し上げない基盤を成立させている。
Zhouswap にとってこの容量は、二重の意味を持つ。第一に、決済層のスループットが本プロトコルの成長の制約になることは、いかなる規模においても事実上あり得ない。第二に、BSV の安全性モデルは膨大な取引数量の存在を前提とするため(§7 参照)、1億TPS という目標はマーケティングではなくセキュリティ予算の要請である——数量で予算を賄うと決めたチェーンは、数量を運ぶ器を先に用意しなければならない。Teranode はその器である。
3. アトミックスワップ・プロトコル
3.1 ハッシュロック出力
ロックされた各レッグはハッシュタイムロック出力に支払われます。BSV では、出力は 2 つの支払い経路を持ちます。
IF OP_SIZE <32> OP_EQUALVERIFY OP_SHA256 <H> OP_EQUALVERIFY
OP_DUP OP_HASH160 <請求者PKH> OP_EQUALVERIFY OP_CHECKSIG (秘密で請求)
ELSE OP_2 <pkA> <pkB> OP_2 OP_CHECKMULTISIG (返金・2-of-2)
ENDIF
請求経路は、SHA256(s)=H を満たす 32 バイトのプリイメージ s と請求者の署名を提示したときにのみ使用できます。OP_SIZE ガードはプリイメージを厳密に 32 バイトに制限し、BSV と Ethereum が同一の入力をハッシュすることを保証します。Ethereum コントラクトは sha256(abi.encodePacked(preimage)) でこれを鏡写しにします。
3.2 なぜ「アトミック」なのか
先に請求する側は、その過程で必ず s をオンチェーンに公開します。s が公開された時点で、相手方は必ずもう一方のレッグを請求できます。「片側だけ請求され、もう片側が請求不能」という状態は存在しません。スワップは両チェーンで完了するか、両チェーンで返金されるかのどちらかです。
3.3 オンチェーン・タイムロック無しでの返金
BSV の Genesis アップグレードで OP_CHECKLOCKTIMEVERIFY が無効化されたため、BSV スクリプト単体では返金期限を強制できません。そこで Zhouswap は標準的なクロスチェーンスワップの構成を用います。返金経路を 2-of-2 出力とし、資金をロックする前に、nLockTime = 期限・入力シーケンス非 final の 事前署名済み返金トランザクション を両者で交換します。期限到達後、事前署名トランザクションを保持する側がそれを単独で放送してロック資産を回収できます。Ethereum レッグはコントラクトが本物の期限を強制し、直接返金します。
先にロックする側には常により長い期限が与えられるため、後からロックする側が先にロックした側を取り残すことはできません。
4. 自動マーケットメイカー(AMM)
各ノードは定積型(x·y=k)プールを動かします。
- ZHOU / USDC
- BSV / USDC
ZHOU ⇄ BSV の取引は両プールをまたいで USDC を経由してルーティングされ、1% 手数料は中間の USDC に対して一度だけ課され、二重取りはしません。
スプレッドは常に USDC 建てです。買い(USDC 投入)では曲線に通す前に入力から差し引き、売りでは曲線が出した USDC から差し引きます。手数料はプールごとの手数料準備金に積み立てられます。
並行処理下でも提示価格を正しく保つため、見積もりは見積もり時点で在庫を予約します。次の見積もりに対して曲線は即座に動き、提示した正確な数量が決済時にそのままコミットされます。成立しなかった見積もりは、期限切れで予約を解放します。
5. ZHOU トークンとトークノミクス
5.1 トークン
ZHOU は BSV 上の UTXO 型トークンです。単位は satoshi で、1 ZHOU 単位 = 特別にタグ付けされた出力の 1 satoshi。ERC-20 コントラクトも別個の台帳も存在しません。ビットコインの UTXO 集合が台帳そのものであり、有効性は出力の系譜を単一の発行トランザクションまで遡ることで確立します(マイナーはトークン規則を強制しないため、インデクサが検証します)。
5.2 金融政策 — ビットコインと完全に同一
ZHOU はビットコインの金融政策を、数字ごとそのまま踏襲します。
- 上限:21,000,000 ZHOU。 プレマインなし・チーム割当なし・売り出しなし。
- ブロック報酬:1ブロックあたり 50 ZHOU。そのブロックを産出した運営者——Zhou ネットワークの「採掘者」——に支払われます。
- 210,000 ブロックごとに半減。報酬は 50 → 25 → 12.5 → … と段階的に減り、漸近的に停止します。
定数はビットコインと同じで、合計も同じ上限に一致します:50 × 210,000 × 2 = 21,000,000。エミッションはネットワークのジェネシスブロックを起点にブロック高で刻まれます。存在しうる全ての ZHOU は、そのブロックを採掘した者へのブロック報酬として発行されます——他の発行経路はありません。分配はビットコイン的な意味で最大限に公平で、供給はトレジャリーや投資家ラウンドではなく、ネットワークを運営・防衛する労働をした参加者へ、時間をかけて手渡されます。
実装状況:ブロック報酬エミッターはノードソフトウェアに実装済み・単体テスト済み(internal/emission)です。ジェネシスで上限を一度だけロック準備金にミントし、ノードが BSV ブロック高を読んでスケジュール分を準備金から流通へ解放し、規定どおり半減します。各運営者は zhoud -issue-reserve と emission_enabled で有効化します。ZHOU は不可分トークンのため整数半減の打ち切りがビットコイン同様に起き、全スケジュールで 20,370,000 ZHOU が解放されます(21,000,000 は準備金・上限、尾部解放を有効にしない限り残りは未解放)。現在の公開テストネットノードは、まだブートストラップ発行から実エミッションへ切り替えていません。
5.3 バイバック&バーン — デフレの対抗装置
ネットワークが USDC で集める 1% のスプレッドは、利益として引き出されることは決してありません。10 分ごとに、全プールで蓄積された USDC で曲線上の ZHOU を買い戻し、買い戻した ZHOU を証明可能に使用不能な OP_FALSE OP_RETURN 出力へ送り — オンチェーンで検証可能な形で恒久的に焼却します。
- BSV/USDC・USDT のスワップを含め、あらゆるスワップが ZHOU を買い戻すための USDC を増やします。取引ペアを増やすほど、ZHOU への買い圧が増します。
- エミッションは 21,000,000 で上限を打ち、半減のたびに逓減します。焼却は継続的で無制限です。エミッションが焼却率を下回った時点で、流通供給は正味デフレに転じ、21M 上限を下回っていきます。
- 買い戻しが同じ曲線上で実行されるため、各サイクルで ZHOU の仲値を検証可能に押し上げます。
すべての焼却は公開のオンチェーン取引であり、累計焼却量は各ノードが報告します。
6. ノードソフトウェアと分散化
zhoud は、外部ブロックチェーン SDK に依存しない単一の Go バイナリです。BSV トランザクション構築と SIGHASH_FORKID 署名、Ethereum EIP-155 署名、RLP/ABI エンコード、両チェーンの監視、AMM、バイバック・バーンのスケジューラを、原理から実装しています。
ノードの役割:見積もりとスワップの提供(小さな HTTP/JSON API 経由・Web UI のバックエンドも兼ねる)/運営者自身の BSV・ZHOU・USDC・USDT 在庫からの流動性供給/両チェーンの監視と、人手を介さないスワップの完了・返金まで/スケジュールに従ったバイバック&バーンの実行。
ユーザーは、鍵をローカルに保持するコマンドラインクライアント(zhou-cli)を通じて操作します。クライアントは資金をコミットする前に、すべてのロックスクリプトを独立に再構築・照合します。そのため、悪意あるノードがユーザーを騙して誤ったスクリプトにロックさせたり、存在しないロックに対して秘密を公開させたりすることはできません。Web インターフェースは任意のノードの公開 API に接続します。ユーザーのスワップの秘密はブラウザ内で生成され、外部に出ることはありません(送信されるのはそのハッシュのみ)。
中央運営者も、ユーザー資産を保持するカストディ型のホットウォレットも、進行中のスワップを一時停止・押収できる主体も存在しません。
7. セキュリティモデル
プロトコルが保証すること。 カストディは終始各当事者に残ります。アトミックスワップ決済は、ノードもユーザーも、相手に第 2 レッグを取ることを許すことなしに片方のレッグを取ることはできない、という性質を意味します。秘密はクライアント生成で、サーバーが見るのはハッシュのみ。両チェーンとも固定 32 バイトのプリイメージに対して SHA-256 でハッシュするため、2 つのレッグは暗号的に束縛されます。署名は low-S 正準(malleability なし)で、ノードは自分の資金をコミットする前に相手方のオンチェーンロック — スクリプト・トークン・金額・受取人・確認深度 — を独立に検証します。
取り除かれないこと。 アトミックスワップは窃取を防ぎますが、非完了は防ぎません。半端に終わったスワップを放棄した相手方は返金経路を強制します。だからこそ事前署名返金と段階的な期限が重要です。クロスチェーンのファイナリティ(リオーグ)、手数料見積もり、在庫管理はノードが扱うべき運用上のリスクであり、Zhouswap は設定可能な確認深度で自らの動作をゲートしてこれらを軽減します。
成熟度。 プロトコルとノードソフトウェアは大規模な内部敵対レビューと反復的なハードニングを経ており、返金とバイバック・バーンを含むスワップ全工程が公開テストネット(BSV testnet + Ethereum Sepolia)でエンドツーエンドに実証されています。本システムは第三者による独立監査をまだ完了していません。それが完了するまでは本番前として扱うべきであり、テストネットおよび少額用途に限定してください。本書のいかなる記述も、資金の預け入れを勧誘するものではありません。
8. ロードマップ
- テストネットのハードニング — 両レッグの事前署名返金交換、確認深度でゲートした決済、再起動をまたぐ在庫の照合。(概ね実装済み)
- 独立監査 — Bitcoin Script、Ethereum コントラクト、ノードのスワップ状態機械の第三者レビュー。
- メインネット — Ethereum コントラクトのメインネットデプロイ、BSV メインネットでの ZHOU 発行、実在庫でのスワップ開始。監査と運営者の規制対応を前提とします。
- ブロック報酬エミッションエンジン — §5.2 のビットコイン型エミッター:1ブロック 50 ZHOU をそのブロックの採掘者へ、210,000 ブロックごとに半減、上限 21,000,000。実装済み・単体テスト済み(
internal/emission)。運営者ごとに有効化し、メインネットの既定金融政策としてテストネットのブートストラップ発行を置き換えます。 - マルチノードネットワーク — 運営者の発見、ノード横断の見積もり集約、ブロック報酬の運営者間分配。
- ペアの拡充 — USDC を経由する追加ペアはいずれも ZHOU への買い・焼却圧を複利的に高めます。