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 -offered assets and obtains -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 , where , , and . It exposes three interfaces:
A402 also contrasts ASCs with a standard payment channel , which tracks only 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 | tuple |
| Primary setting | cross-chain services across | Web 3.0 payments bound to Web 2.0 services |
| Native operations | hierarchical off-chain service exchange and cross-chain settlement | , , |
| 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 carries a state
subject to the invariant
where is the on-chain deposit of . At layer $0$, the ASC consists of the main channels . When a party needs to spend an unsettled receipt of value in , it negotiates a sub-channel at layer $1$ with another counterparty to re-use that off-chain. More generally, a layer- channel may spawn a layer- sub-channel to mobilize newly issued, unsettled receipts of its parent. If the network contains nodes and each pair shares a persistent channel at layer $0$, then exchanged receipts flow off-chain until closure, giving effectively parallel throughput.
A402 uses a narrower but more explicit state machine. During atomic exchange, the state variable maintained by and is
where is a version counter and during channel operation. The creation phase begins when calls . The delegated manager initializes its TEE committee per policy , checks that no existing exists, and ensures a secure channel with . It then runs , submits to , and awaits confirmation. On-chain, locks funds in a 2-of-2 or smart-contract address; locally, and record in state .
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 , 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 is built from zk-SNARK and Pedersen -VSS. In setup, the parties build an arithmetic circuit that, on private inputs , verifies three conditions: encrypts under key to ciphertext ; shares into via -VSS; and the hash-locks match public values. Then . In the share phase, each party runs Pedersen -VSS.Share on the secret key , commits , uploads on-chain, selects 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 and
and the parties swap , after which each runs . In the recover phase, both send on-chain requests, VSS recipients submit , the contract verifies , and once at least valid shares are collected, the requester reconstructs 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 with time-outs , and the “lock”, “update”, and “refund” steps mirror classic HTLC. The fairness guarantee in rests on
where is the maximum number of Byzantine miners. The stated consequence is twofold: no -colluding adversaries can reconstruct , and at least 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 locks by moving balance from to and setting , executes the request inside a TEE, samples , sets , encrypts the result as , computes and , and generates the adaptor pre-signature . The manager verifies , issues the conditional payment signature , and moves the state to . The provider then either reveals off-chain or performs on-chain fallback by computing and calling . On secret reveal, decrypts , adjusts balances, returns the channel to , and delivers the result to .
A402 states the end-to-end property as exec-pay-deliver atomicity. Its formal definition is
The accompanying argument is that the TEE enforces execution before , while the adaptor signature ensures that payment finalization reveals , 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 and . After CloseRequest messages from all parties, the smart contract sets the state to , starts a timer , and broadcasts a CloseEvent. While has not expired, each party uploads , its computed final balance vector at its channel level, together with the set of sub-channel receipts it opened. On expiry, verifies each channel layer by layer from level $0$ to level . If or signatures are invalid, then and all its descendants are marked ; otherwise the contract sets on-chain balances per . Any failure at layer 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, or requests closure, runs , executes , and the state becomes . In unilateral client closure, starts an on-chain procedure with dispute window ; if no challenge is raised, finalizes closure and the state becomes . In unilateral provider closure, acts differently depending on channel state: if , the result is cooperative-style close; if , the on-chain close with adaptor signature reveals on-chain, allowing 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 has off-chain vault state . After submits to , the vault committee records the deposit by increasing . Opening a private ASC from vault balances requires no on-chain transaction: the vault debits , generates , and creates off-chain. Closure credits balances back when . Settlement later aggregates the free balance into a single on-chain transaction
after which . The exposed on-chain quantity is only the aggregate
in one (Guo et al., 2022, Li et al., 1 Mar 2026).
5. Security model, dispute handling, and interpretive issues
Cross-Channel assumes that and may be arbitrarily malicious and that miners run a BFT chain tolerating Byzantine nodes. The fairness of is attributed to zk-SNARK soundness and zero-knowledge together with the -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 . To mitigate asynchrony, an extra timer allows any honest miner who learns 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 or availability or honesty, and can unilaterally force on-chain settlement via or , and assets are never locked indefinitely because of the challenge windows. Its primitive set explicitly includes adaptor signatures , collision-resistant hash , symmetric encryption , and TEE remote attestation . In vault mode, on-chain observers see vault initialization and settlement, but not individual ASC creation and closure, so the observer cannot link 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 . 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 transactions per chain. Reported gas consumption at Gwei price is approximately $70$ k gas for Open, approximately $345$ k gas for Upload (key shares), approximately $150$ k gas for Close (hierarchical settlement), $79$–$146$ k gas for Lock/Update, and approximately $109$ k gas for Update-EIE (with key recovery). For cross-chain exchanges, the paper reports that Cross-Channel uses approximately $1.33$ M gas total, while a naïve HTLC uses $0.43$ M and MAD-HTLC uses $0.76$ M . Transaction confirmation latency for open, lock, update, and close remains $3$–$7$ s even at $100$ nodes. Throughput scales linearly in channels: with $500$ channels, approximately $100$ nodes per channel, the system sustained receipts/s in pure coin exchange and Tr/s in encrypted-info exchange. Off-chain cryptographic overhead is also quantified: zk-SNARK proving time is sub-second even for -block messages, proof size is approximately $1$ kB, verification is approximately ms, and VSS.Share, Verify, and Recover are all msec-level at up to .
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 gas for createASC and gas for closeASC, for a total of gas (). The x402 baseline is gas, stated as per request. On Bitcoin, using Taproot (P2TR) with MAST, createASC costs $153$ vB (), and total channel cost is $308$ vB () and costs $192$ vB () per request, which the paper characterizes as linear .
For off-chain performance, A402 reports a peak throughput of RPS at concurrent requests and average latency rising from $340$ ms to $370$ ms as load scales from $100$ to . It compares this with on-chain baselines of approximately $30$ TPS for Ethereum and approximately $7$ TPS for Bitcoin, yielding approximately and approximately higher throughput respectively, and contrasts sub-second ASC latency with seconds-to-minutes on mainnets, including approximately $13$ s for Solana, approximately $13$ min for Ethereum, and approximately $60$ min for Bitcoin. At requests on Ethereum, the reported costs are gas for vault A402, and gas for A402 versus $291$ vB $\times 100=$145.5094\times$ 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).