Merge #155: Fix last command format at examples.md

9e82690 Fix last command format at `examples.md` (Roman Zeyde)

Pull request description:

ACKs for commit 9e8269:
  achow101:
    ACK 9e826909cf

Tree-SHA512: 55b039d8f4ad5205b83e92e6a2c36c9688055ed7083c6de75479a3e712b77087a82a1f8f6d5ee1d299fdd1c5d012ef368f4d741e52eca18a6119ea1d99b78bff
This commit is contained in:
Andrew Chow 2019-04-21 18:04:23 -04:00
commit bfc29c26a5
No known key found for this signature in database
GPG Key ID: 17565732E08E5E41

View File

@ -140,4 +140,6 @@ bitcoin-cli scantxoutset start '[{"desc":"wpkh(xpub6DP9afdc7qsz7s7mwAvciAR2dV6vP
The input and output format supported by HWI is base64, which is prescribed by BIP174 as the string format. Note that the PSBT standard also allows for binary formatting when stored as a file. There is no direct support within HWI, but this can be easily accomplished using common utilities. A bash command-line example is detailed below, where the PSBT binary file is stored in `example.psbt` and only the common utilities `base64` and `jq` are required:
```
cat example.psbt | base64 --wrap=0 | ./hwi.py -t ledger --stdin signtx | jq .[] --raw-output | base64 -d > example_result.psbt
```