Bitcoin Forum
June 23, 2024, 06:45:42 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Electrum / Re: BTC stuck in Electrum multi-sig (will pay $1k reward) on: December 08, 2021, 03:22:49 PM
Hi all,

Thanks for all your help, but I was able to figure it out.

Here's what I did in case anyone has the same problem:

1. Used someone's Windows computer
2. Loaded up Electrum on there - same version 3.3.8 - with Electrum + Ledger wallet files
3. Ran Electrum as administrator (may or may not have helped)
4. Signed transactions from Electrum wallet file
5. Before signing + broadcasting with Ledger (via Electrum), I did this:

Quote
You need to modify the ledger.py file found in x:\Program Files (x86)\Electrum-RVN\electrum\plugins\ledger.
You can use notepad to modify it. Under DEVICE_IDS = [ you should see something like (0x2c97, 0x0001), # Nano-S
You need to change it to (0x2c97, 0x1015), # Nano-S
Here are the codes for the different Ledger
Ledger Nano S : Product ID 0x1015
Ledger Blue : Product ID 0x0015
Ledger Nano X : Product ID 0x4015
Hope this helps

Personally I changed the DEVICE_ID to (0x2c97, 0x1011) after (0x2c97, 0x1015) didn't work because:

Quote
You can find your product ID in Windows device manager in the details tab of your Nano. It looks like USB\VID_2C97&PID_1011
https://www.ledger.com/windows-10-update-sunsetting-u2f-tunnel-transport-for-ledger-devices#:~:text=Ledger%20Blue%20%3A%20Product%20ID%200x0011,Nano%20X%20%3A%20Product%20ID%200x4011

(Credit to this person who helped someone with an Electrum Ravencoin issue:
https://www.reddit.com/r/Ravencoin/comments/k473eb/ledger_electrumrvn_338rvn3_wont_detect_device/gnai1oi/)

6. After making the above change to the ledger.py file in the Electrum program files, Electrum detected the Ledger, and I was able to sign transactions and broadcast them!

7. I had to wait a bit for the transactions to sign + confirm (I think because I had a lot of inputs), but damn it finally worked

Again, thanks to everyone for their help. And I hope no one has to go through this

What I thought would be a nice HODL ended up being very stressful.

I think the lesson is to not overcomplicate things if you aren't a pro
2  Bitcoin / Electrum / Re: BTC stuck in Electrum multi-sig (will pay $1k reward) on: December 05, 2021, 12:25:45 PM
When I open ex) the Trezor file, I don't see any balance
Then those files are set up incorrectly. Every one of the three multi-sig files should show the same addresses and the same balance when you open them. This probably explains why you cannot currently spend your coins.

In the first instance, I would try creating a brand new Electrum wallet using your two hardware devices and your Electrum seed phrase, and without importing any master public keys/xpubs/ypubs/zpubs. This should create a new 2-of-3 multi-sig wallet which shows your coins, and which you can spend from. This is safe enough to do on your current computer since you are still protected by your hardware wallets. If doing this generates a different wallet with different addresses than your funded 2-of-3 multi-sig, then we have other issues to address before addressing any errors you are experiencing.

How long ago did you set up this multi-sig wallet? Do you remember how you did it? Have you reset either of the hardware wallets since you did it? Have you ever used a passphrase/13th word/25th word/seed extension?


"I would try creating a brand new Electrum wallet using your two hardware devices and your Electrum seed phrase, and without importing any master public keys/xpubs/ypubs/zpubs. This should create a new 2-of-3 multi-sig wallet which shows your coins, and which you can spend from. This is safe enough to do on your current computer since you are still protected by your hardware wallets. If doing this generates a different wallet with different addresses than your funded 2-of-3 multi-sig, then we have other issues to address before addressing any errors you are experiencing."

Unfortunately don't see any balance when I do this
(when I create a new Electrum 2/3 multi-sig using my Electrum seed phrase and public keys from hardware wallets, I see my coins though)

"How long ago did you set up this multi-sig wallet? Do you remember how you did it? Have you reset either of the hardware wallets since you did it? Have you ever used a passphrase/13th word/25th word/seed extension?"

I believe in early 2019

I did it following this guide
https://medium.com/@tiero/how-to-bitcoin-multi-signature-wallet-using-electrum-and-several-ledger-nano-s-225867e3b726

I am pretty sure I did the following:

Create 2/3 multi-sig wallet in Electrum
#1 = Electrum (the app)
#2 = import cosigner key from Ledger
#3 = import cosigner key from Trezor

If by resetting hardware wallets, you mean changing the seed, no I did not

"Have you ever used a passphrase/13th word/25th word/seed extension?"
Is this adding a password/extra word when entering your seed somewhere? If so, I didn't use anything like that
3  Bitcoin / Electrum / Re: BTC stuck in Electrum multi-sig (will pay $1k reward) on: December 05, 2021, 12:11:49 PM
I'm no expert but would try this,

Buy cheap android phone £50 and Install Electrum from Google play or better from Electrum.org using their method to verify the download is genuine.

From this point make sure the phone NEVER has internet until funds moved to your new hardware wallet address.

Using Anroid phone import a 2of2 multisig into Electrum with option "I already have seeds".  Use Bip39 when importing the hardware wallet seed.  The share addresses should match those on Mac when setup complete.

Now create the online transaction with your Mac computer and export the QR code so the phone can scan and sign the transaction.

Export the signed QR code from phone back to the Mac computer using scan option and transmit the transaction from your Mac computer to your new hardware wallet address.

Obviously the two sets of the seeds you used to recreate the multisig on the the phone  would have to be 2 of the 3 used when you created the Mac multisig.



I think I have a cheap never used phone before, so will give this a try
4  Bitcoin / Electrum / Re: BTC stuck in Electrum multi-sig (will pay $1k reward) on: December 05, 2021, 10:47:39 AM
Not sure if that makes sense
Not really, lol.

When you say you open the hardware wallet with Electrum, are you opening the 2-of-3 multi-sig wallet that we are discussing here? Or are you just opening a standard single sig wallet with your hardware wallet connected?

If you are opening Electrum on its own and seeing one balance, and opening Electrum with the hardware wallet attached and seeing a different balance, then you are opening two different wallets. You will never be able to sign a transaction from a multi-sig doing this. You should be opening the same wallet in both situations.

So I have different Electrum wallet files for the Electrum multi-sig, Trezor, and Ledger.

It's only when I open the Electrum multi-sig file that I see my balance that I want to access.

When I open ex) the Trezor file, I don't see any balance
5  Bitcoin / Electrum / Re: BTC stuck in Electrum multi-sig (will pay $1k reward) on: December 05, 2021, 09:34:56 AM
~
This didn't work
(Though I don't know how to do the part "create the transaction with the hardware wallet" - if you can let me know/link to a good guide on how to do that, I can give it a try)

What I meant was that you can try starting the process with the hardware wallet, rather than your Electrum wallet.  So, open your hardware wallet, create a new transaction that you want to make, sign it, and save it.  Then import the partially signed transaction into the (non-hardware) Electrum wallet to add the second signature and broadcast.

Doing things in this order has worked for me in the past, but I use a Trezor wallet.  I have never played with a multi-sig wallet using the Nano.  It sounds like you have one of each brand, so it may work with one or the other hardware wallet.

So when I open the hardware wallet with Electrum, it doesn't show the coins I have in the non-hardware Electrum wallet

For example, let's say I have 1 BTC in the non-hardware wallet.

When I open the hardware wallet, that 1 BTC doesn't show, and I don't think I can make a txn with 1 BTC from the non-hardware wallet?

Not sure if that makes sense
6  Bitcoin / Electrum / Re: BTC stuck in Electrum multi-sig (will pay $1k reward) on: December 03, 2021, 01:09:49 PM

When I try to sign a transaction with Electrum (and then sign + broadcast with Ledger Nano S), it won't work because Electrum won't detect the Ledger Nano S.

Which OS version do you have? Newer than 10.14? Does Nano S works correctly with Ledger Live?

macOS Big Sur 11.6

And yes Nano S works well with Ledger Live

Have you installed the firmware for your ledger nano s? Normally there's a driver or something you have to install to get it to work, ledger will likely have it on their website.

This link contain info on installing the ledger firmware: https://support.ledger.com/hc/en-us/articles/360002731113-Update-Ledger-Nano-S-firmware?docs=true
This is then the one for connecting the ledger to electrum (just in case you get a problem): https://support.ledger.com/hc/en-us/articles/115005161925-Set-up-and-use-Electrum?docs=true

Yep updated all firmware


When I try to sign a transaction with Electrum (and then sign + broadcast with Ledger Nano S), it won't work because Electrum won't detect the Ledger Nano S.
Why does that happen? When you made the setup, didn't it detect it?

Not sure and yes but I setup the wallet years ago. I think due to the various changes that have happened since then with Electrum/Trezor/Ledger, things are breaking


Is it possible that you selected several inputs and at least one of them is empty?



First at all - did you update firmware on both hardware wallets?


No inputs are empty

And firmware on both hardware wallets is up to date


Does the Ledger Nano S work correctly if you use Ledger Live? If not, then maybe try following the MacOS troubleshooting here: https://support.ledger.com/hc/en-us/articles/115005165269-Fix-USB-connection-issues-with-Ledger-Live?support=true

If it normally works with Ledger Live OK, did you have Ledger Live open and running when trying to use Electrum? Often, having multiple applications that are attempting to communicate with the Ledger device at the same time will cause problems. I've had issues in the past with Electrum being unable to communicate with a Nano S if Ledger Live was running. So, make sure Ledger Live is not running before you start Electrum and see if that helps with the communication process between Electrum and the Nano S.


NOTE: I have a Ledger Nano S and a Trezor ONE, and am able to use both with an Electrum 4.1.5 MultiSig "OK"... but I'm running Windows 10.

Yes the Ledger Nano S works correctly with Ledger Live

Also, I don't have Ledger Live open when running Electrum


Another method that may work is to open a watch only version of the wallet, create an unsigned transaction, sign it with the hardware wallet first, then import it into the Electrum wallet to add the second signature and broadcast.  I had a similar issue some time ago, sorry I don't remember the exact details, but signing the transaction with the hardware wallet first was effective.  Simply creating the transaction with the hardware wallet might also work.

I hope that helps, and best of luck.

This didn't work
(Though I don't know how to do the part "create the transaction with the hardware wallet" - if you can let me know/link to a good guide on how to do that, I can give it a try)


Another thought occurred to me... Do you just have one wallet file setup within Electrum... or did you create different wallet files for each hardware device using the Master Public Keys from the other device and the "normal" Electrum wallet? Huh

I was just mucking around testing some stuff... and found that the Ledger detection could be a bit "inconsistent" with multiple wallets open within Electrum... sometimes it would find it, sometimes it worked first time, sometimes it just refused to find it no matter how many times I rescanned etc.

With just a single wallet open, it was much more reliable, finding the device every time.


I tried opening just the Ledger wallet, and it still couldn't find the device



Thank you everyone for your responses so far...

I'm going to contact Ledger and Trezor support now (and post on their Reddits).

Also, I will try o_e_l_e_o 's method, but need to buy a new computer first.
(I've been meaning to buy a new one, but I guess this sped up my decision  Smiley)

However, If I buy a new computer/laptop, create a brand new 2-of-3 multi-sig wallet in Electrum, import the three seed phrases, and then sign a transaction from that single wallet, would it be ok to use that computer later on as my main computer (with Internet access)?

Or should I buy a new computer/laptop specifically to fix this wallet issue and never connect it to the Internet afterwards?

Thank you all!
7  Bitcoin / Electrum / BTC stuck in Electrum multi-sig (will pay $1k reward) on: December 02, 2021, 02:58:54 PM
Hi there,

I have some BTC stuck in an Electrum multi-sig that I setup a couple of years ago.

The wallet is set up as a 2/3 multi-sig wallet, with #1 being Electrum, #2 being Trezor One, and #3 being Ledger Nano S.

When I try to sign a transaction with Electrum (and then sign + broadcast with Ledger Nano S), it won't work because Electrum won't detect the Ledger Nano S.

When I try to sign a transaction with Electrum (and then sign + broadcast with Trezor One), it won't work because of the error "DataError: Expected input with amount".

I am on Mac and using Electrum 3.3.8.

(I tried updating to the most recent Electrum version, and it didn't work either. I think that's because according to the release notes, after 3.3.8 something changed with the Electrum partial transaction format - which I'm guessing applies to multi-sig transactions).

^ Release notes (see under Release 4.0.1 - (July 3, 2020): https://github.com/spesmilo/electrum/blob/master/RELEASE-NOTES

Please let me know if there's any other information I could provide to fix this. I would be forever grateful to whoever can help.

Also, as mentioned, I'm willing to pay $1k of BTC to whoever can help me fix this issue

Thank you!
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!