From 9e826909cf2dca49b9345ed5663249ed7603db66 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sat, 20 Apr 2019 20:38:16 +0300 Subject: [PATCH] Fix last command format at `examples.md` --- docs/examples.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/examples.md b/docs/examples.md index 0aa5d5c..30b4a14 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -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 +```