The one answer that will be repeated multiple times is also the most logical one: Lots and lots of research.
Research the project.
Read the whitepaper.
Do a background check on the team members.
Check their community (Their own community, Reddit, ... )
And as far as the 'profitable' part goes, this is all tied together with the previous mentioned points mostly.