Overview
Hydra Hub is a technological solution designed to connect clients (Consumer Clients) with Hydra Nodes through a proxy (HydraHUB) provided by various Providers.
Developers requiring Hydra Nodes to deploy applications can simply register as Consumer Clients and utilize Hydra services from Providers in a straightforward and rapid manner. This approach offers significantly lower costs compared to self-hosting, while eliminating the challenges associated with:
Complex synchronization with Cardano Nodes.
Manual key management and security.
Monitoring and error handling.
Managing unstable communication between Hydra Nodes.

Figure 01: Diagram illustrating the deployment architecture of the Hydra HUB system, a solution for connecting clients (Consumer Clients) with Hydra Nodes via a proxy.
Description:
Consumer Client:
DApps (UI): Decentralized applications (DApps) utilized by Consumers.
Communicates with the Hydra HUB Service via WebSocket (WS) or HTTP using an API key.
Example: Sending a GET request to https://api-key-cb3ec.hydranode.io/commits.
Hydra HUB:
Hydra HUB Service: Central service managing:
API Keys Manager: Manages API keys.
Consumer Portal (UI): User interface for managing client information.
Provider Info: Information about Providers.
Proxy Mappers: Maps requests to Hydra Nodes.
Hydra Node Proxy: Intermediate proxy facilitating communication with Hydra Nodes via WS/HTTP.
Communicates with Consumer Clients using Socket.io or HTTP.
Providers:
Provider 1 (123.2.12.3) and Provider 2 (345.2.12.3): Clusters of servers or service providers.
Each Provider includes:
Hexcore Dashboard UI: Administrative interface.
Cardano Node: A node of the Cardano blockchain.
Hydra Nodes: Individual Hydra Nodes (e.g., 10001, 10002), which may run on Docker or Kubernetes (K8s).
Communicates with Hydra HUB via WS/HTTP.
Hydra Nodes:
Sub-nodes (e.g., 10001, 10002) that process requests from the Hydra HUB Proxy.
Can operate on Docker or Kubernetes, handling blockchain-related tasks (Cardano).
Communication Flow:
Consumer Client sends a request to the Hydra HUB Service (via API key).
Hydra HUB Service forwards the request through the Proxy to Hydra Nodes.
Hydra Nodes process the request and return results via the Proxy.

Figure 02: Sequence diagram illustrating the interaction between the Client, Hydra Hub, and Hydra Node.
Last updated