If you get work-for-hire fees to create software, those fees are not subject to a royalty. If the software is not sold or monetized by your client, then no royalties are owed on that either.
If you get work-for-hire fees to create software, those fees are not subject to a royalty. If the software is not sold or monetized by your client, then no royalties are owed on that either.