Yuki Kishimoto on Nostr: In the book, for now only the "hello, rust-nostr" example is available. But if you ...
In the book, for now only the "hello, rust-nostr" example is available. But if you are already familiar with the python bindings, the APIs are the same.
For now only keys parsing/generation/serialization, event de/serialization, event building and the client with some methods (add relays, connect and send event) are available. I'll add event fetching and subscriptions soon
Published at
2024-12-31 20:37:14Event JSON
{
"id": "1c3bae820bb96880fe4c5966f729710e918250c528753969f6ac628ed5733cfe",
"pubkey": "68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272",
"created_at": 1735677434,
"kind": 1,
"tags": [
[
"e",
"82fe91ce84e76df8752fe85fad541e3490476dc847ba8a8ceeb79405a5e37c6d",
"",
"root"
],
[
"e",
"45239fbc56cf5f2009e41d215bdb4606e9ee6bdadd5ed3ba13d951f8b8c70753",
"",
"reply"
],
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272"
],
[
"p",
"da18e9860040f3bf493876fc16b1a912ae5a6f6fa8d5159c3de2b8233a0d9851"
]
],
"content": "In the book, for now only the \"hello, rust-nostr\" example is available. But if you are already familiar with the python bindings, the APIs are the same.\n\nFor now only keys parsing/generation/serialization, event de/serialization, event building and the client with some methods (add relays, connect and send event) are available. I'll add event fetching and subscriptions soon",
"sig": "0e68faadffbbc6bf19a08ce27f4da5ea2ce8b97374164b2a683999db43aa294f760ea37edfcb5196faf2def7d2154bad427ad1872ff29b4196e1f3383cc92587"
}