Why Nostr? What is Njump?
2025-04-07 04:08:58
in reply to

hamsi on Nostr: Basically the locking is done by requiring a certain block depth as well as a ...

Basically the locking is done by requiring a certain block depth as well as a signature from the address your sending to. This means that any transaction that tries to spend that coin prematurely is invalid because it violates the condition you wrote when sending it.

The second one works by writing a transaction that itself is invalid until a certain block height.

The difference between the 2 is that the former will go on the chain now, meaning the coins are spent now but locked in place until that future date. The latter does not go on chain. It can't be mined until that future date. This means that you can still spend the bitcoins before it goes into effect. Essentially, the on chain one is actually sent while the second is still fully in the sender's possession until the time comes and its resubmitted to the network by some party.
Author Public Key
npub15r9hp5eq3a0heantnja4sth3ug277nhse9f3scu937mxfh0mpw8snt7dpl