mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-14 20:14:15 +00:00
9 lines
212 B
JavaScript
9 lines
212 B
JavaScript
|
// @flow
|
||
|
import Web3 from 'web3'
|
||
|
|
||
|
const window = global.window || {}
|
||
|
window.web3 = window.web3 || {}
|
||
|
window.web3.currentProvider = new Web3.providers.HttpProvider('http://localhost:8545')
|
||
|
|
||
|
global.window = window
|