Bitcoin Forum
June 29, 2024, 11:26:24 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Solved]Electrum on Android: How to create a SIGNED raw transaction please?  (Read 254 times)
Saint-loup (OP)
Legendary
*
Offline Offline

Activity: 2660
Merit: 2399



View Profile
September 22, 2019, 01:03:08 PM
Last edit: September 24, 2019, 06:42:19 AM by Saint-loup
 #1

Hello
I'm able to create an unsigned raw transaction with Android Electrum, but I don't find how to create a signed raw transaction  Undecided
Does anyone know how to do that if it's possible?
Thank you very much.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
September 22, 2019, 05:22:44 PM
Merited by BitMaxz (1)
 #2

I'm able to create an unsigned raw transaction with Android Electrum, but I don't find how to create a signed raw transaction Does anyone know how to do that if it's possible?

Prepare an unsigned transaction on your computer and display it as a QR code or create a watch-only wallet using your Master Public Key (click on the wallet name to obtain it), prepare the transaction and copy it by clicking on the QR code icon and selecting 'Copy to clipboard'. Scan the QR code by tapping on the camera icon in the 'Send' tab or paste the unsigned transaction. Review the transaction and select 'Options -> Sign'. Once you have signed the transaction, tap on the QR icon in the middle and then press 'Copy to clipboard'.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


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


View Profile
September 22, 2019, 05:50:30 PM
 #3

I'm able to create an unsigned raw transaction with Android Electrum, but I don't find how to create a signed raw transaction  Undecided

That's an interesting question, I'm not sure you can but I'll have a bit of a test.

I know you can do it by making two 1 of 2 multisig wallets but I'm not sure if youc an do it with a regular one.
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
September 22, 2019, 05:58:42 PM
Merited by Saint-loup (1)
 #4

That's an interesting question, I'm not sure you can but I'll have a bit of a test.

Yes, you can. Read the post above for two possible options. It isn't as easy as if you were doing it on a desktop version of Electrum.
Saint-loup (OP)
Legendary
*
Offline Offline

Activity: 2660
Merit: 2399



View Profile
September 22, 2019, 08:11:26 PM
 #5

I'm able to create an unsigned raw transaction with Android Electrum, but I don't find how to create a signed raw transaction Does anyone know how to do that if it's possible?
Prepare an unsigned transaction on your computer and display it as a QR code or create a watch-only wallet using your Master Public Key (click on the wallet name to obtain it), prepare the transaction and copy it by clicking on the QR code icon and selecting 'Copy to clipboard'. Scan the QR code by tapping on the camera icon in the 'Send' tab or paste the unsigned transaction. Review the transaction and select 'Options -> Sign'. Once you have signed the transaction, tap on the QR icon in the middle and then press 'Copy to clipboard'.
Hello BitCryptex
Thank you for your answer.
I don't want to use a computer, I would like a solution working with only a smartphone.
So when(on which screen) I must "paste" the unsigned transaction please?

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
September 22, 2019, 08:14:44 PM
 #6

So when(on which screen) I must "paste" it please?

Once you prepare your transaction using the watch-only wallet and copy it, switch to the default wallet. In the 'Send' tab, there are a few buttons. 'Paste' is directly above 'Pay'.
BitMaxz
Legendary
*
Offline Offline

Activity: 3304
Merit: 3037


BTC price road to $80k


View Profile WWW
September 22, 2019, 08:25:30 PM
 #7

@BitCryptex

It seems that it only works on Electrum to Electrum wallet I tried the QR code generated from coinb.in as unsign raw transaction and use their qr code but when I scanned it with Electrum in mobile shows unable to decode.

But the Electrum PC to Electrum mobile works fine to me after you sign it on your mobile you can copy the raw transaction and save it as txt then transfer it to PC to broadcast.


So I think there is no difference in signing transaction in two mobile phones if the watch-only wallet can show a QR code after you make unsigned transaction you can scan it from another mobile phone where you can sign the transaction.
It is just the same as the method by BitCryptex. It is likely the same as an airgap wallet. You can get the raw transaction under QR code and paste it to your another wallet in the same device it works to me.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
September 22, 2019, 08:30:05 PM
 #8

It seems that it only works on Electrum to Electrum wallet I tried the QR code generated from coinb.in as unsign raw transaction and use their qr code but when I scanned it with Electrum in mobile shows unable to decode.

That's because Electrum uses base43 in order to make QR codes smaller; it looks like the client also expects this kind of encoded data.

