How to Spend from an Offline Bitcoin Core Wallet?

19 replies 157 views
Posts: 13 · Reputation: 221
#1Oct 17, 2023, 05:17 AM
Hey everyone. I'm in a bit of a pickle. I’ve got this old core wallet.dat with Bitcoin Core v21 sitting on a laptop that hasn’t been online for years. It has under 0.1 BTC, and I want to spend 0.05 without reconnecting it to the internet. Any ideas?
6 Reply Quote Share
dave.forkMember
Posts: 143 · Reputation: 185
#2Oct 17, 2023, 09:48 AM
Wait, how can your laptop stay offline and still sync with the network? What’s your setup? Are you using one laptop to sign transactions offline and the other one to connect to the internet?
3 Reply Quote Share
Posts: 13 · Reputation: 221
#3Oct 17, 2023, 02:57 PM
I’ve got two laptops. Laptop 1 is the offline one with v21, used to receive BTC ages ago. Laptop 2 is online just to broadcast transactions. I was confused about signing transactions on the offline machine.
5 Reply Quote Share
dave.forkMember
Posts: 143 · Reputation: 185
#4Oct 17, 2023, 03:42 PM
If tech stuff isn't your thing, maybe switch to Sparrow or Electrum for cold storage. They’re more user-friendly and easier to set up. Your offline laptop can sign with Electrum while the online one broadcasts.
5 Reply Quote Share
Posts: 13 · Reputation: 221
#5Oct 17, 2023, 08:10 PM
Thanks for the tips! I’m diving into verifying PGP signatures now. But could anyone explain something to me? If I send a transaction from a wallet that’s not synced...
1 Reply Quote Share
dave.forkMember
Posts: 143 · Reputation: 185
#6Oct 17, 2023, 11:38 PM
Just a heads-up, you shouldn't expose your AppData folder to the internet. That’s risky. Instead, transfer just the signed transaction to the online laptop.
1 Reply Quote Share
Posts: 13 · Reputation: 221
#7Oct 17, 2023, 11:53 PM
I get it now. I was worried about which files in the app data change when you send a transaction. I didn’t want to miss anything important.
0 Reply Quote Share
dave.forkMember
Posts: 143 · Reputation: 185
#8Oct 18, 2023, 05:22 AM
You really should learn more about how Bitcoin Core works, or you'll end up losing coins. You don't need the entire AppData folder. Just the wallet.dat file is enough.
0 Reply Quote Share
Posts: 13 · Reputation: 221
#9Oct 18, 2023, 11:30 AM
Yeah, I hear you. I’m just trying to make sure I understand everything. I thought all transactions not synced were stored in wallet.dat until confirmed.
6 Reply Quote Share
Posts: 9 · Reputation: 5
#10Oct 18, 2023, 03:42 PM
You’re right to be cautious, but handling it the way you mentioned actually defeats the purpose of offline storage. If you’re moving files between computers, the offline one isn’t really offline anymore.
3 Reply Quote Share
Posts: 13 · Reputation: 221
#11Oct 20, 2023, 07:47 PM
Can you explain why that matters? I'm learning, but I thought entering the wallet passphrase on the offline computer keeps my keys safe.
0 Reply Quote Share
dave.forkMember
Posts: 143 · Reputation: 185
#12Oct 20, 2023, 09:32 PM
It’s trustworthy, but not for newbies. Electrum and Sparrow are better for less experienced users. An offline computer is to avoid internet threats, so don’t ever expose it.
0 Reply Quote Share
Posts: 13 · Reputation: 221
#13Oct 21, 2023, 01:47 AM
Thanks, I’m trying Electrum now. Is it true that if I sign a transaction offline and then move the wallet file to the online machine, I don’t need a password there?
1 Reply Quote Share
dave.forkMember
Posts: 143 · Reputation: 185
#14Oct 21, 2023, 03:38 AM
Nope, that’s not how it works. If you sign it offline and bring the wallet.dat to the online computer, you’ll need to enter the password to decrypt it.
2 Reply Quote Share
Posts: 13 · Reputation: 221
#15Oct 22, 2023, 10:08 PM
Ah, I think I see where I went wrong. I wasn’t planning to enter any password on the online machine.
5 Reply Quote Share
Posts: 9 · Reputation: 5
#16Oct 23, 2023, 02:12 AM
It doesn’t work like that though. You can’t sync or broadcast without entering your password if needed. You might want to consider a hardware wallet instead.
4 Reply Quote Share
Posts: 13 · Reputation: 221
#17Oct 23, 2023, 08:31 AM
I’ve heard mixed things about hardware wallets. Some say they’re great, others have horror stories.
3 Reply Quote Share
yield2016Full Member
Posts: 16 · Reputation: 538
#18Oct 23, 2023, 02:27 PM
You could create a new wallet on an air-gapped machine and send BTC from an exchange to it. That could function as a cold wallet.
1 Reply Quote Share
dave.forkMember
Posts: 143 · Reputation: 185
#19Oct 23, 2023, 04:49 PM
That’s an interesting idea! So, I could make backups of wallet.dat for safety?
0 Reply Quote Share
mr_ledgerNewbie
Posts: 4 · Reputation: 4
#20Oct 23, 2023, 07:16 PM
For sure. Just remember, keeping your private keys offline is key to security.
4 Reply Quote Share

Related topics