Hello
I am learning how to deploy OpenZeppelin Contracts with Remix. I get up to Verify and Publish on Etherscan, then i get stuck.
For example deployed: 0x2cfdc17281aa7cc1418e4a011025fd6cd8b43d27 on Ropsten
with code in Remix:
<
// contracts/Pear.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "https://github.com/ OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
contract Pear is ERC20 {
constructor(uint256 initialSupply) ERC20("Pear", "PER") {
_mint(msg.sender, initialSupply);
}
}
/>
Used hashex, copied the ABI there and added the address: 0x2cfdc17281aa7cc1418e4a011025fd6cd8b43d27 (Argument: address).
Used the Flattener in Remix and pasted the code into Etherscan:
The code is not verified.