Create a Transaction from within the dapp

feature/default_network_editable
frankiebee 8 years ago
parent 84b3415b44
commit 2b1a9c5ae8
  1. 2
      library/controller.js

@ -6,9 +6,9 @@ const background = new SWcontroller({
fileName: '/popup/sw-build.js', fileName: '/popup/sw-build.js',
}) })
const pageStream = new ParentStream()
background.on('ready', (_) => { background.on('ready', (_) => {
// var inpageProvider = new MetamaskInpageProvider(SwStream(background.controller)) // var inpageProvider = new MetamaskInpageProvider(SwStream(background.controller))
let pageStream = new ParentStream()
let swStream = SwStream(background.controller) let swStream = SwStream(background.controller)
pageStream.pipe(swStream).pipe(pageStream) pageStream.pipe(swStream).pipe(pageStream)
console.log('********************WOOP*********************') console.log('********************WOOP*********************')

Loading…
Cancel
Save