Bitcoin Forum
May 14, 2024, 02:54:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Make a transaction that cannot be spent in X years  (Read 1783 times)
ilpirata79 (OP)
Sr. Member
****
Offline Offline

Activity: 353
Merit: 253


View Profile
August 05, 2014, 08:43:16 PM
 #21

There is a mechanism in the protocol that blocks a transaction until a certain time or block.


Please read these:

https://en.bitcoin.it/wiki/Protocol_specification#tx
https://bitcointalk.org/index.php?topic=131443.0


That has the problem that I can revoke the transaction when I want, by broadcasting a different transaction that has not the lock.

What I want is for the money to be not spendable until the time has come...
like I transfer the amount to a public key (the transaction gets into the block) whose script does not allow to spend the amount until a certain date has come.

Best regards,
ilpirata79


Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715655291
Hero Member
*
Offline Offline

Posts: 1715655291

View Profile Personal Message (Offline)

Ignore
1715655291
Reply with quote  #2

1715655291
Report to moderator
Omikifuse
Legendary
*
Offline Offline

Activity: 1750
Merit: 1009



View Profile
August 05, 2014, 09:15:56 PM
 #22

Send the bitcoins to an address, then let in escrow the private key of that address?
Razick
Legendary
*
Offline Offline

Activity: 1330
Merit: 1003


View Profile
August 05, 2014, 09:18:28 PM
 #23

What about giving them the private key of the address but encrypted? You can set a date for them to receive an email containing the key for the encryption at a later date with a tool like http://www.lettermelater.com/

What happens if the service goes offline?

How about this:

Make a split key (2 of 3 to send) with a tool such as bitaddress.org and give the person one of the keys, then keep the other yourself and give one to a trusted relative or your attorney with instructions to give it to the person at the future date. This way you could also make exceptions for medical emergencies or other dire situations.

ACCOUNT RECOVERED 4/27/2020. Account was previously hacked sometime in 2017. Posts between 12/31/2016 and 4/27/2020 are NOT LEGITIMATE.
odolvlobo
Legendary
*
Offline Offline

Activity: 4312
Merit: 3214



View Profile
August 05, 2014, 09:31:30 PM
 #24

There is a mechanism in the protocol that blocks a transaction until a certain time or block.


Please read these:

https://en.bitcoin.it/wiki/Protocol_specification#tx
https://bitcointalk.org/index.php?topic=131443.0


That has the problem that I can revoke the transaction when I want, by broadcasting a different transaction that has not the lock.

1. Send the money to an intermediate address.
2. Create a time-locked transaction sending from the intermediate address.
3. Destroy the private key for the intermediate address.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
2_Thumbs_Up
Sr. Member
****
Offline Offline

Activity: 323
Merit: 251


View Profile
August 05, 2014, 09:32:38 PM
 #25

There is a mechanism in the protocol that blocks a transaction until a certain time or block.


Please read these:

https://en.bitcoin.it/wiki/Protocol_specification#tx
https://bitcointalk.org/index.php?topic=131443.0


That has the problem that I can revoke the transaction when I want, by broadcasting a different transaction that has not the lock.

What I want is for the money to be not spendable until the time has come...
like I transfer the amount to a public key (the transaction gets into the block) whose script does not allow to spend the amount until a certain date has come.

Best regards,
ilpirata79



1. Create a transaction with lock time from adress A to adress B.
2. Save the signed transaction and delete your private key to adress A. Give the private key to adress B to the recipient.
3. Hope that the protocol doesn't change so that your transaction is still valid when the lock time ends.
Cryptopher
Legendary
*
Offline Offline

Activity: 1789
Merit: 1008


Keep it dense, yeah?


View Profile
August 05, 2014, 09:42:25 PM
 #26

I'm not sure if it is possible within the current implementation of Bitcoin, but one suggestion might be a safe deposit box - although that would then be within the realms of a bank. Perhaps some other location within your security just in case of emergency.

Sign up to Revolut and do the Crypto Quiz to earn $15/£14 in DOT
ilpirata79 (OP)
Sr. Member
****
Offline Offline

Activity: 353
Merit: 253


View Profile
August 05, 2014, 10:15:45 PM
Last edit: August 05, 2014, 11:29:55 PM by ilpirata79
 #27

After some research, I've found out that it can be done; it is not the easiest thing to do and it's not 100% safe:

First way:

1) I sign a transaction that transfers the amount to a multi-sig address, redeemable by me and by another private key owned by the recipient;

2) I sign an incomplete transaction with the desired lock time that transfers the amount  from the multi-sig address to the sole address owned by the recipient (or another). The recipient completes the transaction by signing it but does not broadcast it.

3) when the time has come the transaction is broadcasted by the recipient. The broadcast cannot be done before otherwise nodes may drop it because is too far in the future.

This schema also works if the money is needed before (e.g. health issue). I and the recipient would just have to sign a new transaction that moves the bitcoins somewhere.

There is the problem though, also pointed out by a previous poster, that the transaction format must not change meanwhile...

Second way:

Using an oracle.

sources: https://en.bitcoin.it/wiki/Contracts (Example 4).

Best regards,
ilpirata79


counter
Hero Member
*****
Offline Offline

Activity: 798
Merit: 500


Time is on our side, yes it is!


View Profile
August 17, 2014, 07:54:14 AM
 #28

I mean I guess you could put the coins away like the Winklevoss twins do and save the codes in the safety deposit box or something.  I'm not sure if they can keep the said owner of the box out until the time you stipulate.  It is a rather interesting question to me and I'll follow along to see if there is a current solution or what people think could work.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!