Atomic Service Channels (ASCs)
- Atomic Service Channels (ASCs) are off-chain constructions that atomically bind service execution with payment settlement to prevent intermediate state leakage.
- They employ advanced cryptographic techniques such as zk-SNARKs, VSS, and TEE-assisted adaptor signatures to enforce fairness and secure state transitions.
- Empirical evaluations demonstrate that ASCs achieve high throughput, significantly lower on-chain costs, and minimal settlement latency compared to standard payment channels.
Atomic Service Channels (ASCs) are off-chain channel constructions that bind service exchange to balance settlement so that the composite interaction is atomic rather than decomposed into separable payment and delivery steps. In the current arXiv literature, the term is used in two closely related but non-identical senses. In Cross-Channel, an ASC between parties and spanning blockchains and is a pair of off-chain state channels for high-frequency cross-chain services such as payments, information exchanges, and barter trades. In A402, an ASC with respect to blockchain is a tuple that integrates service execution into a payment channel for Machine-to-Machine commerce, with explicit exec-pay-deliver atomicity and optional private settlement through a TEE-based Liquidity Vault (Guo et al., 2022, Li et al., 1 Mar 2026).
1. Definitions and conceptual scope
Cross-Channel defines the atomicity goal as an all-or-nothing property over the paired channels: either and remain in their pre-service states, or they swap states atomically so that obtains 0-offered assets and 1 obtains 2-offered assets, with no intermediate leakage. Its notion of fairness is that neither party can learn or enjoy the exchanged object—cryptocurrency, encrypted data, or digital commodity—before the other party has irrevocably committed its own side. A402 formalizes an ASC as 3, where 4, 5, and 6. It exposes three interfaces: 7
8
9
A402 also contrasts ASCs with a standard payment channel 0, which tracks only 1 and supports Open, Pay, and Close. In that formulation there is no notion of service execution or result delivery, and state transitions are purely asset-centric. The explicit consequence given is that such channels lack any binding between off-chain service execution and on-chain payment, leading to fairness violations such as free-riding or non-payment.
| Dimension | Cross-Channel ASC | A402 ASC |
|---|---|---|
| Formal object | pair 2 | tuple 3 |
| Primary setting | cross-chain services across 4 | Web 3.0 payments bound to Web 2.0 services |
| Native operations | hierarchical off-chain service exchange and cross-chain settlement | 5, 6, 7 |
| Core enforcement | hierarchical settlement, general fair exchange, HTLC-style hash-timelock | TEE-assisted adaptor signatures, dispute window, TEE-based Liquidity Vault |
These definitions place ASCs at the intersection of payment channels, fair exchange, and interoperability. This suggests that the term is not merely a synonym for a faster payment channel, but a label for protocols that make service semantics part of the channel state and settlement logic (Guo et al., 2022, Li et al., 1 Mar 2026).
2. Channel architecture and state semantics
The Cross-Channel construction is organized around a hierarchical channel structure designed to avoid the “Unsettled-Amount Congestion” problem, namely funds that are reserved but cannot be re-used until channel closure. Each channel 8 carries a state
9
subject to the invariant
0
where 1 is the on-chain deposit of 2. At layer 3, the ASC consists of the main channels 4. When a party needs to spend an unsettled receipt 5 of value 6 in 7, it negotiates a sub-channel 8 at layer 9 with another counterparty to re-use that 0 off-chain. More generally, a layer-1 channel 2 may spawn a layer-3 sub-channel 4 to mobilize newly issued, unsettled receipts of its parent. If the network contains 5 nodes and each pair shares a persistent channel at layer 6, then exchanged receipts flow off-chain until closure, giving effectively 7 parallel throughput.
A402 uses a narrower but more explicit state machine. During atomic exchange, the state variable maintained by 8 and 9 is
0
where 1 is a version counter and 2 during channel operation. The creation phase begins when 3 calls 4. The delegated manager 5 initializes its TEE committee per policy 6, checks that no existing 7 exists, and ensures a secure channel 8 with 9. It then runs 0, submits 1 to 2, and awaits confirmation. On-chain, 3 locks 4 funds in a 2-of-2 or smart-contract address; locally, 5 and 6 record 7 in state 8.
The architectural difference is direct. Cross-Channel generalizes balance mobility by recursively nesting sub-channels, whereas A402 serializes service execution inside one channel by enforcing the state trajectory 9, thereby ensuring exactly one request in flight (Guo et al., 2022, Li et al., 1 Mar 2026).
3. Atomic exchange and fair-service enforcement
Cross-Channel’s general fair exchange protocol 0 is built from zk-SNARK and Pedersen 1-VSS. In setup, the parties build an arithmetic circuit 2 that, on private inputs 3, verifies three conditions: 4 encrypts under key 5 to ciphertext 6; 7 shares into 8 via 9-VSS; and the hash-locks 0 match public values. Then 1. In the share phase, each party runs Pedersen 2-VSS.Share on the secret key 3, commits 4, uploads 5 on-chain, selects 6 random miners, and encrypts and signs shares to them; miners verify commitments and may appeal on-chain if a share is invalid. In the exchange phase, the sender computes 7 and
8
and the parties swap 9, after which each runs 0. In the recover phase, both send on-chain 1 requests, VSS recipients submit 2, the contract verifies 3, and once at least 4 valid shares are collected, the requester reconstructs 5 by Lagrange interpolation and decrypts.
Cross-chain settlement in Cross-Channel then uses an HTLC-style hash-timelock on final channel balances. Parties lock final states under hash 6 with time-outs 7, and the “lock”, “update”, and “refund” steps mirror classic HTLC. The fairness guarantee in 8 rests on
9
where 00 is the maximum number of Byzantine miners. The stated consequence is twofold: no 01-colluding adversaries can reconstruct 02, and at least 03 honest nodes can always supply shares for correct recovery.
A402 replaces zk-SNARK/VSS fair exchange with an atomic exchange protocol based on TEE-assisted adaptor signatures. After 04 locks 05 by moving balance from 06 to 07 and setting 08, 09 executes the request inside a TEE, samples 10, sets 11, encrypts the result as 12, computes 13 and 14, and generates the adaptor pre-signature 15. The manager verifies 16, issues the conditional payment signature 17, and moves the state to 18. The provider then either reveals 19 off-chain or performs on-chain fallback by computing 20 and calling 21. On secret reveal, 22 decrypts 23, adjusts balances, returns the channel to 24, and delivers the result to 25.
A402 states the end-to-end property as exec-pay-deliver atomicity. Its formal definition is
26
The accompanying argument is that the TEE enforces execution before 27, while the adaptor signature ensures that payment finalization reveals 28, which is the decryption key for the result (Guo et al., 2022, Li et al., 1 Mar 2026).
4. Closure, settlement, and liquidity aggregation
Cross-Channel closes by running the same close routine simultaneously in 29 and 30. After CloseRequest messages from all parties, the smart contract 31 sets the state to 32, starts a timer 33, and broadcasts a CloseEvent. While 34 has not expired, each party uploads 35, its computed final balance vector at its channel level, together with the set 36 of sub-channel receipts it opened. On expiry, 37 verifies each channel layer by layer from level 38 to level 39. If 40 or signatures are invalid, then 41 and all its descendants are marked 42; otherwise the contract sets on-chain balances per 43. Any failure at layer 44 invalidates that layer and all higher layers. Every successful layer deposits its final state; failed ones revert to parent balances.
A402 separates cooperative closure, unilateral client closure, unilateral provider closure, and vault settlement. In the cooperative path, 45 or 46 requests closure, 47 runs 48, 49 executes 50, and the state becomes 51. In unilateral client closure, 52 starts an on-chain procedure with dispute window 53; if no challenge is raised, 54 finalizes closure and the state becomes 55. In unilateral provider closure, 56 acts differently depending on channel state: if 57, the result is cooperative-style close; if 58, the on-chain close with adaptor signature reveals 59 on-chain, allowing 60 to extract it and decrypt the result before final closure.
The TEE-based Liquidity Vault extends A402 from per-channel settlement to private balance aggregation. Each participant 61 has off-chain vault state 62. After 63 submits 64 to 65, the vault committee records the deposit by increasing 66. Opening a private ASC from vault balances requires no on-chain transaction: the vault debits 67, generates 68, and creates 69 off-chain. Closure credits balances back when 70. Settlement later aggregates the free balance into a single on-chain transaction
71
after which 72. The exposed on-chain quantity is only the aggregate
73
in one 74 (Guo et al., 2022, Li et al., 1 Mar 2026).
5. Security model, dispute handling, and interpretive issues
Cross-Channel assumes that 75 and 76 may be arbitrarily malicious and that miners run a BFT chain tolerating 77 Byzantine nodes. The fairness of 78 is attributed to zk-SNARK soundness and zero-knowledge together with the 79-VSS thresholds, so that there is no information leak and proofs are unforgeable. Invalid share appeals are stated to abort safely even under asynchronous delays. Atomicity of cross-chain settlement is guaranteed by the HTLC timers 80. To mitigate asynchrony, an extra timer 81 allows any honest miner who learns 82 after timeout to complete the settlement and claim a small on-chain reward. Latency avoidance is achieved because payments, data swaps, and sub-channel openings occur off-chain, while on-chain interaction is limited to channel open and close, key-share appeals, and final HTLC locks and updates.
A402 frames its guarantees as trust-minimized asset security, exec-pay-deliver atomicity, and unlinkability in vault mode. Regardless of 83 or 84 availability or honesty, 85 and 86 can unilaterally force on-chain settlement via 87 or 88, and assets are never locked indefinitely because of the challenge windows. Its primitive set explicitly includes adaptor signatures 89, collision-resistant hash 90, symmetric encryption 91, and TEE remote attestation 92. In vault mode, on-chain observers see vault initialization and settlement, but not individual ASC creation and closure, so the observer cannot link 93 or the client-service graph for individual ASCs.
A recurring misunderstanding addressed directly by the literature is the identification of ASCs with ordinary payment channels. A402 rejects that equivalence by defining the absence of service execution and result delivery as the central limitation of 94. Cross-Channel broadens the exchange object beyond coins to encrypted data and digital commodities, while preserving on-chain recourse. This suggests that the defining feature of an ASC is not simply off-chain balance movement, but an enforceable coupling between service execution, counter-performance, and final settlement (Guo et al., 2022, Li et al., 1 Mar 2026).
6. Empirical evaluation and practical significance
Cross-Channel was deployed on two 100-node Ethereum testnets (PoW) across 50 AliCloud VMs, simulating up to 95 transactions per chain. Reported gas consumption at Gwei price 96 is approximately 97 k gas for Open, approximately 98 k gas for Upload (key shares), approximately 99 k gas for Close (hierarchical settlement), 00–01 k gas for Lock/Update, and approximately 02 k gas for Update-EIE (with key recovery). For 03 cross-chain exchanges, the paper reports that Cross-Channel uses approximately 04 M gas total, while a naïve HTLC uses 05 M 06 and MAD-HTLC uses 07 M 08. Transaction confirmation latency for open, lock, update, and close remains 09–10 s even at 11 nodes. Throughput scales linearly in 12 channels: with 13 channels, approximately 14 nodes 15 per channel, the system sustained 16 receipts/s in pure coin exchange and 17 Tr/s in encrypted-info exchange. Off-chain cryptographic overhead is also quantified: zk-SNARK proving time is sub-second even for 18-block messages, proof size is approximately 19 kB, verification is approximately ms, and VSS.Share, Verify, and Recover are all msec-level at 20 up to 21.
A402 reports both Ethereum and Bitcoin integrations and evaluates them against x402. On Ethereum, the ASC Manager contract exposes createASC, closeASC, initForceClose, finalForceClose, forceClose, initVault, settleVault, initForceSettle, and finalForceSettle. Standard ASC mode costs 22 gas for createASC and 23 gas for closeASC, for a total of 24 gas (25). The x402 baseline is 26 gas, stated as 27 per request. On Bitcoin, using Taproot (P2TR) with MAST, createASC costs 28 vB (29), and total channel cost is 30 vB (31) and 32 costs 33 vB (34) per request, which the paper characterizes as linear 35.
For off-chain performance, A402 reports a peak throughput of 36 RPS at 37 concurrent requests and average latency rising from 38 ms to 39 ms as load scales from 40 to 41. It compares this with on-chain baselines of approximately 42 TPS for Ethereum and approximately 43 TPS for Bitcoin, yielding approximately 44 and approximately 45 higher throughput respectively, and contrasts sub-second ASC latency with seconds-to-minutes on mainnets, including approximately 46 s for Solana, approximately 47 min for Ethereum, and approximately 48 min for Bitcoin. At 49 requests on Ethereum, the reported costs are 50 gas 51 for vault A402, and 52 gas 53 for A402 versus 54 vB 55 for x402, for a 56 reduction. Appendix results further state that adding more vault replicas scales capacity linearly while per-request latency remains stable because it is dominated by service execution and network delay.
Taken together, the empirical record distinguishes two operating regimes. Cross-Channel emphasizes high-frequency and large-scale cross-chain services with amortized on-chain cost across many off-chain operations, while A402 emphasizes real-time micropayments for Web 3.0/Web 2.0 service composition with private settlement aggregation. A plausible implication is that the ASC label now covers at least two protocol lineages: one centered on cross-chain fair exchange with hierarchical settlement, and one centered on service-integrated payment channels with TEE-assisted execution and vault-based balance privacy (Guo et al., 2022, Li et al., 1 Mar 2026).