Skip to content

Commit e0223a5

Browse files
committed
Fix issue #204
1 parent 7692659 commit e0223a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

07_3_Integrating_with_Hardware_Wallets.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ HWI$ python3 setup.py install
9191

9292
You'll want to create an alias here too, varied by your actual install location:
9393
```
94-
$ alias hwi="~/Standup/HWI/hwi.py --testnet"
94+
$ alias hwi="~/Standup/HWI/hwi.py --chain test"
9595
```
9696
Again, we've included a reference to testnet in this alias.
9797

@@ -154,10 +154,10 @@ Because you've created a second wallet, some commands will now require a `-rpcwa
154154

155155
You now have to import a watch-list of addresses from the hardware wallet. This is done with HWI's `getkeypool` command:
156156
```
157-
$ hwi -f 9a1d520b getkeypool --wpkh 0 1000
157+
$ hwi -f 9a1d520b getkeypool 0 1000
158158
[{"desc": "wpkh([9a1d520b/84h/1h/0h]tpubDD7KTtoGzK9GuWUQcr1uTJazsAkqoXhdrwGXWVix6nPpNZmSbagZWD4QSaMsyK8YohAirGDPrWdRiEpKzTFB7DrTrqfzHCn7yi5EsqeR93S/0/*)#qttxy592", "range": [0, 1000], "timestamp": "now", "internal": false, "keypool": true, "active": true, "watchonly": true}, {"desc": "wpkh([9a1d520b/84h/1h/0h]tpubDD7KTtoGzK9GuWUQcr1uTJazsAkqoXhdrwGXWVix6nPpNZmSbagZWD4QSaMsyK8YohAirGDPrWdRiEpKzTFB7DrTrqfzHCn7yi5EsqeR93S/1/*)#3lw8ep4j", "range": [0, 1000], "timestamp": "now", "internal": true, "keypool": true, "active": true, "watchonly": true}]
159159
```
160-
We address HWI with the `fingerprint` and ask for the first 1000 WPKH (native Segwit) addresses. In return, we receive two descriptors for the key pool: one for receiving addresses and one for change addresses.
160+
We address HWI with the `fingerprint` and ask for the first 1000 addresses. The WPKH (native Segwit) address type is used as a default. In return, we receive two descriptors for the key pool: one for receiving addresses and one for change addresses.
161161

162162
> :book: ***What is a key pool?*** A key pool is a group of pregenerated keys. Modern HD wallets create key pools by continuing to determine new hierarchical addresses based on the original seed. The idea of key pools was originally implemented to ease the backup requirements of wallets. This allowed a user to generate a keypool and then backup the wallet immediately, rather than requiring backups after every new address was created. The concept has also proven very useful in the modern day since it allows the importing of a whole set of future addresses from one device to another.
163163

0 commit comments

Comments
 (0)