Bitcoin Forum
May 09, 2024, 04:33:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Load and broadcast signed transaction in Android electrum  (Read 132 times)
bomberb17 (OP)
Hero Member
*****
Offline Offline

Activity: 771
Merit: 528



View Profile
January 17, 2021, 07:01:20 PM
 #1

I have a signed transaction file .txn (signed on a PC) and want to load and broadcast it in Android electrum. I don't see such an option, is there any way? Maybe can broadcast it using another app or website?
1715229222
Hero Member
*
Offline Offline

Posts: 1715229222

View Profile Personal Message (Offline)

Ignore
1715229222
Reply with quote  #2

1715229222
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
January 17, 2021, 07:02:33 PM
 #2

Its at the bottom of one of the menus at the top (I think it's Tools but it could be wallet).
bomberb17 (OP)
Hero Member
*****
Offline Offline

Activity: 771
Merit: 528



View Profile
January 17, 2021, 07:05:25 PM
 #3

Its at the bottom of one of the menus at the top (I think it's Tools but it could be wallet).

Can't find it. In the send tab, there are only 4 icons, then scan, then pay, no option to load txn file
bomberb17 (OP)
Hero Member
*****
Offline Offline

Activity: 771
Merit: 528



View Profile
January 17, 2021, 07:22:53 PM
 #4

?
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
January 17, 2021, 07:33:10 PM
 #5

Open your Electrum wallet on desktop, load the signed transaction, and click the button at the bottom left which says "Export", and then click "Show as QR code".

On your mobile wallet, press the button on the page you have screenshotted which says "Scan". Scan the QR code from your computer. Broadcast the transaction.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
January 17, 2021, 07:34:41 PM
 #6

Did you try to click copy and then the paste icon and save icon (the one that looks like a memory card)?

Otherwise, I'd go here: https://coinb.in/#broadcast and paste it in there. You could use the python idle app to open its contents and extract what you need (downloaded) if its not readable at the moment.
khaled0111
Legendary
*
Offline Offline

Activity: 2520
Merit: 2853


Top Crypto Casino


View Profile WWW
January 17, 2021, 08:10:09 PM
Merited by HCP (5), hosseinimr93 (1)
 #7

Electrum on Android does not support this feature. You can't import a raw transaction saved as .txn file.

This leaves you with two options: Either save the transaction as a QR-Code and scan it using your mobile as o_e_l_e_o suggested or open the .txn file using any text editor on your mobile, copy its content then load it on Electrum by clicking the paste button. It worked for me.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
HCP
Legendary
*
Online Online

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
January 17, 2021, 09:00:12 PM
Last edit: January 17, 2021, 10:53:07 PM by HCP
 #8

You can't load .txn files into the android version of Electrum. That is only available on the desktop version.

EDIT: but, as per Khaled0111's tip above, you can load raw hex text into Android Electrum using the "paste" button on the "send" tab! Wink


If you have a signed transaction in .txn file, it should be just a plaintext file with the "Raw HEX" version of the transaction... any transaction broadcast tool/website should be able to send this out for you:

https://www.blockchain.com/btc/pushtx
https://live.blockcypher.com/btc/pushtx/
https://btc.com/tools/tx/publish
https://coinb.in/#broadcast

Note, I would advise that you use a "decode raw transaction" tool prior to broadcasting it, to double check it and make sure that all of the details (addresses and amounts etc) are correct:
https://www.blockchain.com/btc/decode-tx
https://live.blockcypher.com/btc/decodetx/
https://btc.com/tools/tx/decode
https://coinb.in/#verify

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
bomberb17 (OP)
Hero Member
*****
Offline Offline

Activity: 771
Merit: 528



View Profile
January 17, 2021, 09:06:13 PM
 #9

I see. The QR code approach is not that useful (since you would use that PC to broadcast the transaction anyway).

So I guess the only option is to broadcast it using coinb.in
HCP
Legendary
*
Online Online

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
January 17, 2021, 09:10:38 PM
Last edit: November 15, 2023, 12:20:44 AM by HCP
 #10

open the .txn file using any text editor on your mobile, copy its content then load it on Electrum by clicking the paste button. It worked for me.
That is a very nice (and somewhat undocumented) feature... thanks for sharing!




So I guess the only option is to broadcast it using coinb.in
As above, you can follow khaled0111's tip and just "copy" the raw hex using a text editor on your Android device, and then in Electrum Android, on the "Send" tab... click the "paste" icon... it'll give you a preview of the signed transaction and the option to broadcast

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18510


View Profile
January 17, 2021, 09:17:23 PM
 #11

The QR code approach is not that useful (since you would use that PC to broadcast the transaction anyway).
The QR code approach is in fact the best option.

If the computer the signed transaction is currently stored on has an internet connection, then you can just use that computer to broadcast the transaction. If the computer does not have an internet connection, then chances are it is because you are using it as airgapped cold storage and want to move transactions back and forth from a live watch only wallet. The best way to do this is with QR codes, since it removes the attack vector of malware being transferred on removable media, or your private keys being leaked via removable media.
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!