You only get the capital gain if you cash out. As long as you keep it in your wallet you only pay the tax on the possession (based on how much you have in storage).