Riba on crypto?

Salaam,

Is a crypto currnecy that gives 2% of every sell back to their holders haram?

Is it just like dividends with stocks?

Can i sell the “extra tokens” and donate that amount to charity, can i then hold the coin?

Thanks in advance