Hey everybody :-) I am currently trying to connect my web3 project to the Rinkeby chain. Did someone of you try something like this? I am using Metamask and thought that, if setProvider = currentProvider will automatically set the provider to the one metamask is connected to. But this doesn't seem to be the case.
I am testing the connecting by asking for the balance of my Rinkeby address.
Does someone of you guys know what I am doing wrong?
May 3, 2018, 6:56 PM
Still haven't found any solution for this. Someone got any idea?
May 5, 2018, 3:07 PM
try to use a string (with quotation marks) as an argument of web3.eth.getBalance - I see from screenshots you have just (0x64...) there, use ('0x64...') or ("0x64...")
May 5, 2018, 3:35 PM