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
<ahref="https://blog.rust-lang.org/2020/02/27/Rust-1.41.1.html"><imgalt="Rustc Version 1.41+"src="https://img.shields.io/badge/rustc-1.41%2B-lightgrey.svg"/></a>
7
+
<ahref="https://discord.gg/d7NkDKm"><imgalt="Chat on Discord"src="https://img.shields.io/discord/753336465005608961?logo=discord"></a>
8
+
9
+
This library internally uses PyO3 to call HWI's functions. It is not a re-implementation of HWI in native Rust.
3
10
4
11
## Prerequisites
5
12
@@ -24,7 +31,7 @@ brew install libusb
24
31
25
32
- Clone the repo
26
33
```
27
-
git clone https://github.com/MagicalBitcoin/rust-hwi.git && cd rust-hwi
34
+
git clone https://github.com/bitcoindevkit/rust-hwi.git && cd rust-hwi
28
35
```
29
36
30
37
- Create a virtualenv:
@@ -40,58 +47,38 @@ source venv/bin/activate
40
47
pip install -r requirements.txt
41
48
```
42
49
43
-
## Supported commands
44
-
45
-
| Command | Supported? |
46
-
|:---:|:---: |
47
-
| enumerate | YES |
48
-
| getmasterxpub | YES |
49
-
| signtx | YES |
50
-
| getxpub | YES |
51
-
| signmessage | YES |
52
-
| getkeypool | YES |
53
-
| getdescriptors | YES |
54
-
| displayaddress | YES |
55
-
| setup | Planned |
56
-
| wipe | Planned |
57
-
| restore | Planned |
58
-
| backup | Planned |
59
-
| promptpin | Planned |
60
-
| sendpin | Planned |
61
-
62
-
| Flag | Supported? |
63
-
|:---:|:---:|
64
-
| --device-path | YES |
65
-
| --device-type | YES |
66
-
| --password | Planned |
67
-
| --stdinpass | NO |
68
-
| --testnet | Planned |
69
-
| --debug | Planned |
70
-
| --fingerprint | YES |
71
-
| --version | Planned |
72
-
| --stdin | NO |
73
-
| --interactive | Planned |
74
-
| --expert | YES |
75
-
76
-
## Tests
77
-
78
-
At the moment you'll need a HW plugged in to be able to run tests.
79
-
80
-
If you don't have a hardware wallet, you can try [coldcard simulator](https://github.com/Coldcard/firmware).
81
-
82
-
To run tests you should:
83
-
84
-
- Install requirements and activate the virtualenv, as specified before
0 commit comments