Post
Topic
Board Development & Technical Discussion
Merits 3 from 2 users
Re: Dead man's switch
by
ETFbitcoin
on 15/11/2018, 17:36:54 UTC
⭐ Merited by aliashraf (2) ,pebwindkraft (1)
There are many ways if he rely on trusted people or 3rd party which already mentioned by others.

Otherwise, the closest things that i could think is using P2SH transaction/bitcoin script where the receiver only can claim the Bitcoin after n days/blocks. To prevent claim abuse while he's still alive, he could remake the script with different timelock before current timelock is "expired".
The rough code should look like this (i'm still learning bitcoin script, so most likely it's inaccurate) :
Code:
OP_IF
     OP_CHECKSIG
OP_ELSE
    <90 days> OP_CSV OP_CHECKSIG
OP_ENDIF