WebUSB
WebUSB is a browser API that lets web apps communicate directly with USB-connected hardware wallets for secure crypto transactions without plugins or native apps.
What Is a WebUSB?
A WebUSB is a browser API that enables web applications to communicate directly with USB devices. It allows sites to access hardware like crypto wallets without browser plugins or desktop apps.
WebUSB works through JavaScript APIs in supported browsers. A web app calls navigator.usb.requestDevice() with filters for vendor ID and product ID. Users grant permission, and the app claims a USB interface to send commands and receive responses. For example, a decentralized app (dApp) connects to a Ledger Nano via USB, requests a transaction signature, and gets it back securely.
WebUSB matters for cryptocurrency because it simplifies secure hardware wallet use. It eliminates risky extensions like MetaMask bridges. Private keys stay in the wallet's secure chip. Transactions sign offline, reducing phishing and malware risks.
Key characteristics include user-prompted permissions per session, support in Chrome and Edge, and limited access to specific USB endpoints. It follows the USB standard but adds web security layers like origin isolation.
Cryptocurrency is a digital or virtual currency secured by cryptography, operating on decentralized blockchain networks to enable secure, peer-to-peer transactions.
Read full definitionLedger is a brand of hardware wallets that securely store cryptocurrency private keys offline, such as the Ledger Nano series.
Read full definitionReal-World Examples
Example 1: A user visits a DeFi platform in Chrome. They plug in their Ledger Nano S USB wallet. The site uses navigator.usb.requestDevice({filters:[{vendorId:0x2c97,productId:0x1015}]}); to connect. They approve the prompt, sign a token swap transaction, and confirm on the device screen.
Example 2: Developers build a dApp for staking. WebUSB lets users connect Trezor Model T directly. The app claims the HID interface, sends a signing request for a validator deposit, and receives the signed message without extensions.
Example 3: On Ledger Live's web version, WebUSB updates firmware. The browser detects the device, transfers the update payload securely, and verifies integrity—all while private keys remain isolated in the secure element.
Example 4: A portfolio tracker site uses WebUSB to fetch balances from a Keystone hardware wallet. Users grant permission once per session. The app queries account data via USB without exposing seeds online.
DeFi (Decentralized Finance) refers to a set of financial services, such as lending and trading, built on blockchain technology without traditional intermediaries like banks.
Read full definitionLedger is a brand of hardware wallets that securely store cryptocurrency private keys offline, such as the Ledger Nano series.
Read full definitionIn cryptocurrency, a swap is the direct exchange of one token for another on a blockchain, often via decentralized exchanges (DEXs) without intermediaries.
Read full definitionTrezor is a hardware wallet by SatoshiLabs. It stores private keys offline to secure cryptocurrencies.
Read full definitionA validator is a node in a proof-of-stake blockchain that stakes cryptocurrency to verify transactions, propose blocks, and secure the network.
Read full definitionA watch-only wallet displays cryptocurrency balances and transactions without private keys, allowing secure monitoring without spending capability.
Read full definitionKeystone is a brand of air-gapped hardware wallets, such as the Keystone Pro, that securely store cryptocurrency private keys offline.
Read full definitionReady to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.