@solidity101 I'm currently using Remix and importing the ERC20PresetMinterPauser.sol from github like such:

pragma solidity ^0.6.2;

import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.2.0/contracts/presets/ERC20PresetMinterPauser.sol";

This doesn't allow me to change the code directly in Remix though. I would have to copy paste the code in there and then manually import all the inherited contracts. Is there an easier way to go about this?

Nov 10, 2020, 3:30 PM
Maybe fork the openzeppelin-contracts repo and change that bit of code there and then import the new repo?
Nov 10, 2020, 3:34 PM

© 2024 Draquery.com All rights reserved.