Cant verify my contract on BSCScan

hi i want to verify my contract on bscscan but i keep getting this error:

ParserError: Source “@openzeppelin/contracts/token/ERC20/ERC20.sol” not found: File import callback not supported
→ myc:5:1:
|
5 | import “@openzeppelin/contracts/token/ERC20/ERC20.sol”
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

i tried to verify it with truffle but i cant get it working, i tried it on linux and on my own pc “windows” can someone help me with this?

:computer: Environment
the environment i am using is remix

Sorry, I am not familiar with the BSC-Chain, maybe you should ask for help in their forum: Home | Binance Chain Forum

And they have a documentation about how to verify contracts, maybe you can have a look at it:

BTW, maybe you should share your source code and contract address.

Hi thanks for helping!

this is the contract i use:

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import “@openzeppelin/contracts/token/ERC20/ERC20.sol”;

contract MonopolyCoin is ERC20 {
constructor() ERC20(“MonopolyCoin”, “MONO”) {
_mint(msg.sender, 75000000000000 * 18 ** decimals());
}
}

and the contract code is 0x88d5d7326180627d981fffd81ffb82cf7e0493e8

i already tried to verify it with truffle and hardhat but i cant get that to work

I also had a try, but failed, so maybe this is not your source code or is there some special config you set?

Sorry this is the code i made my token with:

pragma solidity ^0.8.0;

import “https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol”;

contract MonopolyCoin is ERC20 {
constructor(unit256 initialsupply) public ERC20 (“MonopolyCoin”, “MONO”){
_mint(msg.sender, initialsupply);
}
}

this is the error i get with this:
ParserError: Source “https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol” not found: File import callback not supported
→ myc:5:1:

this did not work for me would you mind to give it another go?

Tried again, but still failed, so is this your source code or is there some special config you set?

No i dont think i used a special config, i used this tutorial https://youtu.be/K8JoqxOVSaY to make the token

I tried again to verify and got this error now

ParserError: Expected string literal (path), “*” or alias list.
→ myc:3:8:
|
3 | import “https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol”
| ^

You can not use this way when you want to verify contract, you should flatten contract or upload this dependency.