hc_cz_profile

Crates.iohc_cz_profile
lib.rshc_cz_profile
version0.4.0-dev.17
sourcesrc
created_at2023-01-23 20:14:49.02814
updated_at2024-09-18 21:21:55.663185
descriptionA Holochain Coordinator-Zome that stores profile information
homepagehttps://github.com/holochain/hc-zome-lib/tree/develop/zomes/hc_cz_profile
repository
max_upload_size
id766168
size7,894
Joel Ulahanna (zo-el)

documentation

https://docs.rs/hc_cz_profile

README

hc-zome-module

This module is has been designed to be included in other DNAs, assuming as little as possible from those.

Ownership Info

Codeowner: @zo-el Consulted: None Informed: @jetttech

List of available zomes

  • profile : This profile zome is a simple implementation of managing agent details

Installation and usage

Including the zome in your DNA

  1. Create a new folder with the zome name (e.g profile) in the zomes of the consuming DNA.
  2. Add a new Cargo.toml in that folder. paste the bellow content in.
[package]
name = "<ZOME_NAME>"
version = "0.0.0"
authors = [ "" ]
edition = "2018"

[lib]
name = "<ZOME_NAME>"
crate-type = [ "cdylib", "rlib" ]

[dependencies]
<ZOME_NAME> = {git = "https://github.com/zo-el/hc-zomes", branch = "develop", package = "<ZOME_NAME>"}
hdk = "0"
holo_hash = "0"
hc_utils = "0"
  1. Change the all properties of the Cargo.toml file from <ZOME_NAME> to the appropriate zome you want to import.
  2. Create a src/lib.rs folder besides the Cargo.toml with this content:
extern crate <ZOME_NAME>;
  1. Add the zome into your *.dna.workdir/dna.yaml file.
  2. Compile the DNA with the usual CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown.
Commit count: 0

cargo fmt