Publish on bscscan(help)


I greate token with openzeppelin and remix

my smart contract is default

"// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract Pixecoin is ERC20 {
constructor() ERC20("Pixecoin", "PIXE") {
_mint(msg.sender, 99999999 * 10 ** decimals());

i want to publish my token on bscscan, what file need to upload and where this file to get ?

You need to go the github of openzeppeling and copy the code out of the file.

code or file? I tried it didn't work

you can copy the code in your project or publish multiple files. and it works, I used it for my projects too. also ERC20.sol also has imports that you need to put in your code

can you tell me step by step how to do it ?

Please refer to our guide on verification: