This exactly what I have in mind when I bought cloud mining contract since it is lifetime so my child might be able to get the benefit, as long as the price keep on rising and the contract not terminated by the company. But now from what I read in this forum, it seems like I bought the contract from non-reliable company and my contract might get terminated after a few months..so..I might need to think or invest in something else after this.
Luckily I only bought a small contract though..