ciori on Nostr: Sorry to bother you again, but is there a way with nostr-sdk to save the state of the ...
Sorry to bother you again, but is there a way with nostr-sdk to save the state of the client and/or signer/bunker in the localstorage of the web app that is running everything? Or is this outside of the scope of the crate and therefore needs to be achieved by the framework in use? I am trying something with Dioxus Web but apparently the Client and NostrConnectURI types doesn't support serialization.
I am still a beginner with Rust, so I might say stupid and incorrect things.
Published at
2024-08-13 19:51:17Event JSON
{
"id": "045e8a48004ead83c654d499b465d2847460e1a210b64e6be5406eabf885e802",
"pubkey": "bf03bdf659e463e31574aff7698cf83b4cd81ab17829c22f7d5ccf76faacdbbd",
"created_at": 1723578677,
"kind": 1,
"tags": [
[
"e",
"a7b728310c33d279de0ed53aceb855084cb8a613e169b3acfba77cb15658873e",
"",
"root"
],
[
"e",
"d9439d88a30f72b09c6c3dd2a5403493964700ab94b4d11a9628e6c14dd0f221",
"wss://nos.lol/",
"reply"
],
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272",
"",
"mention"
]
],
"content": "Sorry to bother you again, but is there a way with nostr-sdk to save the state of the client and/or signer/bunker in the localstorage of the web app that is running everything? Or is this outside of the scope of the crate and therefore needs to be achieved by the framework in use? I am trying something with Dioxus Web but apparently the Client and NostrConnectURI types doesn't support serialization.\n\nI am still a beginner with Rust, so I might say stupid and incorrect things.",
"sig": "bfe73c7c0456e0b9c5221f7abd1826fcc8aa2822793ae1201172b3ff6a787a8ade30fe7af3f21cecc4631ab244cd7648343133a599a449d2c87fa8c001f928d3"
}