Bold of you to assume I've had a very successful project.
Modesty aside, the general principle reminds me of Alex Graveley, the eng lead on GitHub Copilot, saying his compensation for creating Copilot was only a $20k bonus and a title bump.
They’re both good illustrations that “make something people want” is a necessary step to turning code into wealth, but not a sufficient step.