You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It tested to work with Ledger Nano S if Dash Core is built from dashpay/dash#6019
Steps to test:
1. Get built dash-qt from develop
2. Clone hwi repo from this PR: #1
3. Enter your pin & open dash app on device, dash app should be installed in advance. I tested so far with Ledger Nano S Plus.
4. Call script `./hwi.py enumerate` to be sure that your device is shown in the list. Probably you need to setup udev rules and some extra python libraries; hidapi has been required to install for ledger on my workstation.
5. start Dash Qt: `src/qt/dash-qt -signer=FULL_PATH_TO_dash-hwi/hwi.py`
6. create new wallet; click checkbox "external signer"
* **Documentation**
* Updated product name, repository URL, and documentation to reflect Dash Hardware Wallet Interface.
* **Configuration**
* Default address type for key generation and display operations changed to LEGACY format.
* Removed support for Signet network and advanced address type variants.
* Updated message signing standard.
<sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub>
The Bitcoin Hardware Wallet Interface is a Python library and command line tool for interacting with hardware wallets.
6
+
The Dash Hardware Wallet Interface is a Python library and command line tool for interacting with hardware wallets.
7
7
It provides a standard way for software to work with hardware wallets without needing to implement device specific drivers.
8
8
Python software can use the provided library (`hwilib`). Software in other languages can execute the `hwi` tool.
9
9
@@ -31,7 +31,7 @@ brew install libusb
31
31
## Install
32
32
33
33
```
34
-
git clone https://github.com/bitcoin-core/HWI.git
34
+
git clone https://github.com/dashpay/HWI.git
35
35
cd HWI
36
36
poetry install # or 'pip3 install .' or 'python3 setup.py install'
37
37
```
@@ -93,10 +93,11 @@ Documentation for HWI can be found on [readthedocs.io](https://hwi.readthedocs.i
93
93
94
94
For documentation on devices supported and how they are supported, please check the [device support page](https://hwi.readthedocs.io/en/latest/devices/index.html#support-matrix)
95
95
96
-
### Using with Bitcoin Core
96
+
### Using with Dash Core
97
97
98
98
See [Using Bitcoin Core with Hardware Wallets](https://hwi.readthedocs.io/en/latest/examples/bitcoin-core-usage.html).
99
99
100
100
## License
101
101
102
+
This project is a fork of Bitcoin HWI: https://github.com/bitcoin-core/hwi
102
103
This project is available under the MIT License, Copyright Andrew Chow.
getmasterxpub_parser=subparsers.add_parser('getmasterxpub', help='Get the extended public key for BIP 44 standard derivation paths. Convenience function to get xpubs given the address type, account, and chain type.')
158
-
getmasterxpub_parser.add_argument("--addr-type", help="Get the master xpub used to derive addresses for this address type", type=AddressType.argparse, choices=list(AddressType), default=AddressType.WIT) # type: ignore
158
+
# [DASHIFIED] default address type is changed to legacy
159
+
getmasterxpub_parser.add_argument("--addr-type", help="Get the master xpub used to derive addresses for this address type", type=AddressType.argparse, choices=list(AddressType), default=AddressType.LEGACY) # type: ignore
kparg_group.add_argument('--nokeypool', action='store_false', dest='keypool', help='Indicates that the keys are not to be imported to the keypool', default=False)
179
180
getkeypool_parser.add_argument('--internal', action='store_true', help='Indicates that the keys are change keys')
kp_type_group.add_argument("--addr-type", help="The address type (and default derivation path) to produce descriptors for", type=AddressType.argparse, choices=list(AddressType), default=AddressType.WIT) # type: ignore
182
+
# [DASHIFIED] default address type is changed to legacy
183
+
kp_type_group.add_argument("--addr-type", help="The address type (and default derivation path) to produce descriptors for", type=AddressType.argparse, choices=list(AddressType), default=AddressType.LEGACY) # type: ignore
182
184
kp_type_group.add_argument('--all', action='store_true', help='Generate addresses for all standard address types (default paths: ``m/{44,49,84}h/0h/0h/[0,1]/*)``')
getkeypool_parser.add_argument('--path', help='Derivation path, default follows BIP43 convention, e.g. ``m/84h/0h/0h/1/*`` with --addr-type wpkh --internal. If this argument and --internal is not given, both internal and external keypools will be returned.')
group.add_argument('--desc', help='Output Descriptor. E.g. wpkh([00000000/84h/0h/0h]xpub.../0/0), where 00000000 must match --fingerprint and xpub can be obtained with getxpub. See doc/descriptors.md in Bitcoin Core')
196
198
group.add_argument('--path', help='The BIP 32 derivation path of the key embedded in the address, default follows BIP43 convention, e.g. ``m/84h/0h/0h/1/*``')
197
-
displayaddr_parser.add_argument("--addr-type", help="The address type to display", type=AddressType.argparse, choices=list(AddressType), default=AddressType.WIT) # type: ignore
199
+
# [DASHIFIED] default address type is changed to legacy
200
+
displayaddr_parser.add_argument("--addr-type", help="The address type to display", type=AddressType.argparse, choices=list(AddressType), default=AddressType.LEGACY) # type: ignore
0 commit comments