Do extremely difficult work.
That seems obvious, right? If you do something that's valued but scarce because it's difficult, you're more likely to be in demand and to be compensated fairly for what you do.
The implication is stunning, though: When designing a project or developing a skill, seek out the most difficult parts to master and contribute. If it's easy, it's not for you.