Bitcoin Forum
May 05, 2024, 04:06:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to sign offline transaction?  (Read 1974 times)
yenom (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
February 24, 2017, 10:01:51 PM
 #1

I have a watching wallet on Windows 10 on electrum 2.7.11. I have saved a transaction and saved it to my USB key and transferred it to my offline PC which is never connected to the internet. Ever.

I load electrum 2.7.9 on there and load the transaction from USB key. All good so far. When I click Sign, I get a message saying please wait, signing transaction... and then Error. Server did not answer.

Well, obviously because it's offline. How do I sign a saved transaction?
1714925186
Hero Member
*
Offline Offline

Posts: 1714925186

View Profile Personal Message (Offline)

Ignore
1714925186
Reply with quote  #2

1714925186
Report to moderator
1714925186
Hero Member
*
Offline Offline

Posts: 1714925186

View Profile Personal Message (Offline)

Ignore
1714925186
Reply with quote  #2

1714925186
Report to moderator
1714925186
Hero Member
*
Offline Offline

Posts: 1714925186

View Profile Personal Message (Offline)

Ignore
1714925186
Reply with quote  #2

1714925186
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714925186
Hero Member
*
Offline Offline

Posts: 1714925186

View Profile Personal Message (Offline)

Ignore
1714925186
Reply with quote  #2

1714925186
Report to moderator
1714925186
Hero Member
*
Offline Offline

Posts: 1714925186

View Profile Personal Message (Offline)

Ignore
1714925186
Reply with quote  #2

1714925186
Report to moderator
BitcoinNewsMagazine
Legendary
*
Offline Offline

Activity: 1806
Merit: 1164



View Profile WWW
February 24, 2017, 11:41:40 PM
 #2

I have a watching wallet on Windows 10 on electrum 2.7.11. I have saved a transaction and saved it to my USB key and transferred it to my offline PC which is never connected to the internet. Ever.

I load electrum 2.7.9 on there and load the transaction from USB key. All good so far. When I click Sign, I get a message saying please wait, signing transaction... and then Error. Server did not answer.

Well, obviously because it's offline. How do I sign a saved transaction?

Did you follow this guide to the letter http://docs.electrum.org/en/latest/coldstorage.html

pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10549



View Profile
February 25, 2017, 05:38:01 AM
 #3

back up your seed and wallet file and then upgrade to the latest version (2.7.18) your problem should be solved.

i may be wrong about this but i think your cold storage can not find the keys to sign the transaction. there may be something missing from the unsigned transaction you are trying to sign because of version differences. that may be why it is trying to contact a server to ask that server what keys does your "transaction id" belong to.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
yenom (OP)
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
February 25, 2017, 10:22:04 AM
 #4

I was trying to sign my transaction on Tails linux distro. It failed. I then rebooted tails and tried to upgrade electrum but that failed too.

I then booted into Xubuntu 16.04 Live CD and installed latest electrum, restored wallet from seed, disconnected the PC and signed my transaction no problem, then powered off the PC. Seems that the issue was with Tails.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10549



View Profile
February 26, 2017, 06:09:31 AM
 #5

i just tested this with version 2.7.9 as offline version and i get the same error, that is weird and i think that was a bug in that version, and it is fixed when you upgrade to a newer version as i said above.

also
I then booted into Xubuntu 16.04 Live CD and
installed latest electrum,
 restored wallet from seed,
{here you download the blockchain headers and sync since you are not yet disconnected!}
disconnected the PC and
signed my transaction no problem, then powered off the PC.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
angsilev
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 05, 2017, 02:07:30 AM
 #6

Hi friends, I am trying to run a transaction in electrum per console:

electrum payto -f 0.0003 -F 19LYUf4NSvmAq5ZbJKTAHWYbMFz4uj2AYf 1E1vDcXnYEnhP8jaJWbSnLDThEM5rmXLFn 0.001 --unsigned | electrum signtransaction --privkey [PRIVATE_KEY_FOR:19LYUf4NSvmAq5ZbJKTAHWYbMFz4uj2AYf] - | electrum broadcast -

However, the following error is generated:

error: The transaction was rejected by network rules.  (16: mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation))\n[0100000001f87cbcafd5bb1605cb61922a05d1c0fb2f91542778702efc1dda4c674834dbd3010000005701ff4c53ff0488b21e0000000000000000005b98d5e7bf71c012fe95da0fda275e2d532775c0ffe19a2b357b5217639c4ceb03f19d0b9df05db93e03bb5d12cfc07fb59d9d6459195b641e17ade2696254f3c801000100ffffffff0250c30000000000001976a914dc34f3f00d49bf1dfb910ad7b8ca985048e8382f88aca0860100000000001976a9148ec60f132dd3e89c1573d7becf1f1133f6c162a188ac00000000]

I have noticed that the transaction before and after signed with the private key is identical, as if it were not signing, my version of electrum is: 2.7.18. If someone is so kind to help me, I thank you. Happy day.
Pages: [1]
  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!