GitHub, Ledger Devs Discord, Developer Portal
Allows to communicate with Ledger Hardware Wallets.
[Web] (Bluetooth) – check browser support.
You may be using this package to open a Bluetooth connection between your web application and the device.
For a smooth and quick integration:
- See the developers’ documentation on the Developer Portal and
- Go on Discord to chat with developer support and the developer community.
Extends Transport
react-native bluetooth BLE implementation
deviceDevicewriteCharacteristicCharacteristicnotifyObservableObservable<any>deviceModelDeviceModel
import BluetoothTransport from "@ledgerhq/hw-transport-web-ble";Exchange with the device using APDU protocol.
apduBuffer
Returns Promise<Buffer> a promise of apdu response
observe event with { available: bool, type: string } (available is generic, type is specific) an event is emit once and then each time it changes
observerany
Scan for Ledger Bluetooth devices. On this web implementation, it only emits ONE device, the one that was selected in the UI (if any).
observerany
open a bluetooth device.
deviceOrId(Device | string)
globally disconnect a bluetooth device by its id.
idany
