PIEChain -- A Practical Blockchain Interoperability Framework

Daniël Reijsbergen,Aung Maw,Jingchi Zhang,Tien Tuan Anh Dinh,Anwitaman Datta
2023-06-16
Abstract:A plethora of different blockchain platforms have emerged in recent years, but many of them operate in silos. As such, there is a need for reliable cross-chain communication to enable blockchain interoperability. Blockchain interoperability is challenging because transactions can typically not be reverted - as such, if one transaction is committed then the protocol must ensure that all related transactions are committed as well. Existing interoperability approaches, e.g., Cosmos and Polkadot, are limited in the sense that they only support interoperability between their own subchains, or require intrusive changes to existing blockchains. To overcome this limitation, we propose PIEChain, a general, Kafka-based cross-chain communication framework. We utilize PIEChain for a practical case study: a cross-chain auction in which users who hold tokens on multiple chains bid for a ticket sold on another chain. PIEChain is the first publicly available, practical implementation of a general framework for cross-chain communication.
Cryptography and Security
What problem does this paper attempt to address?
The problem that this paper attempts to solve is Blockchain Interoperability. With the large number of different blockchain platforms emerging in recent years, many blockchain platforms operate independently, forming information silos. In this case, reliable cross - chain communication between different blockchains becomes particularly important in order to achieve the exchange of assets or information. However, existing interoperability solutions such as Cosmos and Polkadot either only support interoperability between their sub - chains or require invasive modifications to existing blockchains, which limits their scope of application. The paper proposes a general, Kafka - based cross - chain communication framework named **PIEC HAIN**, aiming to overcome the above limitations. The goal of PIEC HAIN is to provide a general and practical interoperability framework that can interface with existing blockchains without modification. By using Kafka as an event log, PIEC HAIN can efficiently handle communication between cross - chain services (CC - SVCs) and ensure the atomicity and liveness of transactions, and it can work properly even in the presence of malicious nodes. Specifically, PIEC HAIN addresses the following key challenges: 1. **Atomicity**: Ensure that a set of cross - chain transactions either all succeed or all fail, especially in the case where blockchain transactions are irreversible. 2. **Liveness**: Ensure that escrowed assets are not permanently frozen and can be returned to the original holder even in the case of transaction failure. 3. **Security**: Achieve a balance between efficiency and security by designing to allow cross - chain services (CC - SVCs) to be semi - trusted, while Kafka network nodes are completely untrusted but have no incentive to misbehave. To verify the practicality and effectiveness of PIEC HAIN, the authors implemented a specific case study - cross - chain auction, in which users can use tokens on multiple blockchains to bid for tickets on another blockchain. In addition, PIEC HAIN has been integrated with multiple popular blockchain platforms (such as Ethereum, Hyperledger Fabric and Quorum), and a graphical user interface (GUI) has been developed to display the entire auction process. In conclusion, through proposing the PIEC HAIN framework, this paper aims to solve the challenges currently faced by blockchain interoperability and promote seamless interaction between different blockchain platforms.