Proje
contacts
- Nasıl çalıştırılır
- kaydedilmedi
- Holochain sürümü
- 0.1.3
- Etkinlik
- durgun
- Kontrol edildi
- 27 Ekim 2026
What is contacts and what is it for?
contacts is a small reusable Holochain module that lets an application keep a list of the other agents it has added or blocked. It is distributed as a zome and a JavaScript package of Web Components, so other Holochain projects can include it rather than writing their own contact handling.
contacts belongs to holochain-open-dev, a community organisation that builds and shares reusable open-source building blocks for Holochain applications. Its own documentation — which describes the project as of its most recent update — presents contacts as one of those building blocks rather than as a finished application: a module other Holochain projects can pick up and include in their own DNA. Nothing in the README records when or why the work was started.
In plain terms, the module keeps a list of the other agents a Holochain application has added or blocked — the contacts an app decides to remember about. It is deliberately small and assumes as little as possible about the DNA it is dropped into, so a project can add contact handling without adopting a larger framework. The same work is also packaged as an npm module of browser-friendly Web Components for the interface side.
A developer building a Holochain app that needs to track which agents it trusts or has blocked can add contacts as a dependency, register it in the DNA's dna.yaml, and compile, following the numbered steps in the README. That README is the fullest maintainer documentation reachable today; it marks its 'Including the UI' section as still to be written, so the JavaScript package is described but has no documented usage.
Nasıl edinilir
Kütüphane olarak
- Create a folder for the zome inside the consuming DNA's zomes directory, with the name you want the zome to have in your DNA.
- Add a Cargo.toml in that folder, then add the module as a git dependency: contacts = {git = "https://github.com/holochain-open-dev/contacts", package = "contacts"}
- Create a src folder beside the Cargo.toml containing the line: extern crate contacts;
- Add the zome into your dna.yaml file with the name contacts.
- Compile the DNA with: CARGO_TARGET=target cargo build --release --target wasm32-unknown-unknown
- Interface usage is not documented: the README's 'Including the UI' section is marked TODO.
Kaynak: https://raw.githubusercontent.com/holochain-open-dev/contacts/main/README.md
İnsanların sorduğu sorular
- How does contacts get added to a Holochain DNA?
- As a build-time dependency: the README instructs adding contacts to the consuming DNA's Cargo.toml as a git crate, declaring an extern crate in a src file, registering the zome in dna.yaml under the name contacts, and compiling the DNA for wasm32-unknown-unknown. kaynak
- Is there a user interface for contacts?
- The README says the module is packaged with an npm package of Web Components, but its 'Including the UI' section currently reads TODO, so no usage instructions for that package are documented. kaynak
- Who is contacts meant for?
- Holochain developers building other DNAs: the README states the module is designed to be included in other DNAs while assuming as little as possible from them. kaynak
3 herkese açık kaynaktan derlendi; son kontrol: 23 Eylül 2026.
Deneyin: contacts
- GitHub'daki kodGitHub'da aç ↗Last change 21 Haziran 2023.
- SürümKayıtlı GitHub sürümü yok.
- Projenin kendi dosyaları nasıl çalıştırıldığını belirtmiyor.
Ayrıntılar ve kaynaklar
Kanıt
- Son değişiklik
- api.github.com/repos/holochain-open-dev/contactsüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · github.repository@1
- Etkinlik
- api.github.com/repos/holochain-open-dev/contactsüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · liveness@1
Uyumluluk
- hdk
- 0.1.3 · Cargo.toml @ 38056fc
- hdi
- 0.2.3 · Cargo.toml @ 38056fc
- holochain-client
- —
- happ.yaml
- yok
- web-happ.yaml
- yok