Bitcoin Forum

Bitcoin => Electrum => Topic started by: eum65313 on August 12, 2017, 04:16:05 PM



Title: Cold Storage on different Operating systems?
Post by: eum65313 on August 12, 2017, 04:16:05 PM
Is it possible to create a unsigned TXN file on my online Win10 and sign it on my offline OSX?


Title: Re: Cold Storage on different Operating systems?
Post by: eum65313 on August 13, 2017, 02:28:06 AM
Yes.  I've tried and failed.   When I tried to open the unsigned txn file in Electrum OSX version,  always got a error message "Invalid Lines Found"

Version 2.9.2

Win10 (online)

OSX 10.11 (offline)


Very odd.


Title: Re: Cold Storage on different Operating systems?
Post by: pooya87 on August 13, 2017, 04:50:33 AM
the problem is probably not with your OS, it is either something wrong with the file or something wrong with the method that Electrum uses while reading that file in that other OS.

try opening that file with a text editor. you should see something like this:
Code:
{
    "hex": "010000...88ac00000000",
    "complete": false
}

first see if you see any additional lines in this file. then please report back.

as a workaround you can simply copy the "hex" part (the 0100.... thing) and use "Tools > Load Transaction > From Text" this time and paste the copied raw tx there and click Load.


Title: Re: Cold Storage on different Operating systems?
Post by: eum65313 on August 13, 2017, 05:46:14 AM

Then try with a different version on both OS - 2.8.3 for example.

Even better, select a version on Github, and compile it on each OS, without relying on the provided binaries.

I suspect that you have less than half a bitcoin in your wallet for you to use such a convoluted and archaic system (who is using cold storage, or paper wallets nowadays...).  If you have more than $1000 worth of bitcoin, why don't you use a hardware wallet (Trezor, Ledger, KeepKey), like the rest of the world?


I've tried version 2.92/2.83/2.80, same result. :(


Title: Re: Cold Storage on different Operating systems?
Post by: eum65313 on August 13, 2017, 05:52:27 AM
the problem is probably not with your OS, it is either something wrong with the file or something wrong with the method that Electrum uses while reading that file in that other OS.

try opening that file with a text editor. you should see something like this:
Code:
{
    "hex": "010000...88ac00000000",
    "complete": false
}

first see if you see any additional lines in this file. then please report back.

as a workaround you can simply copy the "hex" part (the 0100.... thing) and use "Tools > Load Transaction > From Text" this time and paste the copied raw tx there and click Load.

there is no additional line in the file

{
    "hex": "0100000000000.......",
    "complete": false,
    "final": true
}

In OSX version, no ""Tools > Load Transaction > From Text"" option available.      I tried to load the txn file using " Send -> click the open icon and select the txn file"   

I cannot locate " Load Transaction “


Title: Re: Cold Storage on different Operating systems?
Post by: Abdussamad on August 13, 2017, 08:36:35 AM
maybe it's  due to different characters used for line endings. run the file through dos2unix beforehand. maybe that'll fix it.


Title: Re: Cold Storage on different Operating systems?
Post by: eum65313 on August 13, 2017, 09:46:17 AM
Follow this guide,  https://freedomnode.com/blog/73/how-to-create-and-use-an-offline-bitcoin-wallet-aka-cold-storage-with-electrum

but there is no "Tools -> Load transaction -> From file" option in my Electrum OSX version ( have tried 2.93/2.83/2.80)



Title: Re: Cold Storage on different Operating systems?
Post by: Abdussamad on August 13, 2017, 09:54:26 AM
Follow this guide,  https://freedomnode.com/blog/73/how-to-create-and-use-an-offline-bitcoin-wallet-aka-cold-storage-with-electrum

but there is no "Tools -> Load transaction -> From file" option in my Electrum OSX version ( have tried 2.93/2.83/2.80)



the menu bar should be at the top of the screen. tools menu. I can find it in my linux version of 2.9.3 so it should be there in macosx version too. you did download electrum from electrum.org right?