Could this be used as cold storage with an old smartphone?
1.) Send some coins to the wallet
2.) remove sim and keep it in airplane mode forever (change wlan pw on router)
3.) Do offline txs as needed
In theory, this should be possible.
In practise, the current implementation is not designed for 100% robustness. If the Bluetooth submission fails for some reason, you'll need to connect to regular Bitcoin peers to get the tx through.
Actually I would be more interested in the QR Code variant as I expect it to be still a little safer.
The way I understand you the problem is that the offline transaction can not be recreated. So what about manually taking a screenshot of the QR code to be able to retry the broadcast?
One could even create a stripped down, hardened rom (tinfoilrom).
The Bluetooth channel will currently not be set up again.
However, you're right that you could also use the "transaction QR code" feature to submit a transaction. You can also use NFC. The problem with that is that QR codes are limited in size, so some transactions will not fit.
If this turns out to be a real problem, we can work on the bitcoinj default coin selector to not build transactions exceeding a given byte size.
Why don't you just try it out? I'd be interested in real feedback.
Will do.
What phelix is proposing should work fine, we can always fix bugs in the Bluetooth code if there are any.
The missing piece is getting money into the offline wallet. You need the ability to sync a wallet online without any private keys (bitcoinj can do this, but currently the Android app can't), and then send the online/pubkey-only wallet to the cold storage device, and have the cold storage device do the merge.
Maybe it could fly blind if I manually tell it how many coins there are on a key scanned.
This isn't technically very complicated, but I wonder how useful it really is given that we have the Trezor coming up. That seems like a more robust approach. I guess some people may have old phones lying around that they wouldn't mind using just as a wallet but I guess it's not so common.
Agreed, once Trezor et al are available it is only a matter of not having to buy a new device...