Bitcoin Forum
May 01, 2024, 10:01:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Re: Offline signing and change addresses on: January 11, 2015, 07:39:09 PM
Hi, this is definitely the answer. Thank you for that.
Entering those commands doesn't seem to generate new change addresses on a BIP32 wallet (seed v11) I even tried to call wallet.synchronize() though that may need the network. I am trying to figure out what to execute to get electrum to generate new BIP32 change addresses while offline.
2  Bitcoin / Electrum / Offline signing and change addresses on: January 09, 2015, 06:23:45 AM
Hello all,
I am working on a secure way of storing some bitcoins with electrum though I do spend them from time to time. My question is on change addresses and in particular how one can verify them on the signing machine.

My setup so far is two electrum machines. A watch-only wallet connected to the net (A) and the machine with the full wallet that has never been connected to the net (B). On machine A, I do my electrum mktx, move the file over to B and verify the file using electrum decoderawtransaction. Sign the hex and move the signature back to A for sending to the network. In analyzing possible methods of attack, one thing an attacker could do if A were hacked is modify the electrum on A to send the change from a transaction to an address he controls. Since change addresses are unique per transaction, I can't verify them obviously with a decoderawtransaction. I see one address in the outputs I recognize and one I do not which I assume to be change. With a sendmany, I see several I recognize and one change address unless I have spent all of the inputs.

So, how do folks here verify the change address does in fact belong to the sending wallet? If the solution is not obvious, I wonder how the hardware signing devices are doing this...
3  Bitcoin / Electrum / Importing and exporting raw seed data on: December 30, 2014, 07:46:36 PM
Hello all,
I am using electrum from git as I wanted a standard BIP44 key for storing bitcoins. I am experimenting with saving/restoring my seed to ensure I will be able to do so in the future or on another client. For the most part, I have it working but am wondering how to turn a seed back into an electrum 13 word mnemonic...
What I have so far:
To backup a seed, back up the mnemonic of course then extract the seed:
from electrum import mnemonic
m = Mnemonic
print m.mnemonic_to_seed(sys.argv[1], '').encode('hex')
That outputs the 256 bit seed used to create the initial bip32 key. The initial bip32 key doesn't appear to be stored in the wallet. Only the mnemonic and m/44'/0'/0' is stored I believe. The key can be generated with:
sx hd-seed hexstring
from mnemonic_to_seed. Outputs the XPRV string.
So that allows me to restore the wallet into another client if need be.

Does anyone know how one gets that 256 bit key back into a usable electrum mnemonic?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!