Whitepaper v0.1 (draft) · 2026-07
Zhouswap
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:

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

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:

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:

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 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

Risks & Disclaimers. This is a technical description of a system under active development, not an offer of any token, security, or financial product. ZHOU is a utility token of the network; nothing here promises price, return, or profit. Cross-chain swaps carry smart-contract, script, reorg, and liquidity risks. Operating a swap node, and using the network, may be subject to regulation in your jurisdiction; operators are responsible for their own legal compliance. The software is provided as-is, without warranty. Do not use it with real-value funds until it has been independently audited.
ホワイトペーパー v0.1(ドラフト)· 2026年7月
Zhouswap
非カストディ・クロスチェーン・スワップネットワーク

概要

Zhouswap は、Bitcoin SV(BSV)チェーンと Ethereum チェーンをまたいで価値を交換する、分散型・非カストディのネットワークです。誰もが ZHOU(BSV 上で発行されるトークン)、BSV(ネイティブ)、および USD ステーブルコイン(Ethereum 上の USDCUSDT)の間を、資産の管理権(カストディ)を運営者に一切預けることなく交換できます。決済にはハッシュタイムロック型のアトミックスワップを用います。取引の両サイドが同一の秘密のもとでそれぞれのチェーン上にロックされるため、所有権は同時に移るか、まったく移らないかのどちらかです。両レッグを同時に握る仲介者は存在しません。

価格は定積型(x·y=k)の自動マーケットメイカー(AMM)が提示し、スプレッドは USDC 建てで 1% です。このスプレッドは特定の運営者の利益にはなりません。USDC として蓄積され、10 分ごとに曲線上で ZHOU を買い戻し、オンチェーンで恒久的に 焼却(burn)されます。したがって ZHOU の供給は、ネットワークが使われるほど収縮していきます。

ネットワークは独立した ノード運営者 によって動かされます。誰でも zhoud ノードソフトウェアを動かし、自分の在庫から流動性を供給し、見積もりとスワップを提供できます。中央サーバーも、カストディ型のウォレットも、ユーザー資産を凍結・押収できる特権的な主体も存在しません。

1. 動機

多くの「分散型取引所」は、スマートコントラクトの部分だけが分散的で、扱う資産は単一のチェーン上にあり、インターフェースを運営するのは一つの会社です。一方、チェーンで価値を動かす手段は、依然としてカストディ型のブリッジや取引所に大きく依存しています。それこそが、業界史上最大級の損失を生んできた構成要素です。

2. 設計の全体像

Zhouswap のスワップは、一つの秘密で束ねられた、2 つのチェーン上の 2 つのレッグから成ります。

ユーザー                        ノード(スワップの相手方)
 |  (1)見積もり要求 H=SHA256(s)      |   AMMが価格提示・スプレッド1%
 | --------------------------------->|
 |  (2)自分の資産をHでロック          |
 | ---- BSV または Ethereum ------->|  (3)検証後、反対側の資産をHでロック
 |  (4)請求してsをオンチェーンに公開  |
 | <---------------------------------|  (5)ノードがsを読み自分側を請求→完了
 |
 +- どちらか停止時は各期限後に双方返金

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 ⇄ 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 はビットコインの金融政策を、数字ごとそのまま踏襲します。

定数はビットコインと同じで、合計も同じ上限に一致します:50 × 210,000 × 2 = 21,000,000。エミッションはネットワークのジェネシスブロックを起点にブロック高で刻まれます。存在しうる全ての ZHOU は、そのブロックを採掘した者へのブロック報酬として発行されます——他の発行経路はありません。分配はビットコイン的な意味で最大限に公平で、供給はトレジャリーや投資家ラウンドではなく、ネットワークを運営・防衛する労働をした参加者へ、時間をかけて手渡されます。

実装状況:ブロック報酬エミッターはノードソフトウェアに実装済み・単体テスト済みinternal/emission)です。ジェネシスで上限を一度だけロック準備金にミントし、ノードが BSV ブロック高を読んでスケジュール分を準備金から流通へ解放し、規定どおり半減します。各運営者は zhoud -issue-reserveemission_enabled で有効化します。ZHOU は不可分トークンのため整数半減の打ち切りがビットコイン同様に起き、全スケジュールで 20,370,000 ZHOU が解放されます(21,000,000 は準備金・上限、尾部解放を有効にしない限り残りは未解放)。現在の公開テストネットノードは、まだブートストラップ発行から実エミッションへ切り替えていません。

5.3 バイバック&バーン — デフレの対抗装置

ネットワークが USDC で集める 1% のスプレッドは、利益として引き出されることは決してありません。10 分ごとに、全プールで蓄積された USDC で曲線上の ZHOU を買い戻し、買い戻した ZHOU を証明可能に使用不能な OP_FALSE OP_RETURN 出力へ送り — オンチェーンで検証可能な形で恒久的に焼却します。

すべての焼却は公開のオンチェーン取引であり、累計焼却量は各ノードが報告します。

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. ロードマップ

リスクと免責。 本書は、活発に開発中のシステムの技術的説明であり、いかなるトークン・証券・金融商品の提供でもありません。ZHOU はネットワークのユーティリティトークンであり、価格・リターン・利益を約束するものではありません。クロスチェーンスワップには、スマートコントラクト・スクリプト・リオーグ・流動性のリスクが伴います。スワップノードの運営、およびネットワークの利用は、お住まいの法域で規制の対象となる場合があります。運営者は自らの法令遵守に責任を負います。ソフトウェアは現状有姿で提供され、無保証です。独立監査を経るまで、実価値の資金では使用しないでください。