So I think there is no difference in signing transaction in two mobile phones if the watch-only wallet can show a QR code after you make unsigned transaction you can scan it from another mobile phone where you can sign the transaction.

There is no need to use two separate phones. Electrum on Android allows users to switch between wallets (tap on the three dots in the top-right corner). When you open a QR code, you can also copy the text to clipboard.
Saint-loup (OP)
Legendary
*
Offline Offline

Activity: 2660
Merit: 2399



View Profile
September 22, 2019, 09:36:14 PM
 #9

It seems that it only works on Electrum to Electrum wallet I tried the QR code generated from coinb.in as unsign raw transaction and use their qr code but when I scanned it with Electrum in mobile shows unable to decode.

That's because Electrum uses base43 in order to make QR codes smaller; it looks like the client also expects this kind of encoded data.

So I think there is no difference in signing transaction in two mobile phones if the watch-only wallet can show a QR code after you make unsigned transaction you can scan it from another mobile phone where you can sign the transaction.

There is no need to use two separate phones. Electrum on Android allows users to switch between wallets (tap on the three dots in the top-right corner). When you open a QR code, you can also copy the text to clipboard.
Thank you very much BitCryptex, I can confirm it worked very well with only one smartphone.
You just need a watch only wallet to create an unsigned raw tx and a normal one to sign the unsigned raw tx pasted.

But I have another question : is there a website that can decode this Qr code in text? So the "receiver" who took a picture of my Qr code can easily decode it and broadcast it without installing Electrum...
Or I must send to him the text of the raw tx by SMS?

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
TryNinja
Legendary
*
Offline Offline

Activity: 2884
Merit: 7129


Top Crypto Casino


View Profile WWW
September 22, 2019, 09:39:21 PM
 #10

But I have another question : is there a website that can decode this Qr code in text? So the "receiver" who took a picture of my Qr code can easily decode it and broadcast it without installing Electrum...
Yes.

This one for example: https://zxing.org/w/decode.jspx

And if the QR contains the already signed tx and you only need to broadcast it, then there is no security risk on using a third-party website like this one.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3132



View Profile
September 22, 2019, 09:40:14 PM
 #11

But I have another question : is there a website that can decode this Qr code in text? So the "receiver" who took a picture of my Qr code can easily decode it and broadcast it without installing Electrum...

You can either send the QR code and ask the other person to decode its contents using this website or simply send the copied signed transaction to them ('Copy to clipboard' should be available once you open the QR code). Electrum encodes the (un)signed transaction only if you select the QR code.
Saint-loup (OP)
Legendary
*
Offline Offline

Activity: 2660
Merit: 2399



View Profile
September 22, 2019, 10:05:39 PM
 #12

But I have another question : is there a website that can decode this Qr code in text? So the "receiver" who took a picture of my Qr code can easily decode it and broadcast it without installing Electrum...
Yes.

This one for example: https://zxing.org/w/decode.jspx

And if the QR contains the already signed tx and you only need to broadcast it, then there is no security risk on using a third-party website like this one.
Yes I know this website and I already tried it but I get a weird string which is not even in base64, I don't know in which format it is and if I can convert it in hexadecimal format.
I get this kind of string :
64XF-8+PM7IUWCPS$XA3$S0SGDXXHYH36DQN/KL3FX.Q.H$HE0N.OA.-K50CDLBO2.40/HZEM-L3*EX58 ....

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
TryNinja
Legendary
*
Offline Offline

Activity: 2884
Merit: 7129


Top Crypto Casino


View Profile WWW
September 22, 2019, 10:08:22 PM
Merited by Saint-loup (1)
 #13

Yes I know this website and I already tried it but I get a weird string which is not even in base64, I don't know in which format it is and if I can convert it in hexadecimal format
Did you try getting the weird string and putting it in the website BitCryptex linked above?

http://electrum43.org/

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Saint-loup (OP)
Legendary
*
Offline Offline

Activity: 2660
Merit: 2399



View Profile
September 22, 2019, 10:25:42 PM
 #14

Yes I know this website and I already tried it but I get a weird string which is not even in base64, I don't know in which format it is and if I can convert it in hexadecimal format
Did you try getting the weird string and putting it in the website BitCryptex linked above?

http://electrum43.org/
Yes you're right it worked fine! I got an hexadecimal string and I've been able to broadcast it!
Thank you very much TryNinja and BitCryptex

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
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!