diff options
Diffstat (limited to 'cmd/mist/assets/ext/setup.js')
-rw-r--r-- | cmd/mist/assets/ext/setup.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/mist/assets/ext/setup.js b/cmd/mist/assets/ext/setup.js new file mode 100644 index 000000000..8317937b3 --- /dev/null +++ b/cmd/mist/assets/ext/setup.js @@ -0,0 +1,8 @@ +(function() { + if (typeof(Promise) === "undefined") + window.Promise = Q.Promise; + + var eth = web3.eth; + + web3.setProvider(new web3.providers.QtProvider()); +})() |