Crypto mining works in much the same way, with assets created in the digital mining process and then later sold. Assets gained from aidrops and forks would also get the same treatment under Lummis' amendment, getting taxed only when they're ultimately sold.