In this crate that I’ve been developing alongside the refactored acorn-hc code, I’ve got some utilities that I’ve developed for certain challenge areas of working with holochain-rsm
The four uses are:
- improve how Hashes such as
HeaderHash
,EntryHash
, andAgentPubKey
transmit over the wire (network) by providing a special wrapped serialization/deserialization type, converting the hashes to and from a simple string, instead of an object containing Buffers - handle the retrieval of an entry that may have been updated, and yet return the ORIGINAL headerhash, instead of its own HeaderHash, providing your UI and API with consistent hashes that match the original (which you may have committed as CONTENTS in another entry, or linked between)
- get_links wrapper returns those same “latest” style entries, but for a collection
-
crud!
macro boilerplates create/read(many)/update/delete for an entry type, quick and easy
let me know if you want to use it, and have any questions…