1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Create a Transaction from within the dapp

This commit is contained in:
frankiebee 2017-03-29 11:02:50 -07:00
parent 84b3415b44
commit 2b1a9c5ae8

View File

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