Build secure desktop and web integrations powered by Ledger hardware wallets.
View API DocsIntegrate Ledger device support into apps for macOS, Windows, or Linux.
Enable transaction signing directly on-device using Ledger Secure APIs.
Embed Ledger Desktop APIs to control UX and wallet flows in your product.
Ledger tools and libraries are open-source and actively maintained.
import TransportNodeHid from "@ledgerhq/hw-transport-node-hid";
import AppBtc from "@ledgerhq/hw-app-btc";
(async () => {
const transport = await TransportNodeHid.create();
const btc = new AppBtc(transport);
const result = await btc.getWalletPublicKey("44'/0'/0'/0");
console.log(result);
})();