Overview
A hApp (Holochain Application) is the top-level container for a Holochain-based application. It bundles one or more DNAs together with a UI layer into a complete, distributable application.
Structure
- DNAs: Application logic and validation rules, each creating a separate network
- UI: Web-based user interface communicating with the Conductor via WebSocket
- Manifest: Configuration declaring which DNAs are included and how they interact
How It Works
When a user installs a hApp, the Conductor instantiates each DNA as a Cell, creating the agentβs Source Chain for each DNA. The UI communicates with these cells to read and write data.
Related
- Holochain β The framework for building hApps
- DNA and Zomes β The logic layer inside a hApp
- Holochain Applications β Examples of hApps built on Holochain