@spartan-hc/app-interface-client
v0.8.0
Published
A Javascript client for communicating with Holochain's App Interface API
Downloads
32
Readme
Holochain App Client
A Javascript client for communicating with Holochain's App Interface API.
Overview
This client is guided by the interfaces defined in the holochain/holochain project.
Features
- Support for Zomelets
Install
npm i @spartan-hc/app-interface-client
Simplest Usage
import { AppInterfaceClient } from '@spartan-hc/app-interface-client';
const client = new AppInterfaceClient( app_port );
const app_client = await client.app( auth_token );
await app_client.call( "role_name", "zome_name", "fn_name", args );
Contributing
See CONTRIBUTING.md