Bitcoin Forum
November 06, 2024, 10:12:08 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Is this how I should setup my offline electrum wallet?  (Read 3754 times)
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 03, 2014, 12:58:52 PM
 #1

Please review my steps:

0) download a linux distro (me its mint 17) and electrum
1)) create a bootable usb key of linux mint
2) put electrum in another usb key
3) turn off computer
4) turn off wifi
5) boot into linux mint
6) verify you dont have an internet connection
7) install electrum via usb key
Cool create a new wallet and memorize the seed and then write it on a piece of paper
9) copy your master public key into a usb key


What do I do next ? I have trouble understanding what a master public key is!

Should I save one of the address and then launch my online pc and send bitcoin to this address?
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 03, 2014, 03:06:39 PM
 #2

I couldnt even manage to install electrum on linux mint lol. What are the commands? I tried "run wherethefileis" but it did nothing
dabura667
Sr. Member
****
Offline Offline

Activity: 475
Merit: 252


View Profile
June 03, 2014, 03:41:48 PM
 #3

Please review my steps:

0) download a linux distro (me its mint 17) and electrum
1)) create a bootable usb key of linux mint
2) put electrum in another usb key
3) turn off computer
4) turn off wifi
5) boot into linux mint
6) verify you dont have an internet connection
7) install electrum via usb key
Cool create a new wallet and memorize the seed and then write it on a piece of paper
9) copy your master public key into a usb key


What do I do next ? I have trouble understanding what a master public key is!

Should I save one of the address and then launch my online pc and send bitcoin to this address?

You need python-qt4 and python-pip installed on your linux. If you don't, you'll need to download those sources and install them.

Once you have the sources for those two installed, type into terminal
Code:
sudo pip install /<whateveryourpathis>/Electrum-1.9.8.tar.gz

Then it will install for you.

"run".......... let me guess, new to linux?

My Tip Address:
1DXcHTJS2DJ3xDoxw22wCt11FeAsgfzdBU
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 03, 2014, 03:56:43 PM
 #4

Please review my steps:

0) download a linux distro (me its mint 17) and electrum
1)) create a bootable usb key of linux mint
2) put electrum in another usb key
3) turn off computer
4) turn off wifi
5) boot into linux mint
6) verify you dont have an internet connection
7) install electrum via usb key
Cool create a new wallet and memorize the seed and then write it on a piece of paper
9) copy your master public key into a usb key


What do I do next ? I have trouble understanding what a master public key is!

Should I save one of the address and then launch my online pc and send bitcoin to this address?

You need python-qt4 and python-pip installed on your linux. If you don't, you'll need to download those sources and install them.

Once you have the sources for those two installed, type into terminal
Code:
sudo pip install /<whateveryourpathis>/Electrum-1.9.8.tar.gz

Then it will install for you.

"run".......... let me guess, new to linux?

yes new to linux, i've managed to do it but there is one thing I dont understand :

if i boot to a livecd and i download python and electrum and then I install it on the live cd, doesnt that defeat the purpose of an offline wallet ? i feel i am missing something.

this is what i did:

1) boot on linux mint through usbkey (livecd)
2) connect to the internet and download and install everything
3) reboot with wifi disconnected and launch electrum

but i did that on the same machine, what purpose does it serve to launch electrum offline if i was online in order to install it?

hope you can help

PS: run did nothing, i needed to type "electrum" to launch it lol maybe its because its not ubuntu?
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 03, 2014, 04:02:50 PM
 #5

Also, now I am watching the wallet I created through the livecd, but how am I 100% sure its my wallet ? i'm scared lol. How can I be sure I can access it again !? I think I did everything correctly but you never know... I am a bit brain damaged so I gotta be careful.
dabura667
Sr. Member
****
Offline Offline

Activity: 475
Merit: 252


View Profile
June 03, 2014, 04:04:58 PM
 #6

but i did that on the same machine, what purpose does it serve to launch electrum offline if i was online in order to install it?

