gustavo on Nostr: Because it's all JSON (please correct me), we can create a list of validators for ...
Because it's all JSON (please correct me), we can create a list of validators for matching value in specific paths of the event JSON. Operations like "Contains", "Equals" etc can be used... Okay, it's looking like a smart contact, so maybe I should stop right here.
Published at
2024-09-11 05:59:34Event JSON
{
"id": "30ffd6008fb05e8a273999e93a58c7ce0930d21972f1837d3314301959f1c451",
"pubkey": "4720beb1f663ae517c4a54e1e26b8b72e3057abedde90d4bbe6694a5fde5de50",
"created_at": 1726034374,
"kind": 1,
"tags": [
[
"e",
"c7e9c92b17f80f970f7949d91f247fd0b03d08bdc2c1850dcef9e8ac02a9875e",
"",
"root"
],
[
"e",
"000006a63a57091e81168e5944b5a10f599fccfca9a69a5d9c5a9fa5e82dcf31"
],
[
"e",
"67bb8ccd27f27c6ccd315b956d47fb4157ad3751c470f9339bb5e0e455da92ad",
"",
"reply"
],
[
"p",
"4720beb1f663ae517c4a54e1e26b8b72e3057abedde90d4bbe6694a5fde5de50"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
]
],
"content": "Because it's all JSON (please correct me), we can create a list of validators for matching value in specific paths of the event JSON. Operations like \"Contains\", \"Equals\" etc can be used... Okay, it's looking like a smart contact, so maybe I should stop right here.",
"sig": "7f3a4a47cb2b546d9513e35ea57965fbe84a30cf25379d8d8ffe0159af39b4a6f72cdc59e228cd96c58950b3bc579ec5bedd7c4eeebd1529220f7391ef1bfba0"
}