Allows to communicate with Ledger Hardware Wallets.
[Web] (U2F) (legacy but reliable) – FIDO U2F api. check browser support.
Extends Transport
U2F web Transport implementation
import TransportU2F from "@ledgerhq/hw-transport-u2f";
...
TransportU2F.create().then(transport => ...)
Exchange with the device using APDU protocol.
apdu
Buffer
Returns Promise<Buffer> a promise of apdu response
scrambleKey
string
unwrap
boolean
static function to create a new Transport from a connected Ledger device discoverable via U2F (browser support)
_
any_openTimeout
number (optional, default5000
)
Returns Promise<TransportU2F>