Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/hw-transport-web-ble

Package Overview
Dependencies
Maintainers
15
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-transport-web-ble

Ledger Hardware Wallet Web Bluetooth implementation of the communication layer

  • 5.51.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
15
Created
Source

Github, Ledger Devs Slack

@ledgerhq/hw-transport-web-ble

Allows to communicate with Ledger Hardware Wallets.

[Web] (Bluetooth)check browser support.

API

Table of Contents

BluetoothTransport

Extends Transport

react-native bluetooth BLE implementation

Parameters
  • device Device
  • writeCharacteristic Characteristic
  • notifyObservable Observable<any>
  • deviceModel DeviceModel
Examples
import BluetoothTransport from "@ledgerhq/hw-transport-web-ble";
exchange

Exchange with the device using APDU protocol.

Parameters

Returns Promise<Buffer> a promise of apdu response

observeAvailability

observe event with { available: bool, type: string } (available is generic, type is specific) an event is emit once and then each time it changes

Parameters
  • observer any
listen

Scan for Ledger Bluetooth devices. On this web implementation, it only emits ONE device, the one that was selected in the UI (if any).

Parameters
  • observer any
open

open a bluetooth device.

Parameters
disconnect

globally disconnect a bluetooth device by its id.

Parameters
  • id any

Keywords

FAQs

Package last updated on 07 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc