2020-02-26 11:04:28 -07:00
|
|
|
# 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
|
|
|
|
|
2020-03-04 15:21:42 -08:00
|
|
|
- [Install the Solana command-line tools](../install-solana.md)
|
2020-02-26 11:04:28 -07:00
|
|
|
- [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)
|
2020-03-26 10:37:48 -06:00
|
|
|
- [Install Ledger Live](https://support.ledger.com/hc/en-us/articles/360006395553/) software on your computer
|
2020-02-26 11:04:28 -07:00
|
|
|
|
|
|
|
## Install the Solana App on Ledger Nano S
|
|
|
|
|
2020-03-26 10:37:48 -06:00
|
|
|
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
|
2020-02-26 11:04:28 -07:00
|
|
|
|
|
|
|
## Use Ledger Device with Solana CLI
|
|
|
|
|
2020-03-26 10:37:48 -06:00
|
|
|
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. On your computer, run:
|
2020-02-26 11:04:28 -07:00
|
|
|
|
|
|
|
```text
|
2020-03-21 20:50:09 -06:00
|
|
|
solana-keygen pubkey usb://ledger
|
2020-02-26 11:04:28 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
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
|
2020-02-26 11:04:28 -07:00
|
|
|
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:
|
|
|
|
|
|
|
|
```text
|
2020-03-21 20:50:09 -06:00
|
|
|
solana-keygen pubkey usb://ledger/<WALLET_ID>
|
2020-02-26 11:04:28 -07:00
|
|
|
```
|
|
|
|
|
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-02-26 11:04:28 -07:00
|
|
|
|
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-02-26 11:04:28 -07:00
|
|
|
|
2020-03-21 20:50:09 -06:00
|
|
|
Read more about [sending and receiving tokens](../transfer-tokens.md) and
|
|
|
|
[delegating stake](../delegate-stake.md). You can use your Ledger keypair URL
|
|
|
|
anywhere you see an option or argument that accepts a `<KEYPAIR>`.
|
2020-02-26 11:04:28 -07:00
|
|
|
|
|
|
|
## Support
|
|
|
|
|
|
|
|
Email maintainers@solana.com
|