xdcpay-wallet-inpage-provider
v1.2.6
Published
An xdcpay provider that connects over a WebExtension port.
Downloads
12
Readme
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)