Don't know about good stuff but it's an unrewarding and difficult task. If
you can, get someone else to handle as much as possible (companies like
eSellerate and the like). Otherwise, use an asynchronous solution (like
public/private keys) to avoid people extracting a keygen from your code, and
put lots of checks in. Have a trawl on Google and you should find something,
and good luck!