ParserError: identificador esperado pero obtuvo '{'
Sigo recibiendo este error cuando intento verificar y publicar mi contrato inteligente en Solidity.
const { ethers } = require("hardhat") async function main() { const LPF = await ethers.getContractFactory("LPF") const lpf = await LPF.deploy("LinkpoolFellowship", "LPF") await lpf.deployed() console.log('Contract succesfully deployed to ${lpf.address}') const newItemId = await lpf.mint("https://ipfs.io/ipfs/QmXsXj9CbxDaFaieabgiSgStP57woLQReSBa2hQfkQJRfR") console.log('NFT minted successfully :: ${newItemId}') } main() .then(() => process.exit(0)) .catch((error) => { console.error(error); process.exit(1); });