This package has been deprecated

Author message:

Moved to organization https://www.npmjs.com/org/spartan-hc

@whi/holochain-websocket

0.1.6 • Public • Published

Holochain Client

A Javascript library for communicating with Holochain's Websocket API

Overview

Features

  • Request/Response handling
  • Detailed error classes

Install

npm i @whi/holochain-websocket

Basic Usage

App Interface

Each example assumes this code is present

import { Connection } from '@whi/holochain-websocket';

const admin_interface_port = 45678;

const conn = new Connection( admin_interface_port );

Example

let agent_hash = await conn.request("generate_agent_pub_key");

API Reference

See docs/API.md

Contributing

See CONTRIBUTING.md

Readme

Keywords

none

Package Sidebar

Install

npm i @whi/holochain-websocket

Weekly Downloads

4

Version

0.1.6

License

ISC

Unpacked Size

414 kB

Total Files

13

Last publish

Collaborators

  • brisebom