orphanblock on Nostr: Thanks, yeah, i think that is still not ideal but has nice properties where you can ...
Thanks, yeah, i think that is still not ideal but has nice properties where you can basically subscribe to different rpc calls by different method names or even parameters. Having full expressiveness of json for both request and response would be great though. Was there any discussion about this? What confuses me is wording of nip01 (“New NIPs may add new optional (or mandatory) fields and messages and features to the structures and flows described here.”).
Anyway, in comming days i will hack something together. I like the idea of having dedicated nostr rpc relay.
Published at
2023-07-10 03:55:47Event JSON
{
"id": "c0f7b2990ac7719ad74e6ee94409b18bf2068bca7b66a082db8e49165ce47b6e",
"pubkey": "88fed8a6efd03e18b3042a87911fa09087d98febc24c28c5825c7c233b503730",
"created_at": 1688961347,
"kind": 1,
"tags": [
[
"e",
"dafa0c2ef9193f151d47199e85d8873513482c88f5be3a361f86c852092bc08f"
],
[
"e",
"db7705fbc63182a383886851c7a016f59b3a507461607b36f92978a91fbb8fa7"
],
[
"e",
"98372bb2627b1efa32dab184964006cc379f0021f16947e0afb8fcea3afc5d10",
"wss://relay.current.fyi",
"reply"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52"
],
[
"p",
"d91191e30e00444b942c0e82cad470b32af171764c2275bee0bd99377efd4075"
],
[
"p",
"88fed8a6efd03e18b3042a87911fa09087d98febc24c28c5825c7c233b503730"
]
],
"content": "Thanks, yeah, i think that is still not ideal but has nice properties where you can basically subscribe to different rpc calls by different method names or even parameters. Having full expressiveness of json for both request and response would be great though. Was there any discussion about this? What confuses me is wording of nip01 (“New NIPs may add new optional (or mandatory) fields and messages and features to the structures and flows described here.”). \nAnyway, in comming days i will hack something together. I like the idea of having dedicated nostr rpc relay. ",
"sig": "5c0c9d7eda878f8c844fdb97e049d98d444227ee997eb8574679ab375b73d98338fe21b259c22c703cc451582e6f6a0acbb519008b1883047f37557b7e1bfaa9"
}