New answers tagged

0 votes

Truffle artifacts are not being generated when compiling

Most probably truffle cannot find where the contracts are. You can define the contracts location in the truffle-config.js with the following param: contracts_directory: '...',
user avatar
  • 1
0 votes

Truffle migrate: store deployed contract address in variable

in 2020, (truffle version 5.x) , once you deploy the contract, you may get its address in the json file: also you can list all the contracts you deployed via this command: $ truffle networks Network:...
user avatar
  • 160
1 vote

Truffle Migrate Rinkeby - Error: PollingBlockTracker - encountered an error while attempting to update latest block: Error: ETIMEDOUT

I met the same problem. Here is how I resolved this problem: I saw this error message, just saying "this operation is timeout", don't just focus on this error, you should also check the ...
user avatar
  • 160
1 vote

Truffle: Error: Could not find a compiler version matching 0.5.0

Elevating permissions with sudo helped me aswell. I think it could be when truffle is installed globally. I have not tested installing it locally and trying to compile. Glad I finally found this ...
user avatar

Top 50 recent answers are included