How is the basis of cryptocurrency determined for tax purposes?

The basis of cryptocurrency is its U.S. dollar cost at acquisition, including purchase price and fees. If received as income (mining/airdrop), its fair market value at receipt becomes its basis and is also taxed as ordinary income at that time.