truebit-os icon indicating copy to clipboard operation
truebit-os copied to clipboard

Update eth js libraries

Open mrsmkl opened this issue 6 years ago • 0 comments

web3.js version should be updated, but there are problems

  • web3.js 1.0 is incompatible with ganache
  • truffle-contract could solve the above, it it is now incompatible with web3.js 1.0
  • web3.js 0.x is outdated and there is no point in switching to that

Possible solutions:

  • use parity or geth instead of ganache, then web3.js 1.0 should work
  • use ethers.js, perhaps it is compatible with everything

mrsmkl avatar Mar 04 '19 08:03 mrsmkl