scsibug on Nostr: In my grpc implementation I also provide IP, user agent, origin, and NIP-05 address, ...
In my grpc implementation I also provide IP, user agent, origin, and NIP-05 address, if one exists. I map all the event fields into proto fields, for tags I may cheat and make that a serialized json string.
Published at
2023-02-11 10:59:07Event JSON
{
"id": "583cab6b8f27f4db4a7c4ce10f1b51677db842669a76bc7f177b00f7c61ab048",
"pubkey": "35d26e4690cbe1a898af61cc3515661eb5fa763b57bd0b42e45099c8b32fd50f",
"created_at": 1676113147,
"kind": 1,
"tags": [
[
"e",
"f43d81278ab0e4e1402132c16ff3485a17d72072393c9572d27c08e5df9770c8"
],
[
"e",
"724f3af75bcaa785cac94bc0628955b2a53daff9be8953ff3226d617c1d14350"
],
[
"p",
"89d1ce9164f1f172daaa9c784153178cb1dec7912bf55f5dc07e0f1dabe40e6c"
],
[
"p",
"35d26e4690cbe1a898af61cc3515661eb5fa763b57bd0b42e45099c8b32fd50f"
],
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
]
],
"content": "In my grpc implementation I also provide IP, user agent, origin, and NIP-05 address, if one exists. I map all the event fields into proto fields, for tags I may cheat and make that a serialized json string.",
"sig": "70295f6bc1183a48a3626b20714617c6dc01d0608a105d33c7e67b5a19d685c839a35aa1fd17435eda71c92dfa5bd7a010cdc9628d0a250dffabd9d981e3b519"
}