Cryptocurrency Ethereum Mastering Development

I am getting Error: Project ID is required deploying to ropsten in truffle

I am getting the following error: Error: PollingBlockTracker – encountered an error while attempting to update latest block: Error: project ID is required at C:\Users\myuser\Code Projects\sdfsd\node_modules@trufflesuite\web3-provider-engine\subproviders\provider.js:18:36 ropsten: { provider: new HDWalletProvider(mnemonic, ""), network_id: 3, gas: 4000000 }, live: { provider: () => new HDWalletProvider(mnemonic,’’), network_id: ‘*’, gasPrice: 25000000000, gas: 5000000, confirmations: 2 }


Deploy smart contract on Ropsten network

I am trying to deploy a test contract on Ropsten network. I am using metamask, infura and truffle to create and test the contract. My folder structure looks like this My migration file has following codes const TestContract = artifacts.require(“TestContract”); module.exports = function(deployer) { deployer.deploy(TestContract); }; When i run truffle migrate i am getting following […]