Remove product string from device keypair URL (#8942)

* Remove product string from device url

* Update docs
This commit is contained in:
Tyera Eulberg
2020-03-18 13:36:48 -06:00
committed by GitHub
parent 8f5ee6832f
commit 6d0318cbe6
3 changed files with 16 additions and 30 deletions

View File

@ -26,12 +26,9 @@ Solana key on any hardware wallet connected to your computer.
The URL has the following form, where square brackets denote optional fields:
```text
usb://<MANUFACTURER>[/<PRODUCT>[/<WALLET_KEY>]][?key=<DERIVATION_PATH>]
usb://<MANUFACTURER>[/<WALLET_KEY>][?key=<DERIVATION_PATH>]
```
`PRODUCT` is optional and defaults to an auto-detected value. When using a Ledger
Nano S, for example, it defaults to "nano-s" without quotes.
`WALLET_KEY` is used to disambiguate multiple devices. Each device has a unique
master key and from that key derives a separate unique key per app.
@ -49,7 +46,7 @@ unnecessary.
For example, a fully qualified URL for a Ledger device might be:
```text
usb://ledger/nano-s/BsNsvfXqQTtJnagwFWdBS7FBXgnsK8VZ5CmuznN85swK?key=0/0
usb://ledger/BsNsvfXqQTtJnagwFWdBS7FBXgnsK8VZ5CmuznN85swK?key=0/0
```
## Manage Multiple Hardware Wallets
@ -72,7 +69,7 @@ solana resolve-signer usb://ledger?key=0/0
You will see output similar to:
```text
usb://ledger/nano-s/BsNsvfXqQTtJnagwFWdBS7FBXgnsK8VZ5CmuznN85swK?key=0/0
usb://ledger/BsNsvfXqQTtJnagwFWdBS7FBXgnsK8VZ5CmuznN85swK?key=0/0
```
but where `BsNsvfXqQTtJnagwFWdBS7FBXgnsK8VZ5CmuznN85swK` is your `WALLET_KEY`.

View File

@ -83,7 +83,7 @@ you want to use. Run the same command again, but this time, with its fully
qualified URL:
```text
solana address --keypair usb://ledger/nano-s/<WALLET_KEY>
solana address --keypair usb://ledger/<WALLET_KEY>
```
Confirm it prints the same key as when you entered just `usb://ledger`.