<p>I have a bitcoin address generated in bitcoin-core (offline computer)
I imported that one address into electrum as a watch-only wallet (online computer)
From electrum I created an unsigned transaction scan it back using QR code to the offline computer.</p>
<p>Which one should I use to sign the unsigned transaction using bitcoin-core? signrawtransactionwithwallet or signrawtransactionwithkey? If possible please tell me the different cases of which one to use?</p>
<p>Please also tell me if there is any better way to sign unsigned transaction using bitcoin-core.</p>

<bitcoin-core><electrum><raw-transaction><watch-only><signrawtransaction>
What is the difference between signrawtransactionwithwallet vs signrawtransactionwithkey in signing unsigned raw transaction?
bbnn
# What is the difference between signrawtransactionwithwallet vs signrawtransactionwithkey in signing unsigned raw transaction?

(Asked by: username_0 on 2021-05-02)

I have a bitcoin address generated in bitcoin-core (offline computer)
I imported that one address into electrum as a watch-only wallet (online computer)
From electrum I created an unsigned transaction scan it back using QR code to the offline computer.

Which one should I use to sign the unsigned transaction using bitcoin-core? signrawtransactionwithwallet or signrawtransactionwithkey? If possible please tell me the different cases of which one to use?

Please also tell me if there is any better way to sign unsigned transaction using bitcoin-core.

**Tags:** bitcoin-core, electrum, raw-transaction, watch-only, signrawtransaction


---

## 0 answers

