pub type Nip05 = Nip05V1;
Expand description
The content of a webserver’s /.well-known/nostr.json file used in NIP-05 and NIP-35
This allows lookup and verification of a nostr user via a user@domain
style identifier.
Aliased Type§
struct Nip05 {
pub names: HashMap<String, PublicKeyHex>,
pub relays: HashMap<PublicKeyHex, Vec<UncheckedUrl>>,
}
Fields§
§names: HashMap<String, PublicKeyHex>
DNS names mapped to public keys
relays: HashMap<PublicKeyHex, Vec<UncheckedUrl>>
Public keys mapped to arrays of relays where they post