Get your taxes done using TurboTax

So to confirm, I have to pay tax twice on staked or mined crypto, when it’s received and when it’s sold ? 

example. I received 1 token, its value when staked is $1, I sell it at $10 in less than 1 year:

Staking event: $1 x 40 % = 40 cents 

Sell event: $10 x 40% = $4

 

total taxed $4.40

actual profit $5.60 i get to keep?