Skip to content

Commit

Permalink
Update justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
captainbuckkets committed Nov 5, 2023
1 parent d35d4a8 commit 9b42d5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/raw/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ create INPUT_TXID INPUT_VOUT OUTPUT_DESTINATION OUTPUT_AMOUNT:
set -euxo pipefail

bitcoin-cli createrawtransaction \
peerccoin-cli createrawtransaction \
'[
{
"txid": "{{INPUT_TXID}}",
Expand All @@ -18,7 +18,7 @@ create INPUT_TXID INPUT_VOUT OUTPUT_DESTINATION OUTPUT_AMOUNT:
> raw.hex

sign WALLET_NAME:
bitcoin-cli -rpcwallet={{WALLET_NAME}} signrawtransactionwithwallet `cat raw.hex` > signed.json
peercoin-cli -rpcwallet={{WALLET_NAME}} signrawtransactionwithwallet `cat raw.hex` > signed.json

send:
bitcoin-cli sendrawtransaction `cat signed.json | jq '.hex' --raw-output`
peercoin-cli sendrawtransaction `cat signed.json | jq '.hex' --raw-output`

0 comments on commit 9b42d5b

Please sign in to comment.