Papers
Topics
Authors
Recent
Search
2000 character limit reached

Atomic Service Channels (ASCs)

Updated 4 July 2026
  • 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 S\mathcal{S} and R\mathcal{R} spanning blockchains α\alpha and β\beta is a pair of off-chain state channels Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_0 for high-frequency cross-chain services such as payments, information exchanges, and barter trades. In A402, an ASC with respect to blockchain L\mathcal{L} is a tuple (C,S,Γ)(C,S,\Gamma) 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 S\mathcal{S} and R\mathcal{R} remain in their pre-service states, or they swap states atomically so that S\mathcal{S} obtains R\mathcal{R}0-offered assets and R\mathcal{R}1 obtains R\mathcal{R}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 R\mathcal{R}3, where R\mathcal{R}4, R\mathcal{R}5, and R\mathcal{R}6. It exposes three interfaces: R\mathcal{R}7

R\mathcal{R}8

R\mathcal{R}9

A402 also contrasts ASCs with a standard payment channel α\alpha0, which tracks only α\alpha1 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 α\alpha2 tuple α\alpha3
Primary setting cross-chain services across α\alpha4 Web 3.0 payments bound to Web 2.0 services
Native operations hierarchical off-chain service exchange and cross-chain settlement α\alpha5, α\alpha6, α\alpha7
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 α\alpha8 carries a state

α\alpha9

subject to the invariant

β\beta0

where β\beta1 is the on-chain deposit of β\beta2. At layer β\beta3, the ASC consists of the main channels β\beta4. When a party needs to spend an unsettled receipt β\beta5 of value β\beta6 in β\beta7, it negotiates a sub-channel β\beta8 at layer β\beta9 with another counterparty to re-use that Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_00 off-chain. More generally, a layer-Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_01 channel Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_02 may spawn a layer-Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_03 sub-channel Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_04 to mobilize newly issued, unsettled receipts of its parent. If the network contains Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_05 nodes and each pair shares a persistent channel at layer Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_06, then exchanged receipts flow off-chain until closure, giving effectively Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_07 parallel throughput.

A402 uses a narrower but more explicit state machine. During atomic exchange, the state variable maintained by Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_08 and Ω0α,Ω0β\Omega^\alpha_0,\Omega^\beta_09 is

L\mathcal{L}0

where L\mathcal{L}1 is a version counter and L\mathcal{L}2 during channel operation. The creation phase begins when L\mathcal{L}3 calls L\mathcal{L}4. The delegated manager L\mathcal{L}5 initializes its TEE committee per policy L\mathcal{L}6, checks that no existing L\mathcal{L}7 exists, and ensures a secure channel L\mathcal{L}8 with L\mathcal{L}9. It then runs (C,S,Γ)(C,S,\Gamma)0, submits (C,S,Γ)(C,S,\Gamma)1 to (C,S,Γ)(C,S,\Gamma)2, and awaits confirmation. On-chain, (C,S,Γ)(C,S,\Gamma)3 locks (C,S,Γ)(C,S,\Gamma)4 funds in a 2-of-2 or smart-contract address; locally, (C,S,Γ)(C,S,\Gamma)5 and (C,S,Γ)(C,S,\Gamma)6 record (C,S,Γ)(C,S,\Gamma)7 in state (C,S,Γ)(C,S,\Gamma)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 (C,S,Γ)(C,S,\Gamma)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 S\mathcal{S}0 is built from zk-SNARK and Pedersen S\mathcal{S}1-VSS. In setup, the parties build an arithmetic circuit S\mathcal{S}2 that, on private inputs S\mathcal{S}3, verifies three conditions: S\mathcal{S}4 encrypts under key S\mathcal{S}5 to ciphertext S\mathcal{S}6; S\mathcal{S}7 shares into S\mathcal{S}8 via S\mathcal{S}9-VSS; and the hash-locks R\mathcal{R}0 match public values. Then R\mathcal{R}1. In the share phase, each party runs Pedersen R\mathcal{R}2-VSS.Share on the secret key R\mathcal{R}3, commits R\mathcal{R}4, uploads R\mathcal{R}5 on-chain, selects R\mathcal{R}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 R\mathcal{R}7 and

R\mathcal{R}8

