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
Copy file name to clipboardExpand all lines: doc/external-signer.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,29 @@
1
-
# Support for signing transactions outside of Bitcoin Core
1
+
# Support for signing transactions outside of Dash Core
2
2
3
-
Bitcoin Core can be launched with `-signer=<cmd>` where `<cmd>` is an external tool which can sign transactions and perform other functions. For example, it can be used to communicate with a hardware wallet.
3
+
Dash Core can be launched with `-signer=<cmd>` where `<cmd>` is an external tool which can sign transactions and perform other functions. For example, it can be used to communicate with a hardware wallet.
4
4
5
5
## Example usage
6
6
7
-
The following example is based on the [HWI](https://github.com/bitcoin-core/HWI) tool. Version 2.0 or newer is required. Although this tool is hosted under the Bitcoin Core GitHub organization and maintained by Bitcoin Core developers, it should be used with caution. It is considered experimental and has far less review than Bitcoin Core itself. Be particularly careful when running tools such as these on a computer with private keys on it.
7
+
The following example is based on the [HWI](https://github.com/dashpay/HWI) tool. Version 2.0 or newer is required. Although this tool is hosted under the Dash Core GitHub organization and maintained by Dash Core developers, it should be used with caution. It is considered experimental and has far less review than Dash Core itself. Be particularly careful when running tools such as these on a computer with private keys on it.
8
8
9
-
When using a hardware wallet, consult the manufacturer website for (alternative) software they recommend. As long as their software conforms to the standard below, it should be able to work with Bitcoin Core.
9
+
When using a hardware wallet, consult the manufacturer website for (alternative) software they recommend. As long as their software conforms to the standard below, it should be able to work with Dash Core.
10
10
11
-
Start Bitcoin Core:
11
+
Start Dash Core:
12
12
13
13
```sh
14
-
$ bitcoind -signer=../HWI/hwi.py
14
+
$ dashd -signer=../HWI/hwi.py
15
15
```
16
16
17
17
### Device setup
18
18
19
-
Follow the hardware manufacturers instructions for the initial device setup, as well as their instructions for creating a backup. Alternatively, for some devices, you can use the `setup`, `restore` and `backup` commands provided by [HWI](https://github.com/bitcoin-core/HWI).
19
+
Follow the hardware manufacturers instructions for the initial device setup, as well as their instructions for creating a backup. Alternatively, for some devices, you can use the `setup`, `restore` and `backup` commands provided by [HWI](https://github.com/dashpay/HWI).
20
20
21
21
### Create wallet and import keys
22
22
23
23
Get a list of signing devices / services:
24
24
25
25
```
26
-
$ bitcoin-cli enumeratesigners
26
+
$ dash-cli enumeratesigners
27
27
{
28
28
"signers": [
29
29
{
@@ -37,26 +37,26 @@ The master key fingerprint is used to identify a device.
37
37
Create a wallet, this automatically imports the public keys:
This prompts your hardware wallet to sign, and fail if it's not connected. If successful
@@ -68,11 +68,11 @@ it automatically broadcasts the transaction.
68
68
69
69
## Signer API
70
70
71
-
In order to be compatible with Bitcoin Core any signer command should conform to the specification below. This specification is subject to change. Ideally a BIP should propose a standard so that other wallets can also make use of it.
71
+
In order to be compatible with Dash Core any signer command should conform to the specification below. This specification is subject to change. Ideally a BIP should propose a standard so that other wallets can also make use of it.
72
72
73
73
Prerequisite knowledge:
74
74
*[Output Descriptors](descriptors.md)
75
-
* Partially Signed Bitcoin Transaction ([PSBT](psbt.md))
75
+
* Partially Signed Blockchain Transaction ([PSBT](psbt.md))
76
76
77
77
### `enumerate` (required)
78
78
@@ -156,7 +156,7 @@ If <descriptor> contains an xpub, the command MUST fail if it does not match the
156
156
157
157
The command MAY complain if `--testnet` is set, but the BIP32 coin type is not `1h` (and vice versa).
158
158
159
-
## How Bitcoin Core uses the Signer API
159
+
## How Dash Core uses the Signer API
160
160
161
161
The `enumeratesigners` RPC simply calls `<cmd> enumerate`.
0 commit comments