Enterprise Middleware
Summary: Hyperledger Firefly brings unique possibilities to ADI Chain by offering builders its vast selection of additional features, which enable applications to be built to specifically accommodate various industries and regulations. Additionally, Middleware automates processes such as API generation, smart contract deployment and management, and KYC-compliant identification. It also features a dashboard with real-time monitoring of on-chain activity and health, off-chain processes, token data, and more.
Key Capabilities
To cater to enterprise and institutional use cases, ADI Network includes out-of-the-box integration based on the Hyperledger FireFly. FireFly is an open-source blockchain middleware platform that simplifies the building and integration of blockchain applications by providing a feature-rich API layer on top of blockchain networks.
Key capabilities that Middleware brings to ADI Network include:
Automated API Generation: Middleware can automatically generate REST/HTTP APIs for smart contracts deployed on the ADI Network. It introspects the ABI (Application Binary Interface) of smart contracts and exposes endpoints for each function. This means that enterprise developers can interact with on-chain functions through familiar REST calls, without needing to write low-level Web3 code. For example, if there’s a smart contract for a healthcare record, Middleware would create endpoints such as POST /api/healthcare/record corresponding to the contract methods. This drastically simplifies integration with existing IT systems, as calling a REST API is standard practice in enterprise software. Middleware ensures that endpoints are type-safe and handles input validation, making the integration less prone to errors.
Event Streaming & Messaging: Middleware acts as a reliable event broker for blockchain events. When something happens on-chain (such as an event being emitted in a smart contract), Middleware captures it and can route it to off-chain systems as a guaranteed delivery message. It has a built-in pub/sub (publish-subscribe) engine that supports at least once delivery, meaning no event will be lost even if a receiver is temporarily offline. For instance, if an ADI-based system emits an event “KYC approved for user X”, the Middleware can automatically send this as an HTTP callback or message to a backend system that needs to know. It handles complexities like retry logic, subscriber management, and mapping blockchain event data to JSON messages. This event-driven architecture is crucial for enterprise workflows, allowing on-chain actions to trigger off-chain processes seamlessly.
Identity and Compliance Integration: Middleware includes modules for decentralized identity (DID) management and integration with KYC/AML workflows. It provides a way to register organizations and users with DIDs within the Middleware network, tying those identities to on-chain addresses or off-chain credentials. This helps link real-world identities to blockchain accounts in a governed manner. Middleware identity management can integrate with ADI’s on-chain identity modules or compliance smart contracts, effectively serving as an off-chain registry or verification layer. Additionally, Middleware can automate common compliance workflows. For example, when a new user registers on ADI, Middleware can automatically invoke KYC checks (via API calls to external services) and only proceed when those are satisfied. This kind of off-chain orchestration complements ADI’s on-chain programmable compliance features.
Transaction and Contract Management: Middleware provides a unified interface for deploying smart contracts, managing their versions (through a concept called Middleware Contracts Interface, FFI), and coordinating multi-party transactions. It can handle tasks such as packaging a batch of transactions, ensuring they are delivered in order, and even running multi-step workflows that involve both blockchain and traditional systems. It sits above the blockchain as middleware that enterprises can plug their systems into without having to deal with raw blockchain protocols.
By shipping with Middleware support, ADI Network becomes a full-stack solution for enterprises. A government entity can, for instance, use Middleware to quickly create REST endpoints for a new digital ID smart contract on ADI, have those endpoints consumed by a mobile app, and use the Middleware event system to integrate with their existing databases or notify other departments, all while having an audit trail and reliability. Middleware also supports features such as file transfers, private messaging between consortium members, and token management, which can be leveraged in permissioned scenarios.
In summary, Middleware support enables ADI Network to be enterprise-ready from day one. It offers:
RESTful APIs for smart contracts – speeding up integration.
Event-driven hooks – turning on-chain events into off-chain actions reliably.
Identity/KYC management – crucial for regulated environments to link on-chain activity with off-chain identity (DID and verifiable credentials).
Workflow automation – combining on-chain and off-chain steps easily.
Last updated