I want to create a token is not sellable or transferable until a specific date (so that only initial buyers can buy tokens, but they should not sell tokens until ICO is completed), what would be the best way to do this?
For example, if I was to implement something like
if(msg.sender != owner){
require(now >= endOfICO);
}
inside of the transfer function would that be acceptable, or even usable?
Thanks a lot for any help or advice, or even links to other discussions as I cannot find information on how to incorporate time-based locks on transfers.