Small zome to mange a list of agents that are added/blocked
This module is designed to be included in other DNAs, assuming as little as possible from those. It is packaged as a holochain zome, and an npm package that offers native Web Components that can be used across browsers and frameworks.
- Create a new folder in the
zomesof the consuming DNA, with the name you want to give to this zome in your DNA. - Add a new
Cargo.tomlin that folder. In its content, paste theCargo.tomlcontent from any zome. - Change the
nameproperties of theCargo.tomlfile to the name you want to give to this zome in your DNA. - Add this zome as a dependency in the
Cargo.tomlfile:
[dependencies]
contacts = {git = "https://github.com/holochain-open-dev/contacts", package = "contacts"}- Create a
srcfolder besides theCargo.tomlwith this content:
extern crate contacts;- Add the zome into your
dna.yamlfile with the namecontacts. - Compile the DNA with the usual
CARGO_TARGET=target cargo build --release --target wasm32-unknown-unknown.
TODO
See our developer setup guide.