Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@holochain/hc-web-client

Package Overview
Dependencies
Maintainers
5
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@holochain/hc-web-client

Holochain container connection helper for web based UIs

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
305
-21.19%
Maintainers
5
Weekly downloads
 
Created
Source

hc-web-client

Thin wrapper around rpc-websockets to enable calling zome functions in Holochain apps installed in a container.

Usage

The holochain container exposes methods for each function of each zome of each running instance. It also exposes a method, info/instances to get information about all instances. Your app should typically use this first to get instance info, so that your UI can only be concerned with DNA hashes (and perhaps agent IDs) rather than instance IDs.

See index.html for example usage. You can use i.e. python3 -m http.server.

Development

Use npm run build or npm run watch.

FAQs

Package last updated on 18 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts