Event JSON
{
"id": "86d5990341b83dab9e9fbacb87d52740861cbbf33cd77f542c072f6bc0720cef",
"pubkey": "805e3c98b42a2175a081666b4e077bab32136ea6cf4b9976a952569917d9e329",
"created_at": 1739470208,
"kind": 1,
"tags": [
[
"p",
"805e3c98b42a2175a081666b4e077bab32136ea6cf4b9976a952569917d9e329",
"",
"mention"
],
[
"a",
"30023:dbb19ae0e0ea853289c54c7ca810782b61306c848cad8d8416174597c3f22d5a:UauuD5Ih94z4WBBewp1hm",
"",
"root"
],
[
"p",
"dbb19ae0e0ea853289c54c7ca810782b61306c848cad8d8416174597c3f22d5a"
],
[
"r",
"wss://bostr.lightningspore.com/"
],
[
"r",
"wss://nostr.256k1.dev/"
],
[
"r",
"wss://offchain.pub/"
],
[
"r",
"wss://relay.damus.io/"
],
[
"r",
"wss://relay.denver.space/"
],
[
"r",
"wss://nostr.1sat.org/"
]
],
"content": "```\npk = PublicKey.parse(\"npub1sp0rex959gshtgypve45upmm4vepxm4xea9eja4f2ftfj97euv5s3rj02v\")\n```\n\nI guess the function name changed. The parse function now takes all kinds of inputs.\n\nThis library is written in rust so I am not able to decipher as well as i would like, but if you compare:\nhttps://github.com/rust-nostr/nostr/blob/v0.32.0/crates/nostr/src/key/public_key.rs\nhttps://github.com/rust-nostr/nostr/blob/v0.39.0/crates/nostr/src/key/public_key.rs\n\nThis is where the change is as far as I can tell.",
"sig": "6f04925c4516934f37b22ed0e0f413307c9aa54f16729d231b96bd4ead40e70e00a39ecc6ac2e7193b4852f35196540f6b274e3c4eaf19ff6fcdbb7422e219d8"
}