How Do You Sign Bitcoin Transactions Offline With PSBT?
Signing Bitcoin transactions offline with PSBT splits the work between two devices. The online computer holds only public keys and handles checking balances, creating PSBTs and broadcasting. The offline hardware wallet or air-gapped computer holds the private keys and only reviews and signs. Only the PSBT passes between them, via SD card, QR code or USB, so the private keys never touch the network.
How Does the Online Side Create a Transaction Without Private Keys?
After the offline device is initialized, you export the wallet’s extended public key (xpub) and address type and import them into wallet software on the online computer, creating a watch-only wallet. It can derive every receiving and change address, look up balances and UTXOs, and build transactions, but it cannot sign. During import, check the first receiving address on the offline device to confirm the watch-only wallet has imported the correct public key.
To make a transfer, enter the recipient address, amount and fee in the watch-only wallet, and the software generates a PSBT containing the UTXOs and derivation paths the offline device needs to sign.
How Is the PSBT Passed Between the Two Devices?
There are three common methods. With an SD card, the .psbt file is saved to the card and inserted into the offline device, leaving no electrical connection between the device and the computer; this suits large multi-input transactions. With QR codes, the offline device scans an animated QR code on the computer screen and, once signed, displays one back for the computer to scan. The whole process uses only optical signals, giving the most complete isolation. A USB connection is the most convenient, but it creates a data channel between the signing device and the online computer, so strictly speaking it is no longer an air gap.
The choice depends on how much isolation you need. Business cold wallets generally favor QR codes or SD cards and dedicate the storage media used for transfers to that single purpose.
What Should the Offline Device Verify Before Signing?
The offline device should show on its own screen the full recipient address and amount for every output, the fee it calculated itself from the UTXO data, and which output is change verified through its derivation path. The operator should check what is on that screen line by line against the approval form, not what the online computer displays, since the latter may have been tampered with.
Once signing is done, pass the signed PSBT back to the online computer the same way, and it finalizes and broadcasts the transaction.
What Should Businesses Watch For When Using This Process for Cold Wallets?
First, run a full rehearsal with a small transfer to confirm the watch-only wallet, the offline device and the broadcast step all work together correctly. Second, keep the offline device’s firmware source and updates under control, since it is the only trusted display in the entire process. Third, offline signing by a single operator is still a single point of failure, so large amounts are best combined with multi-person approval or multi-party signing.
The overall architecture of offline signing and how it differs from a cold wallet are design questions for offline signing infrastructure; PSBT addresses one part of it: how data moves in and out safely.
Conclusion
Signing offline with PSBT means the online side handles only public keys and broadcasting, the offline side handles only verification and signing, and the PSBT moves between them by SD card or QR code. What matters most is verification on the offline device’s screen, and making sure no single person can sign off large amounts alone. Safeheron’s MPC Wallet-as-a-Service provides businesses with MPC key management and a policy engine.
Want every signature from your business cold wallet to be free of reliance on any single person or device?
Looking for a secure way to manage digital assets?
Talk to our experts and find the right solution for your business.
Request a DemoLooking for a secure way to manage digital assets?
Talk to our experts and find the right solution for your business.