Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

standardwallet-inpage-provider

StandardWallet33MIT1.0.2

An standard coins provider that connects over a WebExtension port.

StandardWallet, Cryto, Provider

readme

StandardWallet Inpage Provider

Used to initialize the inpage standard coins provider injected by StandardWallet.

Installation

yarn add standardwallet-inpage-provider

Usage

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

// compose the inpage provider
var inpageProvider = new StandardwalletInpageProvider(standardwalletStream)