This folder has an example DNA for the contacts zome. The actual code for the zome is in zomes/contacts.
To change the code, you can work either opening VSCode inside the root folder of the repo or in this folder, you should have rust intellisense either way.
All the instructions here assume you are running them inside the nix-shell at the root of the repository. For more info, see the developer setup.
CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown
hc dna pack workdir/dna
hc app pack workdir/happThis should create a workdir/happ/sample.happ file.
After having built the DNA:
cd test
npm install
npm testAfter having built the DNA:
hc s generate workdir/happ/sample.happ --run=8888Now holochain will be listening at port 8888;