I believe that there are better ways to do that. This is the method I already used in the past and recommend:
For that, you will need to use
Coinb.in, which is an open source tool and can be downloaded and run locally.
You can use Coinbin to do that. I had one a few months ago and it's quite easy to create/spend your coins after the chosen period.
To create the Time Locked Address:1. Go to
Coinb.in;
2. New -> Time Locked Address.
3. Enter your address public key (the one you require to sign the transaction and be able to spend the coins);
4. Enter the date-time or blockheight you want to release the coins.
5. Submit and save the Redeem Script (
don't lose that or you won't be able to spend your coins in the future);
6. Send the coins you want to keep locked to the Address generated.
After the chosen period, you will be able to spend your coins.1. Go to
Coinb.in;
2. New -> Transaction;
3. Paste your Redeem Script and click Load (it's going to show every input available to be spent);
4. Paste the address you want to send the coins to at the "Address" field and the amount in the "Amount" field. The remaining funds will be used as fee. E.g: If your address has 0.015
BTC, you can put 0.014
BTC in the
"Amount" field and the fee will be 0.001
BTC (0.015 - 0.014);
5. Submit and copy the raw transaction;
6. Go to the "Sign" tab (at Coinb.in);
7. Paste the private key from the address you choose when creating the Time Locked Address.
8. Paste the raw transaction you just created.
9. Submit, copy the signed transaction and push it to the network (you can do it in the Broadcast tab).
10. Transaction sent!