title: Truffle contract verify not working on BSC testnet
body: <p>I am trying to verify my deployed contract from truffle and getting &quot;Etherscan has no support for network testnet with id 97&quot; error. So I am working with Bscscan and I deployed my contract on bsc testnet.</p>
  <p>How can I solve this problem?</p>
  <p>My truffle-config.js</p>
  <pre><code>const HDWalletProvider = require('truffle-hdwallet-provider');
  const fs = require('fs');
  const mnemonic = fs.readFileSync(&quot;.secret&quot;).toString().trim();
  const BSCSCANAPIKEY = fs.readFileSync(&quot;apikey&quot;).toString().trim();
  
  module.exports = {
    networks: {
      development: {
        host: &quot;127.0.0.1&quot;,     // Localhost (default: none)
        port: 8545,            // Standard BSC port (default: none)
        network_id: &quot;*&quot;,       // Any network (default: none)
      },
      testnet: {
        provider: () =&gt; new HDWalletProvider(mnemonic, `https://data-seed-prebsc-1-s1.binance.org:8545`),
        network_id: 97,
        confirmations: 1,
        timeoutBlocks: 200,
        skipDryRun: true
      },
      bsc: {
        provider: () =&gt; new HDWalletProvider(mnemonic, `https://bsc-dataseed1.binance.org`),
        network_id: 56,
        confirmations: 10,
        timeoutBlocks: 200,
        skipDryRun: true
      },
    },
  
    // Set default mocha options here, use special reporters etc.
    mocha: {
      // timeout: 100000
    },
  
    // Configure your compilers
    compilers: {
      solc: {
        version: &quot;0.6.12&quot;
      }
    },
    plugins: [
      'truffle-plugin-verify'
    ],
    api_keys: {
      bscscan: BSCSCANAPIKEY
    },
  }
  </code></pre>
  <p>Result:</p>
  <pre><code>&gt; truffle run verify MyToken@{address}--network testnet
      Etherscan has no support for network testnet with id 97
  </code></pre>