#holochain #conductor #admin #info #response #dump #dna

holochain_conductor_api

Message types for Holochain admin and app interface protocols

233 releases

new 0.5.0-dev.14 Jan 15, 2025
0.5.0-dev.11 Dec 25, 2024
0.5.0-dev.7 Nov 27, 2024
0.4.1-rc.1 Jan 17, 2025
0.0.2 Jul 29, 2021

#126 in Magic Beans

Download history 603/week @ 2024-09-27 677/week @ 2024-10-04 819/week @ 2024-10-11 400/week @ 2024-10-18 361/week @ 2024-10-25 445/week @ 2024-11-01 275/week @ 2024-11-08 659/week @ 2024-11-15 610/week @ 2024-11-22 663/week @ 2024-11-29 591/week @ 2024-12-06 468/week @ 2024-12-13 186/week @ 2024-12-20 153/week @ 2024-12-27 169/week @ 2025-01-03 310/week @ 2025-01-10

859 downloads per month
Used in 16 crates (10 directly)

Apache-2.0

1MB
24K SLoC

holochain_conductor_api

License: Apache-2.0


lib.rs:

Interfaces to manage Holochain applications (hApps) and call their functions.

The Conductor is the central component of Holochain. It exposes WebSockets for clients to connect to, processes incoming requests and orchestrates data flow and persistence.

Refer to Holochain's architecture for more info. Read about hApp development in the Happ Development Kit (HDK) documentation.

There is a Holochain client for JavaScript and a Rust client to connect to the Conductor.

The Conductor API is split into Admin and App requests and responses. Each has an associated enum AdminRequest and AppRequest that define and document available calls.

The admin interface generally manages the conductor itself, such as installing apps, listing dnas, cells and apps, accessing state and metric information dumps and managing agents.

The app interface is smaller and focussed on interfacing with an app directly. Notably the app interface allows calling functions exposed by the hApps' modules, called DNAs. To discover a particular hApp's structure, its app info can be requested.

Dependencies

~82MB
~1.5M SLoC