I suggest looking at Simple ERC20 Crowdsale. It includes a migrations script and sample token.
In OpenZeppelin Contracts 2.5.1 the name
and symbol
were part of ERC20Detailed
. In OpenZeppelin Contracts 3.x ERC20Detailed
was merged into ERC20
, which is why you are getting the error: Wrong argument count for modifier invocation: 2 arguments given but expected 0. constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) public {