title | description |
---|---|
LedgerJS integration prerequisites |
Read this page before starting to implement LedgerJS. |
import { Callout } from 'nextra/components'
To connect your app you will need to install:
- Node (for Desktop apps) and NPM
- Ledger Live
- The Ledger Embedded App of the coin that you are going to use (to use this documentation you will need Bitcoin, Ethereum and Solana)
- At least one account for each coin (except for Solana).
If not already installed, install Node & npm, choose the LTS version of your operating system. You can check if you have it installed by checking the version with the following commands:
$ node -v
v20.9.0
$ npm -v
10.5.0
The commands should print the versions of Node.js and npm accordingly. Ensure Node.JS is 20.9.0.
Now that node and npm are installed, you have to install the Ledger Live desktop application to connect your Ledger device. After the installation, open Ledger Live and go to the Manager tab.
Fig. 1: Ledger Live Prerequisites
Then connect your Ledger Nano to your computer and unlock it.
Then Ledger Live will ask you to allow the Ledger device, just press the two buttons simultaneously to allow it.
Now you can install the Ethereum and bitcoin application into your Ledger Nano S/X/S Plus. In this integration, we will use the Ethereum and Bitcoin application.
Fig. 5: Ethereum App Installation
To use the Bitcoin/Ethereum Embedded Apps you have to create a Bitcoin/Ethereum account. We will present there the creation of a bitcoin account but it is the same for any application supported by Ledger Live.
To create your Bitcoin account:
-
Launch the Bitcoin application on your Ledger Nano S/X/S Plus
-
Open the Bitcoin app on your ledger device
- Create an account by going to the Manager tab and click on Add account.
Fig. 8: Bitcoin App Add Account
- Click on Add account button.
Fig. 9: Bitcoin Account Creation
- Your account is created.
Fig. 10: Bitcoin Account Selection
You have now a secured bitcoin account on your Ledger Device, congratulations!