@spartan-hc/holochain-admin-client
v2.2.0
Published
A Javascript client for communicating with Holochain's Admin Interface API
Downloads
10
Readme
Holochain Admin Client
A Javascript client for communicating with Holochain's Admin Interface API.
Overview
This client is guided by the interfaces defined in the holochain/holochain project.
Features
- Attach app interfaces
- Add admin interfaces
- Generate agents
- Register DNAs
- Install/uninstall apps
- Enable/disable apps
- List apps, agents, cells, DNAs, app interfaces
- Grant capabilities
Install
npm i @spartan-hc/holochain-admin-client
Basic Usage
Admin Interface
Example
import { AdminClient } from '@spartan-hc/holochain-admin-client';
const admin_interface_port = 12345;
const admin = new AdminClient( admin_interface_port );
await admin.generateAgent();
API Reference
See docs/API.md
Contributing
See CONTRIBUTING.md