Yuki Kishimoto on Nostr: You have to use the `to_bech32` method. The book is not ready, but you can find some ...
Published at
2024-04-15 21:08:15Event JSON
{
"id": "edb516c7faf4406cd1ea0de7a299c23aa20b6de4e3f1a19d66ef5493327d5ea8",
"pubkey": "68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272",
"created_at": 1713215295,
"kind": 1,
"tags": [
[
"e",
"de8284abc89e82f194e8dd6d8e0852bc525bdfacfa32bea7ac8dad71d9c53095",
"",
"root"
],
[
"p",
"f683e87035f7ad4f44e0b98cfbd9537e16455a92cd38cefc4cb31db7557f5ef2"
],
[
"r",
"https://rust-nostr.org/nostr/03-keys.html"
]
],
"content": "You have to use the `to_bech32` method.\n\nThe book is not ready, but you can find some example related to keys here: https://rust-nostr.org/nostr/03-keys.html",
"sig": "9b2bfea382571ee548789afb4b38da8a7feff55c1f81a7a7a0f1c6072e0b8f6a5831cc9e4233b0cf58a14e63f79b44079fca3a69eb7d34076f27f5d18f69a845"
}