Crowdsale deployed to ganache doesn't send token

Hi abcoathup, when deploy crowdsale with use ganache contract dont send token can you help me. it must send token when send ether to wallet in crowdsale or to crowdsale contract

good thank you for you job

Could you please paste your contract and test code at here?

Hi @asven-2020,

If you are using a fixed supply token, then you need to transfer the amount of tokens that you want to sell to the Crowdsale (unless you are using an AllowanceCrowdsale.

You could look at this example: Simple ERC20 Crowdsale.