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 Answers2

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

Shaun Bevan
  • 453
  • 2
  • 6
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/.

user19510
  • 27,999
  • 2
  • 30
  • 48