aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/scripts/inpage.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js
index c2c3da06a..c46d0b213 100644
--- a/app/scripts/inpage.js
+++ b/app/scripts/inpage.js
@@ -1,7 +1,12 @@
const XHR = window.XMLHttpRequest
// const fauxJax = require('faux-jax')
// fauxJax.install()
+
+// bring in web3 but rename on window
const Web3 = require('web3')
+delete window.Web3
+window.MetamaskWeb3 = Web3
+
const createPayload = require('web3-provider-engine/util/create-payload')
const StreamProvider = require('./lib/stream-provider.js')
const LocalMessageDuplexStream = require('./lib/local-message-stream.js')