Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-transport-webauthn

Package Overview
Dependencies
8
Maintainers
14
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ledgerhq/hw-transport-webauthn

Ledger Hardware Wallet Web implementation of the communication layer, using WebAuthN api


Version published
Maintainers
14
Install size
5.48 MB
Created

Readme

Source

Github, Ledger Devs Slack

@ledgerhq/hw-transport-webauthn

Allows to communicate with Ledger Hardware Wallets.

[Web] (WebAuthn) – WebAuthn api. check browser support.

Known limitation

There is a "blink" at each time there is a communication with the device due to WebAuthn. WebAuthn is meant for authentification and we use it for communication, ideally prefer WebUSB.

API

Table of Contents

TransportWebAuthn

Extends Transport

WebAuthn Transport implementation

Examples
import TransportWebAuthn from "@ledgerhq/hw-transport-webauthn";
...
TransportWebAuthn.create().then(transport => ...)
exchange

Exchange with the device using APDU protocol.

Parameters

Returns Promise<Buffer> a promise of apdu response

setScrambleKey

A scramble key is a string that xor the data exchanged. It depends on the device app you need to exchange with. For instance it can be "BTC" for the bitcoin app, "B0L0S" for the dashboard.

Parameters
Examples
transport.setScrambleKey("B0L0S")

Keywords

FAQs

Last updated on 25 Sep 2020

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc