Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: fourna on April 12, 2022, 05:24:50 PM



Title: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: fourna on April 12, 2022, 05:24:50 PM
I've been thinking about this for a while now and just randomly ran into https://www.reddit.com/r/nottheonion/comments/u1znfu/man_loses_his_entire_500000_savings_in/
on my front page.

There's already a bunch of coins lost because people didn't understand how wallets worked etc. before the seedphrase/non-deterministic era.

It should be mandatory to give (at least) three addresses upon wallet creation. Either from relatives or with a random option of a list/pool that maybe gets updated or selected at random, and triggered via dead man's switch.
Why lose coins when you could recycle them? It's all code anyway, isn't that the whole purpose of automation and self-governance?

thoughts/cons?


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: n0nce on April 12, 2022, 06:08:35 PM
Taking care of your funds is your own job. I completely disagree that the creation of every Bitcoin wallet should accept or demand a few addresses. The whole point of this is to let you decide how you deal with your money. If you want to give a few backups to relatives, do it. If you don't, do that instead.
You could even make a 3-out-of-5 wallet and give your lawyer one key, wife one key and one key in a safe deposit box.
There are many ways to accomplish it; it's up to you, to the amount stored, to the circumstances and preferences of the individual.

Sure, Bitcoin is code, but how would Bitcoin know that you're dead? And how would you store 3 addresses per wallet on the blockchain while keeping them private and not bloating up the whole thing?

There are many ways to make sure your coins aren't lost after your death, but it's been discussed many times here; you can find different ideas and schemes by using the search bar.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: philipma1957 on April 12, 2022, 06:33:51 PM
I believe that 40 years or so a call to free lost coins will begin.

Any address that has not had a withdrawal in 40 years will be listed as an abandoned account and have 1 year or 2 years to do a withdrawal. It will will then forfeit and go back to the fund of coins left to mine.

I will be dead or 105 in 40 years. So I won't see it but in 2062 blocks will be only 0.0060986328125 coins

2024  3.125
2028  1.56125
2032  0.780625
2036  0.3903125
2040  0.19515625
2044  0.097578125
2048  0.0487890625
2052  0.02439453125
2056  0.012199726525
2060  0.0060986328125
2064  0.00304931640625


with LN really hurting fees there may a call to boost block rewards. who knows


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: Welsh on April 12, 2022, 08:08:53 PM
It should never be mandatory to trust someone else with your Bitcoin, that's the whole point of Bitcoin, we don't automatically rely on third parties as willingly as people who use fiat does. Bitcoin could potentially go through a fork in the future if Bitcoin is still around, and the amount of Bitcoin lost has come such a problem that its becoming detrimental, although I do believe Bitcoin will either be replaced or we'll just use further denominations, which unfortunately could make it a little more complex to use.

At the moment its not a problem, and its likely not going to be a problem in the immediate future, if it ever becomes a problem, then I'[m sure there'll be a bunch of ideas thrown around when it's required.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: pooya87 on April 13, 2022, 03:21:37 AM
There's already a bunch of coins lost because people didn't understand how wallets worked
According to your own statement here, a dead man's switch is a terrible idea!

It is pretty simple, if there are people who are not capable of understanding how wallets or bitcoin in general works, there is no guarantee that they are going to understand how the dead man's switch works and that leads to unwanted losses while they are alive!
The best course of action for those who don't understand things is to not use bitcoin in first place.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: Welsh on April 13, 2022, 02:09:03 PM
More importantly, how to do it without rely on 3rd party?
Not easily that's for sure. Although, I get it not everyone cares about relying on a third party, my concern with OP's suggestion was purely on it being mandatory, since that forces the user rather than giving them the choice. There will be people using Bitcoin for different reasons to the third party concerns, and some will be comfortable with it. Personally, I wouldn't be, and I wouldn't advocate it, but I do understand that some people would actually prefer it. If we want mass adoption, then that's the reality of things, and depending on that individuals circumstance, could actually make some sense.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: o_e_l_e_o on April 13, 2022, 03:12:45 PM
I have argued this many times before, but there should absolutely not be a centralized consensus for removing coins from people's wallets and giving them to anyone else or returning them to the supply. I don't care if the coins haven't moved in 10 years or 1,000 years. I don't care if the coins are vulnerable to being hacked or stolen. I don't care if the coins are sent to a burn address.