Just never connect to the internet AFTER that. So I hope you created your first wallet AFTER disconnecting.

Even if there was spyware that infected your livecd in the 5 minutes you were online. It will never be able to talk to the internet again, so you should be good.

If you want to be super sure, you can find the source code for pyqt4 and pip and copy them over via USB then install them manually... kinda technical, but yeah.

Also, you should take your master public key and move it to an online computer. Then you just install electrum on your online computer, and when you first start up choose "Create watch only wallet" and then paste in your master public key to get all your bitcoin addresses with no private keys.

Then all you need to do to send bitcoin is create unsigned transaction with your online computer, transfer unsigned tx to offline wallet via usb, then sign it, transfer signed tx to online pc via usb and then load it into your watch only wallet and click "broadcast".

My Tip Address:
1DXcHTJS2DJ3xDoxw22wCt11FeAsgfzdBU
dabura667
Sr. Member
****
Offline Offline

Activity: 475
Merit: 252


View Profile
June 03, 2014, 04:06:32 PM
 #7

Also, now I am watching the wallet I created through the livecd, but how am I 100% sure its my wallet ? i'm scared lol. How can I be sure I can access it again !? I think I did everything correctly but you never know... I am a bit brain damaged so I gotta be careful.
try it out with small amounts first.

now that you have it set up, and you install a watch only wallet on the online computer, try sending like 0.002 BTC to an address... then try sending that to another address... after 2 or so times, you should be comfortable with sending and receiving with your offline wallet. THEN you can send all your bitcoins to one of the new addresses.

My Tip Address:
1DXcHTJS2DJ3xDoxw22wCt11FeAsgfzdBU
dabura667
Sr. Member
****
Offline Offline

Activity: 475
Merit: 252


View Profile
June 03, 2014, 04:07:49 PM
 #8

tell me one of the addresses and I'll send you 0.001 BTC.

only tell me AFTER you have installed your watch-only wallet on your online PC.

My Tip Address:
1DXcHTJS2DJ3xDoxw22wCt11FeAsgfzdBU
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 03, 2014, 04:12:00 PM
 #9

I already sent a small amount to the wallet i am observing! thanks for offering! i'm gonna read what u wrote now! I must be crazy but i am not 100% sure its the wallet I have created that I am observing !
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 03, 2014, 04:17:42 PM
 #10

but i did that on the same machine, what purpose does it serve to launch electrum offline if i was online in order to install it?

Then all you need to do to send bitcoin is create unsigned transaction with your online computer, transfer unsigned tx to offline wallet via usb, then sign it, transfer signed tx to online pc via usb and then load it into your watch only wallet and click "broadcast".

It is this part that I dont understand. When you mean "all I need to do to send bitcoin...." is from the "observing perspective" Am I right ? But what about :

1) How do I send bitcoin to the wallet i am observing (my offline wallet) from my online wallet ? is it like usual ?
2) If I want to spend bitcoins from the wallet i am observing i have to follow what I quoted? right ?

thanks again for your help! i made so newbie mistakes (lost password and more) that now i quadruple check everything, i just thank god that im not this guy who sent 800 btc to an old mtgox address !

edit: yes i waited to have my pc disconnected to create the wallet! what happens if I didnt ? im doubting myself now
dabura667
Sr. Member
****
Offline Offline

Activity: 475
Merit: 252


View Profile
June 03, 2014, 04:41:43 PM
 #11

but i did that on the same machine, what purpose does it serve to launch electrum offline if i was online in order to install it?

Then all you need to do to send bitcoin is create unsigned transaction with your online computer, transfer unsigned tx to offline wallet via usb, then sign it, transfer signed tx to online pc via usb and then load it into your watch only wallet and click "broadcast".

It is this part that I dont understand. When you mean "all I need to do to send bitcoin...." is from the "observing perspective" Am I right ? But what about :

