Author

Topic: Lock a wallet (Read 415 times)

member
Activity: 92
Merit: 10
September 26, 2016, 07:39:55 AM
#4
Bitcoin core has a way to UNlock your wallet for a certain period. I don't think it can lock it for a certain period of time tough (walletlock hasn't got any parameters).

You could send the funds to yourself and use tx.nLockTime to lock the transaction untill a certain block??? I've never done this myself, but more info can be found here: https://bitcointalksearch.org/topic/howto-nlocktime-321550

An other option is to generate a 2 of 2 multisig wallet, so the signature of your spouse/best friend is needed to spend the funds?

Just on a personal note: why do you have the urge to spend every satoshi you have? A gambling problem? In this case, it might be wise to seek some help instead of searching for a technical solution... Just my personal opinion tough, you can do whatever you want, it's your life Wink

I don't have an issue :p just see something to add to my collection and buy it lol

Thanks for the tips will look into them Smiley
staff
Activity: 3458
Merit: 6793
Just writing some code
September 26, 2016, 07:10:24 AM
#3
You could create an address which uses OP_CHECKLOCKTIMEVERIFY. This would prevent any bitcoin from that address from being spent until you are past a certain locktime.
hero member
Activity: 896
Merit: 1006
September 26, 2016, 06:58:39 AM
#2
Bitcoin core has a way to UNlock your wallet for a certain period. I don't think it can lock it for a certain period of time tough (walletlock hasn't got any parameters).

You could send the funds to yourself and use tx.nLockTime to lock the transaction untill a certain block??? I've never done this myself, but more info can be found here: https://bitcointalksearch.org/topic/howto-nlocktime-321550

An other option is to generate a 2 of 2 multisig wallet, so the signature of your spouse/best friend is needed to spend the funds?

Just on a personal note: why do you have the urge to spend every satoshi you have? A gambling problem? In this case, it might be wise to seek some help instead of searching for a technical solution... Just my personal opinion tough, you can do whatever you want, it's your life Wink
member
Activity: 92
Merit: 10
September 26, 2016, 06:54:14 AM
#1
Hello is there anyway to lock a Bitcoin wallet for a set amount of time for example 6 months.

As soon as I save I get to around 0.2 and cant help but spend it.

Would love to lock my finals away while I save.

Thanks for reading.
Jump to: