First, let's consider a question: what kind of assets can you truly control? Assets such as bank deposits, stocks, and bonds are essentially custodial contracts that you cannot truly control. Real estate, as immovable property, also carries the risk of forced auction. Precious metals like gold and silver can be held, but they are inconvenient to carry and store, and not easily controllable assets.
Cash, compared to precious metals, is more convenient to carry and, unlike securities, can be physically held. However, centralized cash relies on the credit of central banks and in extreme cases, it can become worthless, like the German mark or the silver yuan during the Republic of China era. There is even the possibility of legal declaration of the invalidity of such banknotes.
Currently, only encrypted assets belong truly to the owner of the private key. Note that I am referring to the owner of the private key. In theory, no one can touch your assets except the key owner. As long as the private key is not revealed, even the law cannot forcibly confiscate the assets.
The decentralization of encrypted assets ensures the reliability of the assets, but none of us knows what will happen tomorrow. Planning ahead with a will and inheritance is the best way to mitigate risks. So, how can we safely transfer encrypted assets to designated heirs?
If you give the private key to the heir in advance, the assets will no longer belong solely to you. If you put the private key in a will, how can you prevent the executor of the will or the notary from stealing the assets?
Currently, I know of several ways to transfer encrypted inheritance:
-
Encrypt the private key and store it in the will, then inform the heir of the decryption method. This method is somewhat cumbersome and not very secure, as the security of the private key encryption method determines its security.
-
Use Multi-Party Computation (MPC) technology to divide the private key into multiple parts and distribute them to different inheritance recipients. This method has relatively high security, but I am currently concerned about the lack of a mainstream MPC algorithm. I may write a separate article to introduce this method in the future.
-
Use smart contracts to automatically complete the inheritance process. This is the project I will be implementing, and I will provide a detailed explanation of this method later.
Smart contracts are code that runs on the Ethereum blockchain. They function similarly to traditional contracts and can automatically execute agreed-upon terms. Conceptually, a smart contract is a piece of code compiled into instructions on the blockchain, running on every node. It is open and transparent to all users, with no need for trust agreements. This makes transactions more secure and reliable.
Smart contracts have a wide range of applications, including finance, healthcare, supply chain management, and various other industries. The most typical application is token issuance. Developers only need to write smart contract code and deploy it on the Ethereum network, and the tokens can automatically operate and meet the predetermined conditions, greatly reducing the difficulty of token issuance.
Other applications include notarization, voting, insurance, and executing wills.
The concept of smart contracts was first proposed by American cryptographer Nick Szabo, but it was not realized until the emergence of the Ethereum network. Ethereum, through the design of the developer-friendly programming language Solidity, makes it convenient for developers to develop and deploy smart contracts. This has greatly promoted the development and popularization of blockchain technology and smart contracts.
In summary, smart contracts are a type of code based on blockchain that can automatically execute specific tasks. They are transparent, secure, and widely applicable, with great potential to change traditional business operations. With the development of blockchain technology, smart contracts will undoubtedly have a more profound impact in the future.
The content of smart contracts is too broad, so this issue only provides a brief overview. In the next issue, I will use AI to assist me in implementing a real encrypted inheritance smart contract project.