I do software development on contract basis. I was approached by someone for a software and they want to pay good but they want complete ownership of the code and software (they probably are going to resell it). what is the best approach here?
Wouldn't this be more common than not if you develop custom software for someone? What is the key concern for you? Your contract would state that the customer owes the product and the source code. If you want to use some of your existing libraries that you developed, you may want to exclude them from ownership, giving the customer a license to use and modify.