0

Is it safe to have the Crowdsale and Token contract combined as one contract instead of two separate ones? Are there any drawbacks/advantages of doing this?

1

Yes, you can do this.

To me, the drawback is that it makes it harder for someone to read your contract and understand it. The crowdsale lasts only a short time, while the token will (hopefully) be used for much longer. It's nice if the token contract is just a token contract. Keeping that code short and simple will make it easier for others to verify that it does what it's supposed to.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.