1) How do I send bitcoin to the wallet i am observing (my offline wallet) from my online wallet ? is it like usual ?
2) If I want to spend bitcoins from the wallet i am observing i have to follow what I quoted? right ?

thanks again for your help! i made so newbie mistakes (lost password and more) that now i quadruple check everything, i just thank god that im not this guy who sent 800 btc to an old mtgox address !

edit: yes i waited to have my pc disconnected to create the wallet! what happens if I didnt ? im doubting myself now

I think you are confused.

1) Your "offline" wallet is on Linux, it has your bitcoin addresses and your private keys stored. (you are protecting your private keys from theft by keeping them offline)
2) Your "online" wallet is on Windows/Mac whatever, and it has the SAME EXACT bitcoin addresses as your "offline" wallet. EXCEPT your online computer does NOT have the private keys.

So if you sent bitcoins to your online wallet, they are on your offline wallet too. It's the same wallet, just the online one has no private keys, so no one can steal your bitcoins from your online PC.

So in order to send bitcoins, you must use your online pc and send bitcoins with electrum (you can send to another address in the same wallet, it doesn't matter) and because your online wallet has no private keys, electrum will automatically see this, and it will show you a transaction confirmation screen. On this screen, you will see a button that says "save".

Save this file (.txn file) to your USB drive.

Then you load your OFFLINE wallet. (So boot to your Linux offline)

Then you plug in the USB with your .txn file, and you click "Load Transaction" "from file" in the OFFLINE electrum. Then select the .txn file.

The same transaction window will show up, but because it is offline, the balance will be 0 or maybe negative or something, just ignore it. Click "sign"

Then click "save" after you are done signing. This time you save the signed .txn file back to the USB.

Then you go back to your online computer. Click "Load transaction" "from file" and pick the SIGNED txn file.

Then the window will pop up, check to make sure all the info is ok, then click "broadcast". Within a few seconds you will see the bitcoin move from one address to the one you sent it to.

This is how you use offline transaction signing with Electrum.

My Tip Address:
1DXcHTJS2DJ3xDoxw22wCt11FeAsgfzdBU
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 03, 2014, 08:50:20 PM
 #12

I was using the word "online wallet" to describe the wallet where my coin currently are (ie multibit); and the word "offline wallet" to describe the wallet ive created using linux and that i am observing using electrum

I was wondering how do I send bitcoin from my online wallet (multibit) from my offline wallet (observing with electrum), is it the same as usual ? i take an address from the wallet I observe and I send this address using multibit?

But then how do I make sure I really own this wallet ? I need to be able to send coins from it.

So to do that, I do what you describe in your latest message, right?

Also, what happens if my offline wallet goes online ? how is it dangerous ? for instance if I forget to create my offline wallet with wifi disconnected what does it change? is it out in the public meaning that anyone can log in ?

Also when I want to spend money from my offline wallet, the only way to do that is to transfert through a usb key the tx file ? there is no other way ? what about recreating the seed on a pc connected to the internet? then I can do all that. So i need to keep my seeds secure, right ?

The interest of the offline wallet through electrum is to prevent the spending of the bitcoin ? i can only receive coins ? I can not spend them because to spend them I need to have access to the seeds or to the usb key ? so my usb key needs to be secure too right?
Abdussamad
Legendary
*
Offline Offline

Activity: 3682
Merit: 1580



View Profile
June 03, 2014, 09:39:11 PM
 #13

I was using the word "online wallet" to describe the wallet where my coin currently are (ie multibit); and the word "offline wallet" to describe the wallet ive created using linux and that i am observing using electrum

I was wondering how do I send bitcoin from my online wallet (multibit) from my offline wallet (observing with electrum), is it the same as usual ? i take an address from the wallet I observe and I send this address using multibit?

It is same as usual. Just copy the address from the watch only wallet (offline, read only wallet installed on your computer) to your multibit send window and go from there.

Quote
But then how do I make sure I really own this wallet ? I need to be able to send coins from it.

Write down a few of the addresses in your watch only wallet on a piece of paper. Then follow same procedure as before to recreate your wallet i.e. boot into mint, install electrum, disconnect wifi, create new wallet selecting restore from seed, enter seed. See if the same addresses you wrote down show up.

Quote
So to do that, I do what you describe in your latest message, right?

Also, what happens if my offline wallet goes online ? how is it dangerous ? for instance if I forget to create my offline wallet with wifi disconnected what does it change? is it out in the public meaning that anyone can log in ?

Also when I want to spend money from my offline wallet, the only way to do that is to transfert through a usb key the tx file ? there is no other way ? what about recreating the seed on a pc connected to the internet? then I can do all that. So i need to keep my seeds secure, right ?

The interest of the offline wallet through electrum is to prevent the spending of the bitcoin ? i can only receive coins ? I can not spend them because to spend them I need to have access to the seeds or to the usb key ? so my usb key needs to be secure too right?

Why are you creating an offline wallet if you don't know what use it is? Who told you to go create an offline wallet? If you don't have too many bitcoins then an online electrum wallet installed on your computer with a decent password is good enough for most people.

Offline wallets are an advanced feature. They are not for newbies.
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 03, 2014, 09:57:32 PM
 #14


Why are you creating an offline wallet if you don't know what use it is? Who told you to go create an offline wallet? If you don't have too many bitcoins then an online electrum wallet installed on your computer with a decent password is good enough for most people.

Offline wallets are an advanced feature. They are not for newbies.

First thank you for the answear. Second, I wish you had told me what is the purpose of the offline wallet. I think I know it but I am not sure! Also english isnt my first language so as soon as it gets technical I cant express myself anymore! Also I am a scared noobie and fear prevents me to thinking straight! Also its too technical for me!

To be clear: when I setup an offline wallet and I observe it through electrum on computer connected to the internet, i cannot spend the coins without having to save the tx file and load it on the offline wallet which is located on my usb live key?

Its a way to protect yourself against an attack or a rootkit or anything on your computer right? but what if the usbkey get contaminated ? or what if ... I dont know !
Abdussamad
Legendary
*
Offline Offline

Activity: 3682
Merit: 1580



View Profile
June 03, 2014, 10:32:58 PM
 #15


Why are you creating an offline wallet if you don't know what use it is? Who told you to go create an offline wallet? If you don't have too many bitcoins then an online electrum wallet installed on your computer with a decent password is good enough for most people.

Offline wallets are an advanced feature. They are not for newbies.

First thank you for the answear. Second, I wish you had told me what is the purpose of the offline wallet. I think I know it but I am not sure! Also english isnt my first language so as soon as it gets technical I cant express myself anymore! Also I am a scared noobie and fear prevents me to thinking straight! Also its too technical for me!

The idea is that if your computer is infected with malware your offline wallet is not affected and bitcoins sent there cannot be stolen.

Quote
To be clear: when I setup an offline wallet and I observe it through electrum on computer connected to the internet, i cannot spend the coins without having to save the tx file and load it on the offline wallet which is located on my usb live key?

Yes.

BTW you don't have to store the wallet on your usb key. Just noting down the seed on a piece of paper is sufficient. You can restore from seed whenever you need to spend bitcoins. You will still need a USB drive for the transaction files though.

Quote
but what if the usbkey get contaminated ? or what if ... I dont know !

If the usb key gets infected then your bitcoins could be stolen. It would have to be pretty sophisticated malware, though. Malware that a) supports both windows and linux b) targets bitcoin users with offline wallets. I don't know of any such malware in the wild.
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 03, 2014, 10:41:07 PM
 #16


