ciori on Nostr: Ehi Yuki Kishimoto I see you are working on the Rust Nostr library, I was playing ...
Ehi
Yuki Kishimoto (npub1drv…seet) I see you are working on the Rust Nostr library, I was playing around with it mostly for NIP46 and NIP65 stuff following the example codes on the repo and I was wondering: if I want to publish an event using the outbox model what do I need to do? Is there a method or option on the Client object to automatically publish the event on the outbox relays of the user or do I need to make sure to "client.add_relay(...)" for every outbox relay (taken from "Kind::RelayList" events) prior to sending the event?
Published at
2024-08-11 19:41:22Event JSON
{
"id": "a7b728310c33d279de0ed53aceb855084cb8a613e169b3acfba77cb15658873e",
"pubkey": "bf03bdf659e463e31574aff7698cf83b4cd81ab17829c22f7d5ccf76faacdbbd",
"created_at": 1723405282,
"kind": 1,
"tags": [
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272",
"",
"mention"
]
],
"content": "Ehi nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet I see you are working on the Rust Nostr library, I was playing around with it mostly for NIP46 and NIP65 stuff following the example codes on the repo and I was wondering: if I want to publish an event using the outbox model what do I need to do? Is there a method or option on the Client object to automatically publish the event on the outbox relays of the user or do I need to make sure to \"client.add_relay(...)\" for every outbox relay (taken from \"Kind::RelayList\" events) prior to sending the event?",
"sig": "3a6b649c35799913d4c43dd14d750d4dc682ddd355673a97846bd980ec5fd260a9264740238d3e898b06dd26dfecdc5b270fe32c957936124e0bd7c1dbc1fa11"
}