and the parties swap R\mathcal{R}9, after which each runs S\mathcal{S}0. In the recover phase, both send on-chain S\mathcal{S}1 requests, VSS recipients submit S\mathcal{S}2, the contract verifies S\mathcal{S}3, and once at least S\mathcal{S}4 valid shares are collected, the requester reconstructs S\mathcal{S}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 S\mathcal{S}6 with time-outs S\mathcal{S}7, and the “lock”, “update”, and “refund” steps mirror classic HTLC. The fairness guarantee in S\mathcal{S}8 rests on

S\mathcal{S}9

where R\mathcal{R}00 is the maximum number of Byzantine miners. The stated consequence is twofold: no R\mathcal{R}01-colluding adversaries can reconstruct R\mathcal{R}02, and at least R\mathcal{R}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 R\mathcal{R}04 locks R\mathcal{R}05 by moving balance from R\mathcal{R}06 to R\mathcal{R}07 and setting R\mathcal{R}08, R\mathcal{R}09 executes the request inside a TEE, samples R\mathcal{R}10, sets R\mathcal{R}11, encrypts the result as R\mathcal{R}12, computes R\mathcal{R}13 and R\mathcal{R}14, and generates the adaptor pre-signature R\mathcal{R}15. The manager verifies R\mathcal{R}16, issues the conditional payment signature R\mathcal{R}17, and moves the state to R\mathcal{R}18. The provider then either reveals R\mathcal{R}19 off-chain or performs on-chain fallback by computing R\mathcal{R}20 and calling R\mathcal{R}21. On secret reveal, R\mathcal{R}22 decrypts R\mathcal{R}23, adjusts balances, returns the channel to R\mathcal{R}24, and delivers the result to R\mathcal{R}25.

A402 states the end-to-end property as exec-pay-deliver atomicity. Its formal definition is

R\mathcal{R}26

The accompanying argument is that the TEE enforces execution before R\mathcal{R}27, while the adaptor signature ensures that payment finalization reveals R\mathcal{R}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 R\mathcal{R}29 and R\mathcal{R}30. After CloseRequest messages from all parties, the smart contract R\mathcal{R}31 sets the state to R\mathcal{R}32, starts a timer R\mathcal{R}33, and broadcasts a CloseEvent. While R\mathcal{R}34 has not expired, each party uploads R\mathcal{R}35, its computed final balance vector at its channel level, together with the set R\mathcal{R}36 of sub-channel receipts it opened. On expiry, R\mathcal{R}37 verifies each channel layer by layer from level R\mathcal{R}38 to level R\mathcal{R}39. If R\mathcal{R}40 or signatures are invalid, then R\mathcal{R}41 and all its descendants are marked R\mathcal{R}42; otherwise the contract sets on-chain balances per R\mathcal{R}43. Any failure at layer R\mathcal{R}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, R\mathcal{R}45 or R\mathcal{R}46 requests closure, R\mathcal{R}47 runs R\mathcal{R}48, R\mathcal{R}49 executes R\mathcal{R}50, and the state becomes R\mathcal{R}51. In unilateral client closure, R\mathcal{R}52 starts an on-chain procedure with dispute window R\mathcal{R}53; if no challenge is raised, R\mathcal{R}54 finalizes closure and the state becomes R\mathcal{R}55. In unilateral provider closure, R\mathcal{R}56 acts differently depending on channel state: if R\mathcal{R}57, the result is cooperative-style close; if R\mathcal{R}58, the on-chain close with adaptor signature reveals R\mathcal{R}59 on-chain, allowing R\mathcal{R}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 R\mathcal{R}61 has off-chain vault state R\mathcal{R}62. After R\mathcal{R}63 submits R\mathcal{R}64 to R\mathcal{R}65, the vault committee records the deposit by increasing R\mathcal{R}66. Opening a private ASC from vault balances requires no on-chain transaction: the vault debits R\mathcal{R}67, generates R\mathcal{R}68, and creates R\mathcal{R}69 off-chain. Closure credits balances back when R\mathcal{R}70. Settlement later aggregates the free balance into a single on-chain transaction

R\mathcal{R}71

after which R\mathcal{R}72. The exposed on-chain quantity is only the aggregate

