Y
Published on

Send Bitcoin with Bitcoin Core

Authors
  • avatar
    Name
    Yinhuan Yuan
    Twitter

Here's how to split transaction creation, signing, and broadcasting across different computers: You need to start bitcoind.

bitcoind -conf="C:\Users\<UserName>\AppData\Local\Bitcoin\bitcoin.conf" -datadir="D:\Bitcoin" -printtoconsole
  1. On Computer 1 (Create unsigned transaction):
bitcoin-cli -conf="C:\Users\<UserName>\AppData\Local\Bitcoin\bitcoin.conf" createrawtransaction '[{"txid":"YOUR_TXID","vout":0}]' '{"RECIPIENT_ADDRESS":0.1}'
  1. On Computer 2 (Sign transaction):
bitcoin-cli -conf="C:\Users\<UserName>\AppData\Local\Bitcoin\bitcoin.conf" signrawtransactionwithkey "UNSIGNED_HEX" '["PRIVATE_KEY"]'
  1. On Computer 3 (Broadcast):
bitcoin-cli -conf="C:\Users\<UserName>\AppData\Local\Bitcoin\bitcoin.conf" sendrawtransaction "SIGNED_HEX"

Key points:

  • Computer 2 needs private keys
  • Copy hex strings between computers securely
  • Verify transaction details before broadcasting
  • Fees must be included in createrawtransaction