melvincarvalho on Nostr: Nostr + Bitcoin: Built-in Time Boxing 1. Your npub is a BTC address. 2. Pay npub ...
Nostr + Bitcoin: Built-in Time Boxing
1. Your npub is a BTC address.
2. Pay npub (event hash in tx) -> means NOT-BEFORE block time.
3. Spend output -> means NOT-AFTER block time.
Now Events are time-boxed between two blocks.
It turns out that this is all you need to solve the double-spend problem. And hence to unlock smart social contracts.
Published at
2025-05-12 18:36:29Event JSON
{
"id": "4ac8d3077fbb4765d44ed4c39991b4da152a57c2b0e2bbfaaadec38c533d33ea",
"pubkey": "de7ecd1e2976a6adb2ffa5f4db81a7d812c8bb6698aa00dcf1e76adb55efd645",
"created_at": 1747074989,
"kind": 1,
"tags": [
[
"imeta",
"url https://media.ditto.pub/47ae21c5cfac550eeabfdfb7f073c7142cb191ff04901587d639a09f544a4e3e.png",
"m image/png",
"x 47ae21c5cfac550eeabfdfb7f073c7142cb191ff04901587d639a09f544a4e3e",
"size 1269641",
"dim 1456x816",
"blurhash U35}H%]i0fFfs+oLbIa}0068}?,CIoS2s.n$"
],
[
"client",
"Ditto",
"31990:15b68d319a088a9b0c6853d2232aff0d69c8c58f0dccceabfb9a82bd4fd19c58:ditto",
"wss://ditto.pub/relay"
]
],
"content": "Nostr + Bitcoin: Built-in Time Boxing\n\n1. Your npub is a BTC address.\n\n2. Pay npub (event hash in tx) -\u003e means NOT-BEFORE block time.\n\n3. Spend output -\u003e means NOT-AFTER block time.\n\nNow Events are time-boxed between two blocks. \n\nIt turns out that this is all you need to solve the double-spend problem. And hence to unlock smart social contracts.\n\n\nhttps://media.ditto.pub/47ae21c5cfac550eeabfdfb7f073c7142cb191ff04901587d639a09f544a4e3e.png",
"sig": "2171cd7098a708fbc821004257c70622e27afef3b31f2272c3236361cc1f5064c34a25c3f5d3036e3b17b222f50cd1809389dc80dde6c51163dedf167e92eb3c"
}