#holochain #conductor #admin #info #dump #response #docs

holochain_conductor_api

Message types for Holochain admin and app interface protocols

240 releases

new 0.5.0-dev.19 Feb 19, 2025
0.5.0-dev.16 Jan 29, 2025
0.5.0-dev.11 Dec 25, 2024
0.5.0-dev.7 Nov 27, 2024
0.0.2 Jul 29, 2021

#168 in Magic Beans

Download history 428/week @ 2024-10-29 358/week @ 2024-11-05 557/week @ 2024-11-12 445/week @ 2024-11-19 802/week @ 2024-11-26 397/week @ 2024-12-03 597/week @ 2024-12-10 448/week @ 2024-12-17 131/week @ 2024-12-24 167/week @ 2024-12-31 330/week @ 2025-01-07 365/week @ 2025-01-14 355/week @ 2025-01-21 367/week @ 2025-01-28 605/week @ 2025-02-04 382/week @ 2025-02-11

1,739 downloads per month
Used in 16 crates (10 directly)

Apache-2.0

1MB
23K 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.

Additional information can be found in the docs module.

Dependencies

~81MB
~1.5M SLoC