jolocom / registry-contract

[DEPRECATED] A basic smart contract on top of the Ethereum network that registers mappings between DID and IPFS DDO hashes.
0 stars 2 forks source link

remove web3js #9

Open chunningham opened 4 years ago

chunningham commented 4 years ago

web3 depends on a native implementation of sha3 which requires a long build process and can cause heaps of problems with node-gyp. If it is replaced with ethers-js then this is all replaced with js implementations and we can escape this build process

chunningham commented 4 years ago

replacement with ethers-js may not be easy or possible due to the dependancy truffle-hdwallet-provider. Alternative strategy might be updating web3 and truffle-hdwallet-provider to the latest versions, which would include replacing truffle-hdwallet-provider (deprecated) to just truffle and working from there