wanmask-inpage-provider

1.2.3 • Public • Published

WanMask Inpage Provider

Used to initialize the inpage ethereum provider injected by WanMask.

Installation

npm install wanmask-inpage-provider -S

Usage

// Create a stream to a remote provider:
var wanmaskStream = new LocalMessageDuplexStream({
  name: 'inpage',
  target: 'contentscript',
})
 
// compose the inpage provider
var inpageProvider = new WanmaskInpageProvider(wanmaskStream)

Package Sidebar

Install

npm i wanmask-inpage-provider

Weekly Downloads

1

Version

1.2.3

License

MIT

Unpacked Size

8.29 kB

Total Files

4

Last publish

Collaborators

  • tyrion70