Quote
BTW you don't have to store the wallet on your usb key. Just noting down the seed on a piece of paper is sufficient. You can restore from seed whenever you need to spend bitcoins. You will still need a USB drive for the transaction files though.

Thanks again for the answear, i really appreciate it! one other thing i had trouble is installing electrum on linux... For instance, I had to connect my livecd to internet to download electrum and install it. But then it means my livecd, thus my usbkey has been exposed to the internet... I thought it would defeat the purpose of the offline wallet.  This is what troubled me so much. I couldnt manage to install electrum without the internet but is it that important ?

also, when i've installed electrum on my livecd, it saved everything ! what I mean is that whenever I install something on the livecd it stays even after a reboot! so when I installed electrum it still there!

is that a problem? its a difficulty for me to comprehend the purpose of the offline wallet as the machine and the OS where its stored was exposed to the internet... for instance if by inadvertance i boot into my live cd and i have the internet connected well i am fucked and my offline wallet isnt an offline wallet anymore right ?

also, are the addresses of my offline wallet known to the blockchain ? it must be adverted everywhere? right ? is that a risk?
Abdussamad
Legendary
*
Offline Offline

Activity: 3682
Merit: 1580



View Profile
June 03, 2014, 10:53:21 PM
 #17

Perhaps linux mint supports persistent storage? Meaning it is storing something on your hard drive or USB drive so you can carry on from where you left off. Obviously this means that you no longer have a truly offline wallet.

