How do you create time-locked transactions?

19 replies 469 views
ben.coinSenior Member
Posts: 6 · Reputation: 1875
#1Jan 3, 2023, 01:40 PM
Trying to figure out how to create a time-locked transaction. Is there a wallet out there with a GUI for this? Once locked, it can't be spent, right? I'm not too keen on using the command line...
5 Reply Quote Share
matrix2021Full Member
Posts: 92 · Reputation: 612
#2Jan 3, 2023, 05:08 PM
When you time-lock a transaction, it means it can't confirm until a specific date or block. But just so you know, another transaction could be made using the same inputs and it could confirm before the lock. If you want coins to be unspendable until after a certain date, you'll need to use OP_CHECKLOCKTIMEVERIFY.
0 Reply Quote Share
sam.ravenMember
Posts: 8 · Reputation: 141
#3Jan 3, 2023, 06:03 PM
You could totally go with Coinbin for that. Had one set up a while back, super easy to create and access your coins later. Just follow these steps: open Coinb.in, go to New -> Time Locked Address, plug in your public key and set your lock time, then save the script.
2 Reply Quote Share
ben.coinSenior Member
Posts: 6 · Reputation: 1875
#4Jan 3, 2023, 09:24 PM
Thanks for the tips! I totally missed that on the BTC wiki. Just made a quick Timelocked transaction to test it out. I’ve heard locking for too long isn’t smart. Should I really avoid OP_CHECKLOCKTIMEVERIFY for 5 years?
0 Reply Quote Share
Posts: 252 · Reputation: 12
#5Jan 4, 2023, 01:30 AM
Apologies for jumping into an old convo, but I'm curious too. I've used Trust Wallet and exchanges before, but I find myself spending too easily. I was thinking of sending $10 worth of BTC weekly for a few years without touching it. Is there a way to set it up so I can't access it?
1 Reply Quote Share
kevin2020Senior Member
Posts: 69 · Reputation: 1249
#6Jan 4, 2023, 06:53 AM
Definitely! I checked that guide you posted. Looks solid. You can hit the address with transactions anytime, but those coins won't be spendable until the time you set hits. Just make sure you get the legit versions of Electrum and Coinbin and do everything offline.
4 Reply Quote Share
Posts: 252 · Reputation: 12
#7Jan 4, 2023, 07:22 AM
Haha, appreciate it! Just trying to figure this out without messing up. One goal for me is to add funds to a locked wallet without those annoying fees piling up. Can't keep giving into my gambling habit.
4 Reply Quote Share
wallet_vaultFull Member
Posts: 321 · Reputation: 431
#8Jan 4, 2023, 01:33 PM
Remember, if you're planning to send small amounts weekly, those fees can stack up over time. Lots of little inputs can lead to higher costs if you decide to cash out during price spikes.
1 Reply Quote Share
Posts: 252 · Reputation: 12
#9Jan 4, 2023, 08:14 PM
For sure, I need to be more disciplined. By the way, can coinb.in create a segwit address? That would be cheaper, right? Also, if I send coins to a locked wallet, will they still get network confirmations?
3 Reply Quote Share
wallet_vaultFull Member
Posts: 321 · Reputation: 431
#10Jan 5, 2023, 02:20 AM
1) Yep, they can do segwit but not for time-locked addresses. 2) The transactions will confirm normally, but you can't spend from the timelocked wallet until your set date.
2 Reply Quote Share
kevin2020Senior Member
Posts: 69 · Reputation: 1249
#11Jan 5, 2023, 07:29 AM
That's a bit of a bummer then. I figured it would be a hassle later if set too far ahead. What happens if something goes wrong and I'm not around anymore?
4 Reply Quote Share
wallet_vaultFull Member
Posts: 321 · Reputation: 431
#12Jan 5, 2023, 12:04 PM
Good point! Yeah, you really do need to think ahead about that stuff. It's not just about the money but also the logistics for later.
4 Reply Quote Share
0xChainLegendary
Posts: 67 · Reputation: 5331
#13Jan 5, 2023, 06:23 PM
Wait, Leo, you mentioned needing to accept a ToS for Electrum? There shouldn't be one for the basic wallet, right?
3 Reply Quote Share
Posts: 252 · Reputation: 12
#14Jan 5, 2023, 07:13 PM
You’re spot on. No ToS for the standard Electrum wallet unless you’re trying to set up a 2FA one by accident. No, segwit time-locked addresses aren't a thing.
6 Reply Quote Share
kevin2020Senior Member
Posts: 69 · Reputation: 1249
#15Jan 6, 2023, 01:11 AM
Haha, gotcha! I figured it out too late. Making progress here!
4 Reply Quote Share
gang2015Member
Posts: 682 · Reputation: 62
#16Jan 6, 2023, 01:58 AM
Good call on running your own full node! Just keep it synced up. Any preference between Electrum or Bitcoin Core?
5 Reply Quote Share
Posts: 252 · Reputation: 12
#17Jan 6, 2023, 02:17 AM
Not really a big deal. For what you need, they're just tools to generate keys for Coinbin. Both will work fine, so pick whichever you like for backup.
3 Reply Quote Share
kevin2020Senior Member
Posts: 69 · Reputation: 1249
#18Jan 6, 2023, 08:27 AM
Thanks! I think I followed the tutorial right. Made a standard Electrum wallet and just have to wait for the lock to expire. Can’t wait to see it unlocked!
1 Reply Quote Share
Posts: 252 · Reputation: 12
#19Jan 6, 2023, 12:26 PM
That sounds promising! It’s all about discipline. Need to keep that budget under control, right? If this idea takes off, it could be a solid plan for the future.
1 Reply Quote Share
Posts: 1 · Reputation: 11
#20Jan 6, 2023, 04:36 PM
For real, saving that way will pay off in the end. I often spend money on small things, but with a locked setup, my savings could grow. Totally agree on finding a way to keep that amount intact.
0 Reply Quote Share

Related topics