aboutsummaryrefslogblamecommitdiffstats
path: root/app/scripts/web3.js
blob: f0fec7b062f3d26675814bfe26459bf7217809da (plain) (tree)
1
2
3
4
5
6
7
8






                                                                              
                                 





                          
const web3 = require('web3')
const MetamaskProvider = require('./metamask-provider.js')


var provider = new MetamaskProvider(forwardPayload, 'https://rpc.metamask.io')
web3.setProvider(provider)

console.log('injecting web3....')
window.web3 = web3


function forwardPayload(){
  debugger
}