Quote
also, are the addresses of my offline wallet known to the blockchain ? it must be adverted everywhere? right ? is that a risk?

When somebody (perhaps yourself) sends bitcoin to an address you own the blockchain simply records that such and such an amount has been sent to such and such an address. When it is time to spend the bitcoins you prove ownership of the address by signing the spend transaction using your private key. This can be independently verified by the world at large using your public key. Here is a more detailed explanation:

https://bitcoinspakistan.com/blog/private-key-public-key-bitcoin-address-and-the-blockchain/
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 03, 2014, 11:42:55 PM
 #18

thanks again for your help dabura and abdussamad! i've just did my first spent from the offline wallet using the signed transaction:) it was very fun to do and a very smart way to design electrum!

now i have one last question : if i've fucked up at one point, is my offline wallet riskier than an online multibit/electrum(non watching) wallet ?

for instance, there could have been a few problems

1) linux livecd OS gets malware because it was connected to the internet to download electrum (not probable apparently)
2) stupid me created the wallet while being online - what happens in that case ? is it at risk ? and how do i make sure i didnt made that mistake ?
3) malware on usbkey from the getgo (not really probable apparently)

what else have i forget ? is it possible ive fucked up somewhere and my new protocole is worse than mutlibit/electrum that i was using before?
dabura667
Sr. Member
****
Offline Offline

Activity: 475
Merit: 252


View Profile
June 04, 2014, 03:57:10 AM
 #19

thanks again for your help dabura and abdussamad! i've just did my first spent from the offline wallet using the signed transaction:) it was very fun to do and a very smart way to design electrum!

now i have one last question : if i've fucked up at one point, is my offline wallet riskier than an online multibit/electrum(non watching) wallet ?

for instance, there could have been a few problems

1) linux livecd OS gets malware because it was connected to the internet to download electrum (not probable apparently)
2) stupid me created the wallet while being online - what happens in that case ? is it at risk ? and how do i make sure i didnt made that mistake ?
3) malware on usbkey from the getgo (not really probable apparently)

what else have i forget ? is it possible ive fucked up somewhere and my new protocole is worse than mutlibit/electrum that i was using before?

#2 there is no way to check. But to be honest. You should be fine, don't worry about it.

My Tip Address:
1DXcHTJS2DJ3xDoxw22wCt11FeAsgfzdBU
darlidada (OP)
Hero Member
*****
Offline Offline

Activity: 723
Merit: 503


View Profile
June 04, 2014, 10:43:20 AM
 #20

Thanks guys, just to be sure I've done it again with ubuntu but the command lines thingy wasnt functionning so i used the ubuntu software installer. I typed electrum and downloaded it from there. it is the 1.9.7 though

Is it normal ? am i OK ?

Sorry for dumb uestions I only have 1.4 btc but its a lot to me...
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!