8.1 Time-locked wallet
The block height can be used to perform actions over time. If you know the average block time, you can roughly calculate how many blocks will be mined in a specific time frame.
This concept will be used to create a wallet contract that unlocks at a specific block height. Such a contract can be useful if you want to bestow tokens to someone after a certain period. In the future of cryptocurrency, you may want to save money for your child's future using a smart contract. In the future of cryptocurrency, you may want to save money for your child's future using a smart contract. Let's begin.
Last updated