Your bitcoin should be in your control and your control only. If you want to set up a multi-sig wallet for inheritance purposes, or pre-sign some timelocked transactions, or leave your seed phrase hidden in your will, or some other inheritance set up, then you are free to choose to do any of those things. If you don't want to do any of those things, then you are free to choose that option too. The whole purpose of bitcoin is freedom to do what you want with your own money, and not have the network dictate that your coins will be redistributed if you don't use them in a way that we deem appropriate.

Besides, Satoshi already considered the issue of lost coins:
Lost coins only make everyone else's coins worth slightly more.  Think of it as a donation to everyone.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: Lucius on April 13, 2022, 03:45:21 PM
You could even make a 3-out-of-5 wallet and give your lawyer one key, wife one key and one key in a safe deposit box.

Given that life is unpredictable, and that almost always happens something that seemed least likely, in case I do something like that - my wife would get involved with my lawyer, and a lawyer's cousin would work in a bank where I opened the safe deposit box. By the time I realized what was going on, my BTC would have disappeared, along with my wife and lawyer - and they would have set me up for the murder of the banker who was involved in everything ::)

Of course, I'm kidding a bit, but when it comes to Bitcoin, I don't share private keys with anyone, no matter how much someone says it's maybe selfish.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: stompix on April 13, 2022, 04:33:45 PM
I've been thinking about this for a while now and just randomly ran into https://www.reddit.com/r/nottheonion/comments/u1znfu/man_loses_his_entire_500000_savings_in/
on my front page.

There's already a bunch of coins lost because people didn't understand how wallets worked etc. before the seedphrase/non-deterministic era.

And your solution won't have any effect here because this is not about personal wallets but somebody who had funds on Quadriga, I don't expect any CEX to be playing with such a thing that is way too tempting for everyone to try and abuse and even without that, imagine that exchange had some addresses set and those addresses were obviously controlled by who? Not the same guy?
If he wanted a backup strategy he would have used multi-sig addresses, it's clear he wanted full control so most likely he would have used the addresses of his own pool for recycling.

And let's assume it works all well and so, how do you make sure those keys are not lost? How do you make sure the pool is not hacked, the key is exposed and thousands of bots are waiting to empty that address the moment the coins land in it? And how do you force people to give them back? And a lot of ands!

Sure, Bitcoin is code, but how would Bitcoin know that you're dead?

