Skip to content

A Javascript client for communicating with Holochain's App Interface API

Notifications You must be signed in to change notification settings

spartan-holochain-counsel/app-interface-client-js

Repository files navigation

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

About

A Javascript client for communicating with Holochain's App Interface API

Resources

Stars

Watchers

Forks

Packages

No packages published