Automated Gateways: A Smart Contract-Powered Solution for Interoperability Across Blockchains

Koosha Esmaeilzadeh Khorasani, Sara Rouhani, Rui Pan, Vahid PourheidariBlockchain 2024

Abstract

Blockchain interoperability remains a significant challenge, particularly for permissioned networks requiring fine-grained access control. This paper presents "Automated Gateways," a framework that leverages on-chain smart contracts to manage cross-chain permissions and a gRPC-based relay for efficient communication. Our evaluation demonstrates that this approach achieves high throughput (up to 2100 TPS) and sub-15ms latency, providing a secure, scalable, and native-feeling solution for bridging isolated blockchain ecosystems.

Introduction

Despite the rapid growth of blockchain technology, most networks function as "isolated islands." Data and assets are often confined to a single ecosystem, creating silos that impede cross-organizational efficiency. Existing solutions like Polkadot, Cosmos, or various third-party bridges often suffer from high integration costs, security risks associated with external relayers, and a lack of support for the complex permissioning requirements of enterprise blockchains. This research proposes a "self-reliant" interoperability framework that integrates access management directly into the host blockchain's infrastructure.

The Automated Gateways Framework

The proposed framework decouples interoperability into two primary layers: Policy Management and Communication Management.

Policy Management

The "brains" of the system consist of three specialized smart contracts deployed on the host blockchain:

  • Accessible Networks: Maintains a registry of reachable external chains.
  • Permitted Networks: Manages authentication by listing external chains authorized to access the host.
  • Permitted Methods: Enables fine-grained control by specifying exactly which functions or services an external chain is permitted to invoke.

Communication Management

The "messenger" is a Relay component utilizing the gRPC protocol for high-performance, language-agnostic communication. To ensure flexibility, the relay is split into a Network-Neutral module (containing general logic) and a Network-Specific module (a connector tailored to a specific blockchain's SDK, such as Hyperledger Fabric).

Architecture of the Automated Gateways framework connecting two blockchains.

Security is enforced through certificate-based authentication. Before any cross-chain request is processed, the relay validates the requesting chain's digital certificate against the on-chain "Permitted Networks" contract.

Experimental Evaluation

The framework was evaluated using a distributed production network testbed consisting of two Hyperledger Fabric networks deployed on Virtual Private Servers (16GB RAM, 8 vCPUs). Performance was benchmarked using Hyperledger Caliper to simulate high-traffic scenarios.

Key Results

The evaluation confirms that the framework is suitable for industrial-scale applications:

  • Throughput: The system achieved a peak throughput of approximately 2100 TPS for network lookups and 1700-1800 TPS for permission-checked method invocations.
  • Latency: Average latency remained consistently low, staying under 15 milliseconds even under heavy loads exceeding 1000 TPS.
  • Scalability: Throughput scaled linearly with the transaction input rate until hardware saturation, indicating that the software architecture is not a primary bottleneck.
Performance benchmarks showing throughput (A) and average latency (B) against transaction input rate.

Discussion and Future Work

The Automated Gateways approach treats interoperability as code, moving away from vulnerable external bridges toward native, smart contract-managed permissions. This allows for "selective sharing," where administrators can grant access to specific data sets (e.g., shipping logs) while keeping others (e.g., financial records) private.

While the current implementation excels at data sharing and service invocation, future work will focus on expanding functionality to include atomic swaps and direct token transfers, as well as developing connectors for a broader range of public and private blockchains beyond Hyperledger Fabric.

Summary updated

BibTeX
@inproceedings{khorasani2024automated,
  author = {Koosha Esmaeilzadeh Khorasani and Sara Rouhani and Rui Pan and Vahid Pourheidari},
  title = {{Automated Gateways: A Smart Contract-Powered Solution for Interoperability Across Blockchains}},
  booktitle = {Blockchain},
  year = {2024},
}
Figure