title: Deployed solidity contract successfully; Error verifying on etherscan
body: <blockquote>
  <p>ParserError: Expected identifier but got '{'</p>
  </blockquote>
  <p>I keep getting this error when I try to verify and publish my smart contract on solidity.</p>
  <pre><code>const { ethers } = require(&quot;hardhat&quot;)
  
  async function main() {
    const LPF = await ethers.getContractFactory(&quot;LPF&quot;)
    const lpf = await LPF.deploy(&quot;LinkpoolFellowship&quot;, &quot;LPF&quot;)
  
    await lpf.deployed()
    console.log('Contract succesfully deployed to ${lpf.address}')
  
    const newItemId = await lpf.mint(&quot;https://ipfs.io/ipfs/QmXsXj9CbxDaFaieabgiSgStP57woLQReSBa2hQfkQJRfR&quot;)
    console.log('NFT minted successfully :: ${newItemId}')
  }
  
  main()
    .then(() =&gt; process.exit(0))
    .catch((error) =&gt; {
      console.error(error);
      process.exit(1);
    });
  </code></pre>