From b079564a136d99a77f545bd5331cec3a3492fdf0 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2020 10:08:02 -0700 Subject: [PATCH] Add more Ledger wallet documentation (#9182) (#9190) automerge --- docs/src/remote-wallet/README.md | 26 ++++++++++++++++++++++++++ docs/src/remote-wallet/ledger.md | 8 +++++--- 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/docs/src/remote-wallet/README.md b/docs/src/remote-wallet/README.md index c305cb2bef..e674f9aadd 100644 --- a/docs/src/remote-wallet/README.md +++ b/docs/src/remote-wallet/README.md @@ -76,3 +76,29 @@ but where `BsNsvfXqQTtJnagwFWdBS7FBXgnsK8VZ5CmuznN85swK` is your `WALLET_ID`. With your fully qualified URL, you can connect multiple hardware wallets to 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 +``` diff --git a/docs/src/remote-wallet/ledger.md b/docs/src/remote-wallet/ledger.md index c28e90b115..19a53ff832 100644 --- a/docs/src/remote-wallet/ledger.md +++ b/docs/src/remote-wallet/ledger.md @@ -28,9 +28,11 @@ secure transaction signing. 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: +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 ``` @@ -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 qualified URL: -```text +```bash solana-keygen pubkey usb://ledger/ ```