Hello Folks,
I just published a smart contract to handle crypto inheritance 100% on-chain, without the owner having to do anything offline.
I know there are many solutions that are trying to solve this problem, but I wanted to design my own with my logic, which is the following:
- the contract acts like a wallet, owner can deposit, withdraw and transfer
- the owner can assign beneficiaries, and update them at any time
- the wallet contains an "alive check", which is automatically updated on any transaction
- if you wanna use it as a vault (dormant), you can update the "alive check" manually
- the owner defines a "consider me death time" in years, eg: if the last alive check is older than 10 years, I'm dead :(
- once that happen, any of the beneficiaries can access the wallet and withdraw all the funds
At this point, my favorite feature: the wallet gets locked, will reject any future deposit and "answer" with an epitaph... your "last worlds" recorded on-chain that you can configure when you create the wallet.
All of the above is less then 100 lines of solidity... amazing :)
At the moment I only did the backend (github link), but I'd like to do a nice interface to make it easy to deploy. Of course, free and open source in the Ethereum spirit!
Would you give me a feedback on the logic? Do you see any pitfall or edge cases?
Thanks,
Francesco
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments