Skip to content
This repository was archived by the owner on Apr 26, 2019. It is now read-only.

MetaMask: Use web3.currentProvider instead of window.web3 #242#455

Open
debragail wants to merge 2 commits intostatus-im:developfrom
debragail:develop
Open

MetaMask: Use web3.currentProvider instead of window.web3 #242#455
debragail wants to merge 2 commits intostatus-im:developfrom
debragail:develop

Conversation

@debragail
Copy link

@debragail debragail commented May 23, 2018

Fixes #242

-Updated common.clj to web 3

  • Updated project.cli

upgrading cljs-web3 to 0.19.0-0-11 and replacing the web3 constructor we defined here:

open-bounty/src/cljs/commiteth/common.cljs

Lines 10 to 11 in b76ad70

(defn web3 []
(gobj/get js/window "web3"))
with the one that has been added to cljs-web3 in this PR: district0x/cljs-web3#8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant