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
When authorizing gitcoin.co with Mist I get the following errors:
Uncaught Error: TrackJS Caught: Cannot read property 'coinbase' of undefined
at get_search_URI (dashboard.js:64)
Uncaught Error: TrackJS Caught: Cannot read property 'accounts' of undefined
at shared.js:296
Gitcoin wants to access the eth object in web3, but it is undefined. This is due to the way web3 is provided. Mist offers a basic web3 object with the currentProvider set to Ethereum Provider.
if(typeofweb3!=='undefined'){web3=newWeb3(web3.currentProvider);}else{// set the provider you want from Web3.providersweb3=newWeb3(newWeb3.providers.HttpProvider("http://localhost:8545"));}
I would expect gitcoin to include a packaged version of web3.js and instanciate it in the above mentioned way to support Mist.
The text was updated successfully, but these errors were encountered:
When authorizing gitcoin.co with Mist I get the following errors:
Gitcoin wants to access the eth object in web3, but it is undefined. This is due to the way web3 is provided. Mist offers a basic web3 object with the currentProvider set to Ethereum Provider.
According to the Ethereum wiki (https://github.com/ethereum/wiki/wiki/JavaScript-API) this is the recommended way to init web3:
I would expect gitcoin to include a packaged version of web3.js and instanciate it in the above mentioned way to support Mist.
The text was updated successfully, but these errors were encountered: