If bitcoin had OP_CHECKSIGFROMSTACK you could have bitcoin transactions contingent on nostr notes. Imagine a cold storage address where if you spend your money before 5 years you have to post a note saying you're a bear.
Discussion
In an hypothetic bitcoinized world, that would be used for acute transparency (for example for banks, companies or public institutions). Wanna send those funds? First, you gotta make a statement on your official nostr profile.
What's that script look like?
If {
CSFS(nostr key, event ID)
} else {
CLTV 5 years in future
}
They either put true and have to provide a valid sig for the event or put false and it'll verify the tx's lock time that it is at the expected date
Would have to hand craft the nostr note to make sure an exact time was included. 🤔
This seems scary for some reason, as it relies on serialization of data outside bitcoin. Would really need to be sure nostr serialization wasn't going to change within that time frame.
You don't have to put the whole note in the script just the event Id that you sign. If nostr changed, then you could still just sign the hash, but the note won't be valid.
You mean, you'd have to _sign_ a note...