[Paper Review] Atomic Crosschain Transactions White Paper
This paper proposes a novel atomic crosschain transaction protocol for private Ethereum blockchains that enables synchronous, atomic cross-contract and cross-blockchain function calls without relying on HTLCs, relay chains, or trusted intermediaries. It leverages BLS threshold signatures, nested transactions with live argument checking, coordination contracts for state management, and dynamic code analysis to ensure consistency and safety across blockchains, achieving atomicity through a coordination contract and timeout mechanisms.
Atomic Crosschain Transaction technology allows composable programming across private Ethereum blockchains. It allows for inter-contract and inter-blockchain function calls that are both synchronous and atomic: if one part fails, the whole call graph of function calls is rolled back. It is not based on existing techniques such as Hash Time Locked Contracts, relay chains, block header transfer, or trusted intermediaries. BLS Threshold Signatures are used to prove to validators on one blockchain that information came from another blockchain and that a majority of the validators of that blockchain agree on the information. Coordination Contracts are used to manage the state of a Crosschain Transaction and as a repository of Blockchain Public Keys. Dynamic code analysis and signed nested transactions are used together with live argument checking to ensure execution only occurs if the execution results in valid state changes. Contract Locking and Lockability enable atomic updates.
Motivation & Objective
- To enable composable, atomic crosschain transactions across private Ethereum blockchains without relying on existing crosschain patterns like HTLCs or relay chains.
- To abstract away crosschain complexity for application developers by embedding coordination logic into Ethereum client software.
- To ensure transaction atomicity and consistency across multiple blockchains through a coordination contract and cryptographic proofs.
- To provide a secure, decentralized mechanism for crosschain function calls that guarantees rollback on failure and commit on success.
- To establish formal safety and liveness properties for the protocol under Byzantine and crash failure models.
Proposed method
- The protocol uses nested Ethereum transactions and views, where an originating transaction on one blockchain triggers subordinate transactions and views on other blockchains.
- Signed Subordinate Transactions and Views are created with expected parameter values derived via dynamic program analysis to ensure correctness.
- BLS threshold signatures are used to cryptographically bind crosschain messages, proving that a majority of validators on a source blockchain agree on the transaction data.
- A coordination contract on a designated blockchain maintains the global state of each crosschain transaction, including status (committed, ignored, or pending).
- Each participating blockchain’s validators use local timers to detect timeouts; if a transaction times out, the coordination contract is updated to 'ignored', triggering rollback across all chains.
- Live argument checking ensures that actual function parameters during execution match the expected values in the signed Subordinate Transactions and Views, preventing inconsistent execution.
Experimental results
Research questions
- RQ1How can atomic crosschain transactions be implemented without relying on HTLCs, relay chains, or trusted intermediaries?
- RQ2What cryptographic and consensus mechanisms can ensure strong consistency and atomicity across multiple private Ethereum blockchains?
- RQ3How can dynamic program analysis be used to determine expected parameter values for crosschain function calls?
- RQ4What are the safety and liveness properties of the protocol under Byzantine and crash failures?
- RQ5How can coordination be achieved across multiple blockchains with minimal trust assumptions?
Key findings
- The protocol ensures atomicity by using a coordination contract to globally track transaction state and enforce rollback or commit across all blockchains based on the final state of the coordination contract.
- Safety is formally proven: if a transaction is committed, all participating chains commit their provisional states; if ignored, all chains roll back.
- Liveness is guaranteed: all transactions eventually terminate due to timeout mechanisms, even if coordinating nodes crash.
- The protocol prevents inconsistent execution by enforcing that actual function parameters match the expected values in signed Subordinate Transactions and Views.
- BLS threshold signatures provide cryptographically verifiable proof that a majority of validators on a source blockchain agree on the transaction data, enabling trustless crosschain verification.
- The system is resilient to crash failures of coordinating nodes, as timeout mechanisms and coordination contract state updates ensure eventual termination and consistency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.