3

Since the creation of tokens is a standardized process following the ERC20 specifications, I want to know if there is also a "common code" or a default way to create a crowdsale for an ICO

Thanks

6

OpenZeppelin has a GitHub repo with peer-reviewed open source contracts for tokens and crowdsales. They're a good source to see working ICO contracts.

The examples include refundable crowdsales, capped crowdsales, finalizable crowdsales, and different types of ERC20 token contracts.

Here's the repo: https://github.com/OpenZeppelin/zeppelin-solidity/tree/master/contracts

2

There's no real standard for token sales, but I published a walkthrough of a typical approach on my blog last week: https://programtheblockchain.com/posts/2018/02/02/writing-a-token-sale-contract/.

  • Good blog post, helped me to understand the basis. – user19060 Jun 25 '18 at 11:30

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.