hello i found some contract but i faild on verify on bsc pls who have best contract ?
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol you're welcome.
Thnx Bc i use this for verify and he dont work idk why
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts@4.7.1/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts@4.7.1/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts@4.7.1/security/Pausable.sol";
import "@openzeppelin/contracts@4.7.1/access/Ownable.sol";
Error: not found utils/Context.sol
Thats an import issue, you could solve it by importing the ERC20 contract and creating your own that inherits ERC20, like this :
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
contract MyToken is ERC20 {
constructor() ERC20("TokenName", "TOKENSYMBOL") {}
}