R\mathcal{R}73

in one R\mathcal{R}74 (Guo et al., 2022, Li et al., 1 Mar 2026).

5. Security model, dispute handling, and interpretive issues

Cross-Channel assumes that R\mathcal{R}75 and R\mathcal{R}76 may be arbitrarily malicious and that miners run a BFT chain tolerating R\mathcal{R}77 Byzantine nodes. The fairness of R\mathcal{R}78 is attributed to zk-SNARK soundness and zero-knowledge together with the R\mathcal{R}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 R\mathcal{R}80. To mitigate asynchrony, an extra timer R\mathcal{R}81 allows any honest miner who learns R\mathcal{R}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 R\mathcal{R}83 or R\mathcal{R}84 availability or honesty, R\mathcal{R}85 and R\mathcal{R}86 can unilaterally force on-chain settlement via R\mathcal{R}87 or R\mathcal{R}88, and assets are never locked indefinitely because of the challenge windows. Its primitive set explicitly includes adaptor signatures R\mathcal{R}89, collision-resistant hash R\mathcal{R}90, symmetric encryption R\mathcal{R}91, and TEE remote attestation R\mathcal{R}92. In vault mode, on-chain observers see vault initialization and settlement, but not individual ASC creation and closure, so the observer cannot link R\mathcal{R}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 R\mathcal{R}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 R\mathcal{R}95 transactions per chain. Reported gas consumption at Gwei price R\mathcal{R}96 is approximately R\mathcal{R}97 k gas for Open, approximately R\mathcal{R}98 k gas for Upload (key shares), approximately R\mathcal{R}99 k gas for Close (hierarchical settlement), α\alpha00–α\alpha01 k gas for Lock/Update, and approximately α\alpha02 k gas for Update-EIE (with key recovery). For α\alpha03 cross-chain exchanges, the paper reports that Cross-Channel uses approximately α\alpha04 M gas total, while a naïve HTLC uses α\alpha05 M α\alpha06 and MAD-HTLC uses α\alpha07 M α\alpha08. Transaction confirmation latency for open, lock, update, and close remains α\alpha09–α\alpha10 s even at α\alpha11 nodes. Throughput scales linearly in α\alpha12 channels: with α\alpha13 channels, approximately α\alpha14 nodes α\alpha15 per channel, the system sustained α\alpha16 receipts/s in pure coin exchange and α\alpha17 Tr/s in encrypted-info exchange. Off-chain cryptographic overhead is also quantified: zk-SNARK proving time is sub-second even for α\alpha18-block messages, proof size is approximately α\alpha19 kB, verification is approximately ms, and VSS.Share, Verify, and Recover are all msec-level at α\alpha20 up to α\alpha21.

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 α\alpha22 gas for createASC and α\alpha23 gas for closeASC, for a total of α\alpha24 gas (α\alpha25). The x402 baseline is α\alpha26 gas, stated as α\alpha27 per request. On Bitcoin, using Taproot (P2TR) with MAST, createASC costs α\alpha28 vB (α\alpha29), and total channel cost is α\alpha30 vB (α\alpha31) and α\alpha32 costs α\alpha33 vB (α\alpha34) per request, which the paper characterizes as linear α\alpha35.

For off-chain performance, A402 reports a peak throughput of α\alpha36 RPS at α\alpha37 concurrent requests and average latency rising from α\alpha38 ms to α\alpha39 ms as load scales from α\alpha40 to α\alpha41. It compares this with on-chain baselines of approximately α\alpha42 TPS for Ethereum and approximately α\alpha43 TPS for Bitcoin, yielding approximately α\alpha44 and approximately α\alpha45 higher throughput respectively, and contrasts sub-second ASC latency with seconds-to-minutes on mainnets, including approximately α\alpha46 s for Solana, approximately α\alpha47 min for Ethereum, and approximately α\alpha48 min for Bitcoin. At α\alpha49 requests on Ethereum, the reported costs are α\alpha50 gas α\alpha51 for vault A402, and α\alpha52 gas α\alpha53 for A402 versus α\alpha54 vB α\alpha55 for x402, for a α\alpha56 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).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Atomic Service Channels (ASCs).