CryptoFly.us | CRYPTOCURRENCY BITCOIN SHIRTS CLOTHING APPAREL HATS

CRYPTO NEWS

Truly decentralized finance will be beyond siloed blockchains

To be the future lifeline of industries, blockchain technology needs to embrace the old-fashioned quality of interconnectivity.

Hardhat estimatedGas error on smart contract deployment

I’m getting the following error when trying to deploy to BSC testnet: Hardhat Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={"name":"ProviderError","code":-32000,"_isProviderError":true}, method="estimateGas" Does somebody know what am I doing wrong? 🙁 Many thanks! hardhat.config.js file: const secret = require("./environment/secrets.json"); module.exports = { solidity: { version: "0.8.9", settings: { optimizer:::Listen

I’m getting the following error when trying to deploy to BSC testnet:

Hardhat Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={"name":"ProviderError","code":-32000,"_isProviderError":true}, method="estimateGas"

Does somebody know what am I doing wrong? 🙁 Many thanks!

hardhat.config.js file:

const secret = require("./environment/secrets.json"); module.exports = {   solidity: {     version: "0.8.9",     settings: {       optimizer: {         enabled: true,         runs: 300,       },     },   },   paths:{     sources: "./blockchain/contracts",     tests: "./blockchain/test",     cache: "./blockchain/cache",     artifacts: "./blockchain/artifacts"   },   networks:{     testnet: {       url: secret.testnetnode,       accounts: [secret.privatekey],     }   }, };  

Truly decentralized finance will be beyond siloed blockchains

Shopping cart
There are no products in the cart!
Continue shopping
0