Welcome to the Ledger Wallet Developer Portal. Formerly known as Ledger Live, the application is now streamlined as Ledger Wallet to better reflect its function as a secure gateway to the Web3 ecosystem. This guide is your starting point for integration.
Access the core documentation and tools you'll need for integration:
1. Ledger Developer Portal Home 2. Ledger Wallet Integrations Overview 3. Wallet API Client Documentation 4. Hardware Wallet Device App Kit 5. Live Apps (dApps in Wallet) Guide 6. LedgerHQ GitHub Repositories 7. Ledger Support Center 8. Ledger Developer Discord 9. Latest Developer Changelog 10. Official Ledger ShopThe **Wallet API** is the primary method for integrating dApps (Live Apps) into the Ledger Wallet environment. This allows secure communication between your application and the user's Ledger signer (hardware device).
Understanding the fundamental architecture ensures you build a secure and compliant application. The design mandates that private keys never leave the Ledger signer.
The Ledger Signer (hardware device) is the **single source of truth** for key management and transaction signing. Your Live App merely prepares the data.
All cryptographic operations are executed on the device, shielded from the host machine or mobile device.
Details on RLP, EIP-1559, and other protocol-specific transaction formats that must be adhered to before submission.
A step-by-step process for a user launching and interacting with your Live App within the Ledger Wallet interface.
How your application receives the necessary context from the Ledger Wallet container upon launch.
Establishing the secure iframe/webview communication link using the Wallet API Client.
The Wallet API Client is a dedicated library designed to facilitate integration with minimal boilerplate code.
Instructions for installing the necessary npm packages and configuring your local development environment.
Specific command for adding the library to your project dependencies.
Setting up local server and security headers for testing within Ledger Wallet's development mode.
A practical example of using a hook or method to retrieve the user's connected accounts and assets.
Demonstrating the asynchronous nature and error handling for account fetching.
Best practices for filtering by blockchain family and displaying relevant asset information to the user.
Clear Signing is critical for security and user trust. It ensures that the user's Ledger device displays **human-readable** transaction details, preventing blind signing of malicious payloads.
The necessary steps to format and pass complex contract interactions to the device for verification.
Mapping complex smart contract function calls and parameters into a clear, understandable format for the Ledger screen.
A detailed breakdown of how a token transfer is presented clearly on the device.
Avoiding common pitfalls, such as relying solely on external server data for transaction presentation.
Techniques for ensuring the data presented to the user matches the payload being signed.
Checking the current state of Clear Signing support across different blockchain protocols (e.g., Ethereum, Solana, Polygon).