pub fn parse_naddr(naddr: &str) -> Result<PackAddress, String>Expand description
Decode a NIP-19 naddr1... into a PackAddress. Rejects coordinates
that don’t point at kind 30030 so a malformed paste can’t pull in
an unrelated replaceable event.
pub fn parse_naddr(naddr: &str) -> Result<PackAddress, String>Decode a NIP-19 naddr1... into a PackAddress. Rejects coordinates
that don’t point at kind 30030 so a malformed paste can’t pull in
an unrelated replaceable event.