New answers tagged

0

try localhost 7545 instead of 8545...it will connect the RPC server to remix


2

[ethjs-rpc] rpc error with payload in Solidity 0.5.0 happens if the passed parameters to the contract is empty, hence from DApp console log all parameters and see if any values are being passed as empty or null. Once you address the empty values to some concrete values rpc error will go way and transaction will be success.


0

That may be because you do not have the @truffle/contract package. I had the same problem. After running sudo npm install -g @truffle/contract the problem was solved. Check more at https://github.com/trufflesuite/truffle/tree/master/packages/contract.


Top 50 recent answers are included