Biometric chip implant that is set to send the data to a node the moment your vital signs stop for more than x?
Humans have a tendency to overcomplicate things so this wouldn't amaze me.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: d5000 on April 13, 2022, 05:41:22 PM
If you want to set up a multi-sig wallet for inheritance purposes, or pre-sign some timelocked transactions, or leave your seed phrase hidden in your will, or some other inheritance set up, then you are free to choose to do any of those things.
My favourite solution is the timelock dead man switch with nLocktime, which is described in this thread (https://bitcointalk.org/index.php?topic=5180850.0). The problem is that the popular wallets don't make it too easy to create this kind of transactions. You can of course create timelocked transactions with them, but there are some caveats:

- the GUI in Electrum for example lets only enter you the raw nLocktime value, which isn't very intuitive seems to have been improved with newer versions, where you also can enter a date.
- when you move coins, you have to create a new nLocktime transaction.
- before the timelock expires, you have to move your coins, otherwise the other party gets access to them.

So to make the whole process more intuitive a specific GUI would be needed, which lets you input the heirs' addresses and alerts you when to move coins or when to create a new timelock transaction. It's possible that the OP meant this, but they're a bit imprecise with their usage of "dead man's switch".

I'm thinking about a feature request for Electrum, for example. This version (https://bitcointalk.org/index.php?topic=5185907.0) is also interesting and a bit easier to implement (it seems it was implemented in a mobile wallet (https://bitcointalk.org/index.php?topic=5377228.0) last year).


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: o_e_l_e_o on April 13, 2022, 06:53:50 PM
Biometric chip implant that is set to send the data to a node the moment your vital signs stop for more than x?
Chip malfunctions, all your coins are gone, sorry! :P

- before the timelock expires, you have to move your coins, otherwise the other party gets access to them.
Two ways around this step. First of all, you don't have to move all your coins to invalidate the transaction. Moving just a single input would invalidate a transaction with many inputs. So you could create a transaction sending money from (for example) 5 cold storage addresses and 1 hot wallet address, and you would only need to send the small amount of coins out of the hot wallet address to invalidate the entire transaction without having to touch the cold storage coins. The second option is you simply don't share the timelocked transaction with anyone. Create it, sign it, and then store it (again, for example) in a safe in your house that your relatives would break in to after you die. Whenever the timelock is approaching, destroy your transaction and replace it with a new one further in the future.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: Welsh on April 13, 2022, 09:46:31 PM
Of course, I'm kidding a bit, but when it comes to Bitcoin, I don't share private keys with anyone, no matter how much someone says it's maybe selfish.
I mean its your decision at the end of the day, I don't anyone claiming it to be selfish has any real weight behind it. Personally, I do think its a good idea to set something up, although I think there might be better ways that going through it via coding it in, or even using a dead mans switch. Ultimately, it depends on your threat model. Whenever we are talking about major wealth, then having a multisig setup could potentially be dangerous, you only have to look around you to see how far some people are willing to go to get their hands on wealth.

Even families can turn against each other, so I wouldn't listen to anyone saying you're being selfish.



Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: Lucius on April 14, 2022, 01:10:13 PM
I mean its your decision at the end of the day, I don't anyone claiming it to be selfish has any real weight behind it.

Here we can talk about a lot of people thinking that there is too little Bitcoin (max supply only 21 million) for someone to allow that after someone’s death it happens that his BTC practically goes to the grave with him. The OP says it would be mandatory to avoid this in some way, but fortunately there is no law to regulate that problem in crypto, even when it comes to assets in banks to which no one is entitled. In Germany alone, it is estimated that there are between 2 billion and as much as 9 billion EUR (https://twentythirty.com/article/dormant-assets-antonis-schwarz-markus-sauerhammer) in such bank accounts, with the difference that sooner or later the money will go to the state if no one responds and claims their inheritance rights.

Even families can turn against each other, so I wouldn't listen to anyone saying you're being selfish.

This has become quite common, so sometimes we can say that it is better for family members not to be familiar with some things, because a lot of money means a lot of discord, quarrels, and even violence.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: dkbit98 on April 14, 2022, 01:20:56 PM
It should be mandatory to give (at least) three addresses upon wallet creation. Either from relatives or with a random option of a list/pool that maybe gets updated or selected at random, and triggered via dead man's switch.
I don't know if you ever wondered what would happen to all your email addresses and online accounts if you die without leaving your backup passwords to your family members or lawyer.
It's similar thing with Bitcoin and private keys or seed words, and I don't think we need to have bitcoin-babysitters for that.
Even if you had bunch of gold plates hidden in undisclosed secret location and you never tell anyone about that, it is lost for your family forever when you die.

Why lose coins when you could recycle them? It's all code anyway, isn't that the whole purpose of automation and self-governance?
It's your own responsibility and there is no automation in Bitcoin.
If you want to leave hidden treasure to your family you live them map with instructions how to find it, same thing applies for bitcoin.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: n0nce on April 14, 2022, 01:34:34 PM
It's similar thing with Bitcoin and private keys or seed words, and I don't think we need to have bitcoin-babysitters for that.
Even if you had bunch of gold plates hidden in undisclosed secret location and you never tell anyone about that, it is lost for your family forever when you die.

If you want to leave hidden treasure to your family you live them map with instructions how to find it, same thing applies for bitcoin.
Now I want to see a movie that plays in a distant, far post-apocalyptic future, where a lot of technology was destroyed, governments and banks don't exist anymore, however hobbyist-run nodes on smartphones and laptops with 128TB SSDs are still up and running and connected through an off-grid mesh network. They are just lying around in the destruction and some still run.

Then in the rubble, underneath a destroyed building, someone finds these two huge golden plates (insert some reference to Moses, because movies always do this shit). After getting excited about its value and sudden realization that he can't easily trade or transact with this gold and there is no banks to sell it to, he realizes there are seed words to hundreds of BTC on them...

Almost everyone had forgotten about Bitcoin by that time, but it still ran as a background service on some devices and they were even still mining at super efficiency in the background. However he remembers something his grandfather told him about this government-independent money, in a time where before the apocalypse, the world was completely authoritarian and there was no way around paying with a face scan in store which would directly credit that amount from your state-controlled bank account. A few members of the resistance still ran these nodes though and it seems like the only way out now...


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: kaggie on April 14, 2022, 03:41:03 PM
A required dead man's switch would be a non-anonymous currency.
I'm guessing OP is pro-anonymity?

I believe that 40 years or so a call to free lost coins will begin.

Any address that has not had a withdrawal in 40 years will be listed as an abandoned account and have 1 year or 2 years to do a withdrawal. It will will then forfeit and go back to the fund of coins left to mine.


There are several reasons why you shouldn't do this.

What would be the point, anyways?

1) You can't reinstate lost coins without introducing crazy entropy into the system. So, what happens when larger versus smaller accounts get 'released'? You'd cause big changes in the market due to that variability. This is undesirable for a currency.
2) This would be unfair to the miners just before or after major peaks of those releases. At least with something constant or predictable, you get some level of fairness.
3) Even if in 40 years people might be dead, many people here will be in their golden years and need that savings.
4) Depending on what the lead time is on this, you may be forcing people to spend their coin 'early'. It could cause them to spend it in non-optimal circumstances that force reveal the originators/inheritors and cause safety concerns.
5) Any currency that can't last that long without retaining a reasonable portion of its value, isn't worth it.
6) Who decides? Instead of inflation and governments forcing the loss of your savings, you would have a loose group of individuals decide that fate?
7) If those coins are dead, it doesn't matter. If those coins are really in the care of someone, then it's hurting the owners. They were fairly mined.
8] If you 'negate' the coin, then you lose that history.
9] You might wreak havoc on the system if there is the possibility that large values of coin come back to life that were otherwise dormant. Can you imagine?
10] You would get people who game the system. Do you think people would game a system for 40 years? If a crypto took off like people here think, then yes, gaming would happen, especially with some non-constant variable like this.

