Root resolver for hashtree - maps human-readable keys to merkle root hashes
This crate provides the RootResolver trait and implementations for different
backends (Nostr, DNS, HTTP, local storage, etc.)
Overview
A root resolver maps mutable human-readable keys to immutable content-addressed merkle root hashes. This allows updating what content a key points to while keeping the underlying data immutable.
Key format is implementation-specific:
- Nostr: "npub1.../treename"
- DNS: "example.com/treename"
- Local: "local/mydata"
Example
use ;
async