ERC20 Token - is it possible to transfer part of tokens to a smart contract?

If you want to test by the Remix, you should use the following way to import the dependency:

import  "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v2.5.1/contracts/crowdsale/Crowdsale.sol";

And it seems like you have trouble using Remix to test, you can have a look at this tutorial:

Create an ERC20 using Remix, without writing Solidity - General / Guides and Tutorials - OpenZeppelin Community

1 Like