|
25 | 25 | Start `geth` with the `console` command. You will notice the following warning: |
26 | 26 |
|
27 | 27 | ``` |
28 | | - WARN [04-09|16:58:38.898] Failed to open wallet url=pcsc://044def09 err="smartcard: pairing password needed" |
| 28 | + WARN [04-09|16:58:38.898] Failed to open wallet url=keycard://044def09 err="smartcard: pairing password needed" |
29 | 29 | ``` |
30 | 30 |
|
31 | | - Write down the URL (`pcsc://044def09` in this example). Then ask `geth` to open the wallet: |
| 31 | + Write down the URL (`keycard://044def09` in this example). Then ask `geth` to open the wallet: |
32 | 32 |
|
33 | 33 | ``` |
34 | | - > personal.openWallet("pcsc://044def09") |
| 34 | + > personal.openWallet("keycard://044def09") |
35 | 35 | Please enter the pairing password: |
36 | 36 | ``` |
37 | 37 |
|
|
42 | 42 |
|
43 | 43 | ``` |
44 | 44 | > personal |
45 | | - WARN [04-09|17:02:07.330] Smartcard wallet account derivation failed url=pcsc://044def09 err="Unexpected response status Cla=0x80, Ins=0xd1, Sw=0x6985" |
| 45 | + WARN [04-09|17:02:07.330] Smartcard wallet account derivation failed url=keycard://044def09 err="Unexpected response status Cla=0x80, Ins=0xd1, Sw=0x6985" |
46 | 46 | { |
47 | 47 | listAccounts: [], |
48 | 48 | listWallets: [{ |
49 | 49 | status: "Empty, waiting for initialization", |
50 | | - url: "pcsc://044def09" |
| 50 | + url: "keycard://044def09" |
51 | 51 | }], |
52 | 52 | ... |
53 | 53 | } |
|
56 | 56 | So the communication with the card is working, but there is no key associated with this wallet. Let's create it: |
57 | 57 |
|
58 | 58 | ``` |
59 | | - > personal.initializeWallet("pcsc://044def09") |
| 59 | + > personal.initializeWallet("keycard://044def09") |
60 | 60 | "tilt ... impact" |
61 | 61 | ``` |
62 | 62 |
|
|
67 | 67 | [{ |
68 | 68 | accounts: [{ |
69 | 69 | address: "0x678b7cd55c61917defb23546a41803c5bfefbc7a", |
70 | | - url: "pcsc://044d/m/44'/60'/0'/0/0" |
| 70 | + url: "keycard://044d/m/44'/60'/0'/0/0" |
71 | 71 | }], |
72 | 72 | status: "Online", |
73 | | - url: "pcsc://044def09" |
| 73 | + url: "keycard://044def09" |
74 | 74 | }] |
75 | 75 | ``` |
76 | 76 |
|
|
84 | 84 | ``` |
85 | 85 | listWallets: [{ |
86 | 86 | status: "Online, can derive public keys", |
87 | | - url: "pcsc://a4d73015" |
| 87 | + url: "keycard://a4d73015" |
88 | 88 | }] |
89 | 89 | ``` |
90 | 90 |
|
91 | 91 | 3. Open the wallet, you will be prompted for your pairing password, then PIN: |
92 | 92 |
|
93 | 93 | ``` |
94 | | -personal.openWallet("pcsc://a4d73015") |
| 94 | +personal.openWallet("keycard://a4d73015") |
95 | 95 | ``` |
96 | 96 |
|
97 | 97 | 4. Check that creation was successful by typing e.g. `personal`. Then use it like a regular wallet. |
|
0 commit comments