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.
Published at
2025-04-07 04:08:58Event JSON
{
"id": "0c266bb40204cebcb4028f32b19e391dfb1612e49ac176cb8ddf55e4272d9ce5",
"pubkey": "a0cb70d3208f5f7cf66b9cbb582ef1e215ef4ef0c9531863858fb664ddfb0b8f",
"created_at": 1743998938,
"kind": 1,
"tags": [
[
"e",
"5999143c822915aa1b5c93b729d0b82b27762cb3e798208fbbee2d3cdfd035a7",
"",
"root"
],
[
"e",
"c3be692344f5b1f66d06408a9dcf21f17bc9b9f1f51b5335140d42cb93d93d3c",
"",
"reply"
],
[
"p",
"4f4f82846698ff66ae5fa9fad4c0c4eb7823afb07fa9f54ea9d15f1217ae96cc"
],
[
"p",
"d45741f7d496c94edef6e2e7f6be1287d298b0f9234852a9a7bfeaf163f47a3f"
]
],
"content": "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.\n\nThe second one works by writing a transaction that itself is invalid until a certain block height. \n\nThe 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. ",
"sig": "de16509af38a224f13ef0e7589e1e924a66b5261913f2558e70075c566625fd61fe937ccb6bc11c2f72c87557ea54aaf7cf8b616dd4507ebb6436f7c27d64ceb"
}