You can increase the mining reward if you think the current system is unfair, remove the limit on the number of bitcoin that can be mined, or institute another cryptocurrency.

But negating the value from addresses that fairly mined them before?
Both play with the economics of the system.

I don't anyone claiming it to be selfish has any real weight behind it...

Even families can turn against each other, so I wouldn't listen to anyone saying you're being selfish.

Money is inherently selfish. I doubt there is anyone that has given their main home carefree to a group of homeless individuals to live on the street themselves. There are people starving some place in the world, and yet you choose to eat? How selfish! Neither pure selflessness nor selfishness can solve the world's problems - some mix is good.

Even if you had bunch of gold plates hidden in undisclosed secret location and you never tell anyone about that, it is lost for your family forever when you die.
There's a religion about this..

It's a fun thought experiment. What should we do to leave behind something to help our great great descendants? Maybe we can leave a buried nuclear reactor with stone carved instructions on how to derive energy from it and see the history as we thought of it projected on radiation hardened electronics? And somewhere near, leave seeds and genomes of all catalogued species? Would they be stone men and women rebuilding a civilization and have to figure it out, or would they be some super advanced civilization who thought it was cute but used it for their archaeology classes?


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: o_e_l_e_o on April 16, 2022, 11:02:45 AM
As long as the data is intact (whether it's private key or signed transaction), theoretically you could regain access to your coin.
I was thinking more of scenario where the chip thinks you are dead when you are not, and then broadcasts a transaction which moves all your coins to someone else's address.

Who decides? Instead of inflation and governments forcing the loss of your savings, you would have a loose group of individuals decide that fate?
I don't necessarily disagree with your other points, but this really is the only one which matters. If you set up a centralized mechanism whereby a small group of people choose how and when to redistribute coins belonging to other people, then bitcoin is no longer decentralized. We've seen it happen to other coins, where a small group of people decided that some transactions were not allowed or that some people were not allowed to own some coins. If you go down that route with bitcoin, then it becomes just another scammy altcoin.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: kaggie on April 16, 2022, 11:45:46 AM
Who decides? Instead of inflation and governments forcing the loss of your savings, you would have a loose group of individuals decide that fate?
I don't necessarily disagree with your other points, but this really is the only one which matters. If you set up a centralized mechanism whereby a small group of people choose how and when to redistribute coins belonging to other people, then bitcoin is no longer decentralized. We've seen it happen to other coins, where a small group of people decided that some transactions were not allowed or that some people were not allowed to own some coins. If you go down that route with bitcoin, then it becomes just another scammy altcoin.

I agree.
Not everyone will be convinced by the argument though, so it's useful to go through the other arguments too.

The debate/argument will happen on a grander scale some day. It's worth having arguments written down now without the occlusion of being in the moment.

One more point on anonymity: To do this removes anonymity. If you expect people to have wealth, then you need some level of anonymity. A lack of anonymity when someone owns more than others, which is impossible to avoid, can put that person at risk. Fair enough that we need accountability too, especially for great wealth, and bitcoin seems to strike that balance (I think).


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: longlivecapitalism on April 23, 2022, 12:44:03 PM
I think this goes against some of the principles Bitcoin was built on (namely, anonymity). The best thing to do is, if someone is really afraid that their Bitcoins will be lost upon their death, that they should take it upon themselves to individually ensure that they won't be lost. A lot of people are already doing this.
If we were to look at this collectively, I don't think that losing Bitcoins hurts Bitcoin itself. It's value grows the more scarce it gets. But maybe people would be able to tell us more in about 50 years or so.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: litecoin_messiah on April 23, 2022, 06:21:53 PM
Everyone pays a price for a lesson, just gotta make the lesson worth it.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: Kakmakr on May 01, 2022, 03:17:11 PM
Even though we do not know when we are going to die, it may happen in 40 or 50 years from now, when the technology might be obsolete. Now, I know people will adapt to the chances whilst they are alive, but what happens if the "death switch" fails and it takes a couple of years to access those coins.

In that time, a lot could change.... we might have a hard fork to counter quantum computing attacks or we might need some major changes to the protocol that negate a new attack vector that might be found.

You do not want the coins/tokens locked up due to a faulty "death switch" or if your relatives has no idea how to access the coins. (The death switch might transfer the coins to their addresses ...but they might not know how to access it safely.)  ::)


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: PrimeNumber7 on May 01, 2022, 08:27:33 PM
I believe that 40 years or so a call to free lost coins will begin.

