Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1002 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 1002 Bytes

NH Applet Scaffolding Template

This repository contains a webhapp template for the holochain scaffolding tool.

Getting Started

This guide assumes you have the holochain nix environment set up.

Then, start by running:

nix run github:holochain/holochain#hc-scaffold -- web-app --templates-url https://github.com/neighbour-hoods/nh-applet-template

Follow the steps provided in the terminal. Once your applet repository has been created, you can continue to use the scaffolding tool to create a working applet.

Scaffold your DNA:

hc scaffold dna {dna_name}

Scaffold your zome:

hc scaffold zome {zome_name}

Scaffold your entry type:

hc scaffold entry-type {entry_type_name}

Build your applet:

npm run package:applet

Which will bundle a .webhapp file that can be loaded into the NH-launcher.