Files
solana/docs/src/remote-wallet/ledger.md

63 lines
2.5 KiB
Markdown
Raw Normal View History

# Ledger Hardware Wallet
The Ledger Nano S hardware wallet offers secure storage of your Solana private
keys. The Solana Ledger app enables derivation of essentially infinite keys, and
secure transaction signing.
## Before You Begin
- [Install the Solana command-line tools](../cli/install-solana-cli-tools.md)
- [Initialize your Ledger Nano S](https://support.ledger.com/hc/en-us/articles/360000613793)
- [Install the latest device firmware](https://support.ledgerwallet.com/hc/en-us/articles/360002731113-Update-Ledger-Nano-S-firmware)
- [Install Ledger Live](https://support.ledger.com/hc/en-us/articles/360006395553/) software on your computer
## Install the Solana App on Ledger Nano S
1. Open Ledger Live
2. Click Experimental Features and enable Developer Mode
3. Open the Manager in Ledger Live
4. Connect your Ledger device via USB and enter your pin to unlock it
5. When prompted, approve the manager on your device
6. Find Solana in the app catalog and click Install
7. An installation window appears and your device will display Processing…
8. The app installation is confirmed
9. Close Ledger Live
## Use Ledger Device with Solana CLI
1. Ensure the Ledger Live application is closed
2. Plug your Ledger device into your computer's USB port
3. Enter your pin and start the Solana app on the Ledger device
4. Press both buttons to advance past the "Pending Ledger review" screen
5. Ensure the screen reads "Application is ready"
6. On your computer, run:
```bash
2020-03-21 20:50:09 -06:00
solana-keygen pubkey usb://ledger
```
This confirms your Ledger device is connected properly and in the correct state
to interact with the Solana CLI. The command returns your Ledger's unique
2020-03-21 20:50:09 -06:00
*wallet ID*. When you have multiple Nano S devices connected to the same
computer, you can use your wallet key to specify which Ledger hardware wallet
you want to use. Run the same command again, but this time, with its fully
qualified URL:
```bash
2020-03-21 20:50:09 -06:00
solana-keygen pubkey usb://ledger/<WALLET_ID>
```
2020-03-21 20:50:09 -06:00
where you replace `<WALLET_ID>` with the output of the first command.
Confirm it prints the same wallet ID as before.
2020-03-21 20:50:09 -06:00
To learn more about keypair URLs, see
2020-03-23 15:05:27 -06:00
[Specify A Hardware Wallet Key](README.md#specify-a-hardware-wallet-key)
2020-03-27 09:36:55 -06:00
Read more about [sending and receiving tokens](../cli/transfer-tokens.md) and
[delegating stake](../cli/delegate-stake.md). You can use your Ledger keypair URL
2020-03-21 20:50:09 -06:00
anywhere you see an option or argument that accepts a `<KEYPAIR>`.
## Support
Check out our [Wallet Support Page](../wallet/support.md) for ways to get help.