// contracts/OurToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract OurToken is ERC20 {
constructor(uint256 initialSupply) ERC20("tkname", "tkn") {
_mint(msg.sender, initialSupply);
}
}
this are my helpful-scripts py
dependencies:
- OpenZeppelin/[email protected]
compiler:
solc:
remappinigs:
- '@openzeppelin=OpenZeppelin/openzeppelin-co[email protected]'
dotenv: .env
wallets:
from_key: ${PRIVATE_KEY}
error ParserError: Source "@openzeppelin/contracts/token/ERC20/ERC20.sol" not found: File not found. Searched the following locations: "". --> contracts/OurToken.sol:5:1: | 5 | import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^