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

2 Answers 2

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

1
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/.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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