Any address that has not had a withdrawal in 40 years will be listed as an abandoned account and have 1 year or 2 years to do a withdrawal. It will will then forfeit and go back to the fund of coins left to mine.
LN (and other layer 2 protocols) will make it less necessary, and less common for particular outputs to be spent.

If you have a sufficient number of channels, and if your counterparties are cooperating, you may never need to close your channels because you can just rebalance your various channels.

Further, there are always security risks associated with accessing your private keys and spending your coin, so individuals should generally not spend their coin unless they need to.

Sure, Bitcoin is code, but how would Bitcoin know that you're dead?
It can't. Period.

If someone wants to, they could create a nLockTime transaction that is valid a very long time in the future, that is intended to be sent to an address created for their next-of-kin. This is ultimately something that the owner of any coin should decide.


I would point out that some wealthy people choose to not give any money to their heirs.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: Pmalek on May 03, 2022, 09:23:39 AM
My favourite solution is the timelock dead man switch with nLocktime, which is described in this thread (https://bitcointalk.org/index.php?topic=5180850.0). The problem is that the popular wallets don't make it too easy to create this kind of transactions.
Another problem is that you don't know when you are going to die. Let's assume you want to leave your coins to your children. You set up a timelock with nLocktime at a future block around the time you will turn 70. But if you suffer a heart attack and die at 60, your children will have to wait 10 years to get access to the coins. It would be great if timelocked transactions could be edited to broadcast earlier upon showing the needed cryptographic proof. I don't have much knowledge of the subject, maybe they already can. 

I don't know if you ever wondered what would happen to all your email addresses and online accounts if you die without leaving your backup passwords to your family members or lawyer.
I have heard of examples where Facebook has given the parents of a missing child access to their Facebook account in order to see if they can retrace their last steps or find some clues from the messages with their friends. In a way, social media accounts are inheritable. I don't see why that couldn't work for email accounts as well.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: o_e_l_e_o on May 03, 2022, 10:05:05 AM
You set up a timelock with nLocktime at a future block around the time you will turn 70. But if you suffer a heart attack and die at 60, your children will have to wait 10 years to get access to the coins.
There are easy ways around this, as I briefly explained here: https://bitcointalk.org/index.php?topic=5394317.msg59853530#msg59853530. To elaborate:

The first scenario would involve me keeping the timelocked transactions secret, such as locked in a safe in my house or a safe deposit box at a bank. My family know about where they are stored, but would only be able to access them after I die. For added security they could be encrypted with a key only my family know. I create and sign a timelocked transaction, locked 1 year (for example) in the future, and hide it in my safe. If I am still alive in 11 months, then I create and sign a new timelocked transaction a year in the future from now, destroy the old one, and and replace it with the new one. Repeat every year and your family will never have to wait more than a year to claim your coins (or whatever time frame you choose). If you wanted you could even make up decades worth of timelocked transactions in advance, with a new one unlocking every month (for example), and just destroy them one by one as time goes on.

The second scenario would involve me sharing the timelocked transactions with my family as soon as I sign them. Again, 11 months in the future, I move a single input from the timelocked transaction, thereby invalidating the entire transaction (I could even keep a single input of a few thousand sats which I repeatedly use only for this purpose), and then create and sign a new one and hand it over to my family.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: n0nce on May 03, 2022, 02:14:55 PM
Sure, Bitcoin is code, but how would Bitcoin know that you're dead?
It can't. Period.
I know, it was a rhetorical question. :D

You set up a timelock with nLocktime at a future block around the time you will turn 70. But if you suffer a heart attack and die at 60, your children will have to wait 10 years to get access to the coins.
There are easy ways around this, as I briefly explained here: https://bitcointalk.org/index.php?topic=5394317.msg59853530#msg59853530. To elaborate:

The first scenario would involve me keeping the timelocked transactions secret, such as locked in a safe in my house or a safe deposit box at a bank. My family know about where they are stored, but would only be able to access them after I die. For added security they could be encrypted with a key only my family know. I create and sign a timelocked transaction, locked 1 year (for example) in the future, and hide it in my safe. If I am still alive in 11 months, then I create and sign a new timelocked transaction a year in the future from now, destroy the old one, and and replace it with the new one. Repeat every year and your family will never have to wait more than a year to claim your coins (or whatever time frame you choose). If you wanted you could even make up decades worth of timelocked transactions in advance, with a new one unlocking every month (for example), and just destroy them one by one as time goes on.

The second scenario would involve me sharing the timelocked transactions with my family as soon as I sign them. Again, 11 months in the future, I move a single input from the timelocked transaction, thereby invalidating the entire transaction (I could even keep a single input of a few thousand sats which I repeatedly use only for this purpose), and then create and sign a new one and hand it over to my family.
I thought about these 2 proposals of yours and I can't come up with anything better; they hit a nice balance of usability, security and low risk of the heirs not being able to access the coins. I also don't find them very impractical or too inconvenient to implement in real life, so for now this would be my preferred solution for a 'dead man's switch'. Compared to other ideas it also doesn't involve any custom crypto, which is great.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: o_e_l_e_o on May 03, 2022, 02:38:54 PM
and low risk of the heirs not being able to access the coins.
The biggest risks for the heirs not being able to access the coins (as I see it) is either them not being able to access the timelocked transactions, or losing access to the address which the timelocked transactions send all your coins to. Probably the most simple way to mitigate these risks would be to combine the methods above, and store a copy of your timelocked transaction in your safe as well as handing them a copy to store, so there is not a single point of failure for the timelocked transaction. This would obviously necessitate the "spend an input to invalidate the transaction" method for replacing the timelocked transactions. And while you are at it, they could hand you a copy of the seed phrase or private key for the target address to back up for them (assuming they don't use that wallet for anything else) in a location they know about, although you shouldn't keep this in the same place as the timelocked transactions for obvious reasons.

You could also circumvent this by using SIGHASH_NONE and SIGHASH_ANYONECANPAY, which would allow your heir to specify the output of the timelocked transaction to any address they like. This however introduces an additional risk in that anyone with access to the timelocked transaction could steal the funds after the timelock expires.

Other risks would be you forgetting to invalidate and replace the timelocked transactions, or messing up and creating an incorrect timelock without realizing it.



Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: d5000 on May 03, 2022, 03:17:13 PM
Another problem is that you don't know when you are going to die.
o_e_l_e_o already answered for me - the point is that you can replace the nLocktime transactions regularly.

Just wanted to add that there is another variant I linked in my earlier post (https://bitcointalk.org/index.php?topic=5185907.0) in this thread, invented by forum user Andriian and implemented in an experimental version of a mobile wallet, which in some situations can be even better:

You give your heirs an already signed transaction with two IF_ELSE options: a CSV timelock (after the expiration they can access the coins freely) and a condition that you can move the coins with your own key when you want. They can broadcast it at any time, but when they broadcast it, they need to wait for the timelock to expire to move the coins, for example for a year.

So they can broadcast it as soon you've died and will have access after the timelock expires. If they maliciously broadcast the transaction while you're still alive, you can move the coins yourself (and speak some serious word with your heir, which may not be a heir anymore in this case :) ).

This variant has a little bit more trust involved, because in theory you could imagine rare situations where you won't be able to move your coins in time (while still alive, e.g. on a long extreme tourism trip) and your heir could abuse that, but is easier to implement because you don't need to replace transactions as long as you don't move your coins - so it's excellent for a longterm HODL wallet. Even if someone steals the transaction (which could be a paper with a QR code) from your heir and broadcasts it, you will have enough time to react.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: DannyHamilton on May 03, 2022, 03:47:09 PM
It should be mandatory to give (at least) three addresses upon wallet creation.

Mandatory how?  Who will enforce this rule? This is a decentralized, global technology. Anybody anywhere, with some software engineering knowledge, can create their own wallet software and make it available for others to use. How are you going to force every programmer in the world that creates any type of wallet software to require all of their users to provide 3 addresses? Are you going to employ a police force that will hunt them down and arrest them? Will you also arrest the people that choose to USE a wallet software that doesn't require 3 addresses? What if someone doesn't have any friends or family that they trust? Do they get to use bitcoin?

Bah. You want to use a wallet with a multi-sig system? Go ahead, nobody is stopping you. But you aren't going to force your personal preference on the entire world.


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: Pmalek on May 03, 2022, 06:52:54 PM
<Snip>
I like this proposal even more than the nLocktime feature. With Andriian's solution, there is no need to re-create the timelocked transaction after a certain period has passed. To invalidate the old one, you would have to spend one of the inputs thereby creating additional transaction costs. Not that big of a deal, but still. Or if you don't want to do that, you can create a timelocked transaction for a decade in advance, but you would be leaving your heirs waiting for a long time to get to the coins.   

But with Andriian's method, the sender would only need to create a new timelocked transaction if the receiver tried to broadcast it while the sender is still alive. In other cases, the sender only checks the status. That's good and it doesn't even have to be done that often. If the transaction timelock expires in one year, the sender would only have to check the status one time during that period.

But there are some negatives as well. No wallet uses Andriian's proposal. It only works in a testing environment and on a mobile wallet. If you wanted to use it, both parties would be required to use that one and only wallet. There is no desktop solution yet. Even if it was live on mainnet, it would have to be thoroughly checked and tested for bugs and vulnerabilities before being recommended.

But I hope he succeeds in creating this. It looks really interesting.     


Title: Re: in case of death; mandatory bitcoin deathswitch Dead man's switch
Post by: thepriceinsats on May 05, 2022, 10:57:49 AM

thoughts/cons?

My wife shares the knowledge of where things are stored and the backup plates are stored separately in the event of my demise, that's prudent planning. But I am not trusting a third-party app with my keys.


The comment about abandoned accounts of over 40 years was interesting, that's something that should be discussed.