Hallo friends
crowdsale was delete to library cant find it
Yeah, you are right, it only exists in the version 2.x
, they are not in OpenZeppelin Contracts 3.x
.
So to install it, you can run the following command:
npm install @openzeppelin/contracts@2.5.1
And you can find more details in the documentation: https://docs.openzeppelin.com/contracts/2.x/crowdsales
I have added emoji to the Simple ERC20 Crowdsale to make it clearer that they are not in OpenZeppelin Contracts 3.x
Thank you. May be any new contract for presale have?
Hi @asven-2020,
There aren’t specific presale contracts. You could have multiple crowdsale contracts for each phase.
Thank you Crowdsale not work with new ERC20 so problem do before pull
Hi @asven-2020,
You can have a separate project for the token and a separate project for the crowdsale. This would allow you to have a token using the latest OpenZeppelin Contracts (depending on the token).
Is there a new Crowdsale contract or did OPZ just stop maintaining it altogether. I tried using the 2x contract and could never get the transfer function to work at all.
If you know of any newer contract please advise.