Add more Ledger wallet documentation (#9182) (#9190)

automerge
This commit is contained in:
mergify[bot]
2020-03-31 10:08:02 -07:00
committed by GitHub
parent e8935aa99e
commit b079564a13
2 changed files with 31 additions and 3 deletions

View File

@ -76,3 +76,29 @@ but where `BsNsvfXqQTtJnagwFWdBS7FBXgnsK8VZ5CmuznN85swK` is your `WALLET_ID`.
With your fully qualified URL, you can connect multiple hardware wallets to With your fully qualified URL, you can connect multiple hardware wallets to
the same computer and uniquely identify a keypair from any of them. the same computer and uniquely identify a keypair from any of them.
## Troubleshooting
### Keypair URL parameters are ignored in zsh
The question mark character is a special character in zsh. If that's not a
feature you use, add the following line to your `~/.zshrc` to treat it as a
normal character:
```bash
unsetopt nomatch
```
Then either restart your shell window or run `~/.zshrc`:
```bash
source ~/.zshrc
```
If you would prefer not to disable zsh's special handling of the question mark
character, you can disable it explictly with a backslash in your keypair URLs.
For example:
```bash
solana-keygen pubkey usb://ledger\?key=0
```

View File

@ -28,9 +28,11 @@ secure transaction signing.
1. Ensure the Ledger Live application is closed 1. Ensure the Ledger Live application is closed
2. Plug your Ledger device into your computer's USB port 2. Plug your Ledger device into your computer's USB port
3. Enter your pin and start the Solana app on the Ledger device 3. Enter your pin and start the Solana app on the Ledger device
4. On your computer, run: 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:
```text ```bash
solana-keygen pubkey usb://ledger solana-keygen pubkey usb://ledger
``` ```
@ -41,7 +43,7 @@ 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 you want to use. Run the same command again, but this time, with its fully
qualified URL: qualified URL:
```text ```bash
solana-keygen pubkey usb://ledger/<WALLET_ID> solana-keygen pubkey usb://ledger/<WALLET_ID>
``` ```