It's often easier to start things than it is to finish them. Selling a company is not that unusual, especially in the tech startup world. What few people realise is that often, when you sell your company to any kind of decent acquirer, they won't just take your word about what's going on in the company and "open the package later" when you're out of sight.
Before you sell your company (and even, sometimes, before you take VC investment, which is a form of limited selling), there will be what's called a Due Diligence:
(...) due diligence is all about verification and risk assessment.
During a due diligence you'll likely be visited by a lawyer for the legal affairs, an accountant for the financial portion, and if you're a technology company someone that looks at the tech side of things.
This excellent blog post by Jacques Mattheij, who has conducted numerous technical due diligences himself, is full of useful information and will come in very handy if you're about to go through this process.