Getting started

It would be both, actually. You would enter the fair market value of the crypto you received as self employment income. Then when you sell the crypto, you would enter the sale as capital gains/losses.