Is a token in a potentially-riba DeFi ecosystem haram?

As Salaamu Alaykum

Is it permissible to invest in a crypto that is itself not used for haram, but the project behind it is used for haram?

So let’s say there is a project that deals in part or in whole with riba, and the developers release a token for that project. Let’s say one of the many uses of this token is in riba but it is also used for a number of other things in the overall system.

Would it be permissible to invest in the token?

On face value, this post may seem similar to my previous one:
If most uses are haram, is the whole also haram?. the difference here is that I am asking about whether we can make a distinction between the tokens and the projects themselves.

Jazak Allah Khair

A post was merged into an existing topic: If most uses are haram, is the whole also haram?