Atomic Transfer Graphs: Secure-by-design Protocols for Heterogeneous Blockchain Ecosystems
Stephan Dübler, Federico Badaloni, Pedro Moreno-Sanchez, Clara Schneidewind
TL;DR
This work addresses fragmentation in blockchain ecosystems by introducing Atomic Transfer Graphs ($ATG$) as a unifying specification for transfers and security guarantees. It develops a transfer-tree intermediate representation ($xtree$) and a building block called Conditional Timelock Contracts ($CTLC$) to realize ATGs on heterogeneous transfer agreement mechanisms ($TAM$). The authors provide a formal symbolic security model, prove end-to-end security and correctness, and demonstrate practical CTLC implementations on Ethereum and Bitcoin, plus off-chain payment-channel integrations. By enabling secure-by-design cross-chain and off-chain applications (e.g., multi-hop payments, atomic swaps, crowdfunding) across TAMs, the framework offers a scalable, generic approach to protocol synthesis in heterogeneous blockchain environments. Overall, this framework unifies diverse transfer tasks under a single security- and performance-conscious design paradigm with broad applicability.
Abstract
The heterogeneity of the blockchain landscape has motivated the design of blockchain protocols tailored to specific blockchains and applications that, hence, require custom security proofs. We observe that many blockchain protocols share common security and functionality goals, which can be captured by an atomic transfer graph (ATG) describing the structure of desired transfers. Based on this observation, we contribute a framework for generating secure-by-design protocols that realize these goals. The resulting protocols build upon Conditional Timelock Contracts (CTLCs), a novel minimal smart contract functionality that can be implemented in a large variety of cryptocurrencies with a restricted scripting language (e.g., Bitcoin), and payment channels. We show how ATGs, in addition to enabling novel applications, capture the security and functionality goals of existing applications, including many examples from payment channel networks and complex multi-party cross-currency swaps among Ethereum-style cryptocurrencies. Our framework is the first to provide generic and provably secure protocols for all these use cases while matching or improving the performance of existing use-case-specific protocols.
