xdcpay-wallet-inpage-provider

1.2.6 • Public • Published

XDCPay Wallet Inpage Provider

Used to initialize the inpage ethereum provider injected by XDCPay.

Usage

// Create a stream to a remote provider:
var niftywalletStream = new LocalMessageDuplexStream({
  name: 'inpage',
  target: 'contentscript',
})

// compose the inpage provider
var inpageProvider = new MetamaskInpageProvider(niftywalletStream)

Package Sidebar

Install

npm i xdcpay-wallet-inpage-provider

Weekly Downloads

2

Version

1.2.6

License

MIT

Unpacked Size

9.19 kB

Total Files

4

Last publish

Collaborators

  • nitishyp