What are the chances a will like this could be successfully challenged in court by your descendants? I'm not a lawyer, but I wouldn't trust that purpose to stay protected. (No idea about blockchain contracts either, though, much less the price future of cryptocurrencies...)
Gold can also go to zero over time. Mining asteroids can do it very quickly.