Categories
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, "https://ropsten.infura.io/myropstenidhere"), network_id: 3, gas: 4000000 }, live: { provider: () => new HDWalletProvider(mnemonic,’https://mainnet.infura.io’), network_id: ‘*’, gasPrice: 25000000000, gas: 5000000, confirmations: 2 }

Categories
Cryptocurrency Ethereum Mastering Development

How can I determine which transactions have failed using a web3.js call

I am attempting to call transactions that execute methods on a contract in order to collect specific data. I am currently using web3.eth.getTransaction(hash) in order to view the transaction information. I correctly receive a return value, however, I cannot see any data that helps me determine if this was a failed transaction. I want to […]