You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
Hi, I would deploy the box to ropsten. the code works fine in localhost but I got his error in ropsten:
The contract is deployed but impossible to connect to via js code
vRtx5LtC6D1enY0g6x0k:1 POST https://ropsten.infura.io/xxxxxxx
main.js:36 Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (inpage.js:1)
at XMLHttpRequest.r.onreadystatechange (inpage.js:1)
Here is the begeninng of login function :
let web3 = new Web3(new Web3.providers.HttpProvider("https://ropsten.infura.io/vRtx5LtC6D1enY0g6x0k"));
/////let web3 = store.getState().web3.web3Instance
web3.eth.defaultAccount = web3.eth.accounts[0];
// Double-check web3's status.
if (typeof web3 !== 'undefined') {
The text was updated successfully, but these errors were encountered: