crypto losses

Is it true that we can take a loss on crypto, and buy back in on the same coin/token without waiting the 30 days required for stock repurchase? What is the maximum loss that can be applied in a given year to offset gains?