Request an example AllowanceCrowdsale which can be deployed on Remix with an ERC777

@abcoathup
I wont to know how i can deploy an AllowanceCrowdsale and set the price of my token which i have already deployed. please give example on ERC777 and others if possible. Thanks!!!

1 Like

Hi @Rahaman,

For details and examples on Crowdsales, please see the documentation
https://docs.openzeppelin.com/contracts/2.x/crowdsales

If you need an example, the OpenZeppelin Contracts tests are a great place to start.
See the mock implementation: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/mocks/AllowanceCrowdsaleImpl.sol

Let me know if you get stuck.

Any such solution would need appropriate testing and auditing. Using an ERC777 we also need to protect against reentrancy (see Reentrancy After Istanbul)

1 Like

A post was split to a new topic: What do Rate, Wallet, Token and Token Wallet mean in Crowdsale constructory?