melvincarvalho on Nostr: Its been talked about for years, but never got through the NIPs. Put latest block ...
Its been talked about for years, but never got through the NIPs. Put latest block hash in the event and prove a message came after a certain time. You can also timestamp an event to prove it existed before a certain hash. If you do both you get an interval. It turns out that is enough to create a smart contracting system. No client does it, yet.
Published at
2024-11-28 01:44:29Event JSON
{
"id": "4e71513115c3903822689b5033e27ee25c01dfc2655b06e46b599d0657a71aa7",
"pubkey": "de7ecd1e2976a6adb2ffa5f4db81a7d812c8bb6698aa00dcf1e76adb55efd645",
"created_at": 1732758269,
"kind": 1,
"tags": [
[
"e",
"63493599c30f47ec5af10aefb3711787f9bde1fe608c247a016b4d408dc9d097",
"wss://ditto.pub/relay",
"root",
"b708f7392f588406212c3882e7b3bc0d9b08d62f95fa170d099127ece2770e5e"
],
[
"e",
"63493599c30f47ec5af10aefb3711787f9bde1fe608c247a016b4d408dc9d097",
"wss://ditto.pub/relay",
"reply",
"b708f7392f588406212c3882e7b3bc0d9b08d62f95fa170d099127ece2770e5e"
],
[
"p",
"b708f7392f588406212c3882e7b3bc0d9b08d62f95fa170d099127ece2770e5e",
"wss://ditto.pub/relay"
]
],
"content": "Its been talked about for years, but never got through the NIPs. Put latest block hash in the event and prove a message came after a certain time. You can also timestamp an event to prove it existed before a certain hash. If you do both you get an interval. It turns out that is enough to create a smart contracting system. No client does it, yet. ",
"sig": "3964f7d80cd2cb16e635e06663f16545e34e641113524c3cb1a96227e3c5bfc43379f9743ddc167b157f98ad48c557c7dbbf877bba9018d138d3ce6e24d2bcf9"
}