How to Verify Your Contract on bscscan.com

Step 1 (Prereq): Your contract is already deployed on Binance Smart Chain

For reference on how to deploy your contract on Binance Smart Chain using different environments, refer to the Deploy Section.

Step 2: Go to BSC Explorer or Testnet Explorer

Click on "Verify and Publish"

img

Step 3: Fill in the correct information of your contract

img

  • Contract Address
  • Compiler Type you chose in Remix or other complier
  • Select Open Source License Type

Step 4: Enter the Solidity Contract Code

img

You need to select "Yes" for Optimization, if that's enabled.

Contructor arguement is optional. If your contract do have one, you can go to this page to generate the encoded ABI json.

Info

The default BEP20 contract template does not have a constructor method

Click on "Verify and Publish" to finish this process. Now you are all set!