Skip to content

Commit f6410f3

Browse files
committed
fix: dashify doc/external-signer.md
1 parent 6c4ba34 commit f6410f3

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

doc/external-signer.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
# Support for signing transactions outside of Bitcoin Core
1+
# Support for signing transactions outside of Dash Core
22

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.
44

55
## Example usage
66

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.
88

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.
1010

11-
Start Bitcoin Core:
11+
Start Dash Core:
1212

1313
```sh
14-
$ bitcoind -signer=../HWI/hwi.py
14+
$ dashd -signer=../HWI/hwi.py
1515
```
1616

1717
### Device setup
1818

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).
2020

2121
### Create wallet and import keys
2222

2323
Get a list of signing devices / services:
2424

2525
```
26-
$ bitcoin-cli enumeratesigners
26+
$ dash-cli enumeratesigners
2727
{
2828
"signers": [
2929
{
@@ -37,26 +37,26 @@ The master key fingerprint is used to identify a device.
3737
Create a wallet, this automatically imports the public keys:
3838

3939
```sh
40-
$ bitcoin-cli createwallet "hww" true true "" true true true
40+
$ dash-cli createwallet "hww" true true "" true true true
4141
```
4242

4343
### Verify an address
4444

4545
Display an address on the device:
4646

4747
```sh
48-
$ bitcoin-cli -rpcwallet=<wallet> getnewaddress
49-
$ bitcoin-cli -rpcwallet=<wallet> walletdisplayaddress <address>
48+
$ dash-cli -rpcwallet=<wallet> getnewaddress
49+
$ dash-cli -rpcwallet=<wallet> walletdisplayaddress <address>
5050
```
5151

5252
Replace `<address>` with the result of `getnewaddress`.
5353

5454
### Spending
5555

56-
Under the hood this uses a [Partially Signed Bitcoin Transaction](psbt.md).
56+
Under the hood this uses a [Partially Signed Blockchain Transaction](psbt.md).
5757

5858
```sh
59-
$ bitcoin-cli -rpcwallet=<wallet> sendtoaddress <address> <amount>
59+
$ dash-cli -rpcwallet=<wallet> sendtoaddress <address> <amount>
6060
```
6161

6262
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.
6868

6969
## Signer API
7070

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.
7272

7373
Prerequisite knowledge:
7474
* [Output Descriptors](descriptors.md)
75-
* Partially Signed Bitcoin Transaction ([PSBT](psbt.md))
75+
* Partially Signed Blockchain Transaction ([PSBT](psbt.md))
7676

7777
### `enumerate` (required)
7878

@@ -156,7 +156,7 @@ If <descriptor> contains an xpub, the command MUST fail if it does not match the
156156

157157
The command MAY complain if `--testnet` is set, but the BIP32 coin type is not `1h` (and vice versa).
158158

159-
## How Bitcoin Core uses the Signer API
159+
## How Dash Core uses the Signer API
160160

161161
The `enumeratesigners` RPC simply calls `<cmd> enumerate`.
162162

0 commit comments

Comments
 (0)