@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!!!
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)