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:
parent
84b3415b44
commit
2b1a9c5ae8
@ -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…
Reference in New Issue
Block a user