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

holochain_conductor_api

Message types for Holochain admin and app interface protocols

218 releases

new 0.5.0-dev.6 Nov 20, 2024
0.5.0-dev.3 Oct 30, 2024
0.4.0-dev.15 Jul 31, 2024
0.3.0-beta-dev.42 Mar 27, 2024
0.0.2 Jul 29, 2021

#106 in Magic Beans

Download history 701/week @ 2024-08-01 410/week @ 2024-08-08 530/week @ 2024-08-15 432/week @ 2024-08-22 343/week @ 2024-08-29 470/week @ 2024-09-05 990/week @ 2024-09-12 791/week @ 2024-09-19 789/week @ 2024-09-26 667/week @ 2024-10-03 656/week @ 2024-10-10 578/week @ 2024-10-17 292/week @ 2024-10-24 484/week @ 2024-10-31 293/week @ 2024-11-07 607/week @ 2024-11-14

1,843 downloads per month
Used in 15 crates (8 directly)

Apache-2.0 and AGPL-3.0 WITH mif-exception

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.

Dependencies

~65–105MB
~2M SLoC