Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: snappal on April 09, 2018, 06:07:49 AM



Title: Help me figure out this Multisig issue Please :)
Post by: snappal on April 09, 2018, 06:07:49 AM
Hello,
Hoping you guys could help me figure what I did. New to bitcoin and still learning.

I sent funds from a electrum 2fa wallet to a multisig address I generated from a public key of my trezor wallet. How do I release funds?

This is the transaction:
54e6e32039c81424f14a2b24a11c7de8ae996ff9eaa1d3f3fa621acc8da72b55

A step by step guide would be great. Thank you in advance.  :)


Title: Re: Help me figure out this Multisig issue Please :)
Post by: Sellingaccs on April 09, 2018, 06:16:06 AM
Would help alot if you told us to which site you made the payment to, or it was only generated on trezor by your own keys?
Also did you create a multisig transaction with how many xOfx signatures? You need to sign transaction with required amount of keys, so more information totally is needed.

I'd like to see some example screenshots of which steps you did complete to create such a transaction.


Title: Re: Help me figure out this Multisig issue Please :)
Post by: Xynerise on April 09, 2018, 06:53:55 AM
Hello,
Hoping you guys could help me figure what I did. New to bitcoin and still learning.

I sent funds from a electrum 2fa wallet to a multisig address I generated from a public key of my trezor wallet. How do I release funds?
Multisig (P2SH) addresses start with '3'
This address,
Code:
1JSQznz1WShXBR1nbZ42ngxiiPNxpgSRZD
as you can see, was the recepient of the funds.
It starts with "1" so it is not -- and can never be -- a multisig address


Title: Re: Help me figure out this Multisig issue Please :)
Post by: LoyceV on April 09, 2018, 07:45:55 AM
~ to a multisig address I generated from a public key of my trezor wallet.
Can you start by explaining exactly what you did to generate this address?
Depending on what you did, it could be the funds are just on your Trezor now.


Title: Re: Help me figure out this Multisig issue Please :)
Post by: snappal on April 09, 2018, 08:01:29 AM
Hello, thanks for responding.

I took a public key from an address from my trezor (on electrum, right click address> details.)

The site I vend on asked for a public key of an address for multisig. I enter the public key and it generated that address. I then sent funds to that address. I believe the funds are on the trezor as well, It is just not showing in my electrum. How do I access/show funds on trezor/electrum from that address?


Title: Re: Help me figure out this Multisig issue Please :)
Post by: LoyceV on April 09, 2018, 08:26:54 AM
The site I vend on asked for a public key of an address for multisig.
Which site? In general, you shouldn't trust any site to generate addresses for you!

Quote
I enter the public key and it generated that address. I then sent funds to that address.
It seems you sent your coins to an address generated by that site. In that case, they control your funds, not you.

If you don't mind me asking: what were you trying to accomplish? And why were you trying to use multisig if you own a hardware wallet?

Quote
I believe the funds are on the trezor as well, It is just not showing in my electrum. How do I access/show funds on trezor/electrum from that address?
If you send it from Electrum, it's gone there.
I don't have a Trezor, but I assume your funds would just show up if they're there. However, I suspect this address was not the address generated by your Trezor, but by a third party site. Chances are you got scammed. Which site was it?


Title: Re: Help me figure out this Multisig issue Please :)
Post by: snappal on April 09, 2018, 10:59:42 AM
Normally, I use a legacy address for multisig. I would enter the legacy address public key and it would spit back the same receive address. The platform would then create a transaction with that info.


This time I used a segwit address from my trezor for the multisig. This time it came back as a legacy address. A legacy address derived from a segwit public key.

 I wanted to test and see if I sent funds to the legacy address that was derived from the segwit public key, would it be connected. The answer was no, lol.

Where I went wrong was using a segwit address instead of legacy address originally. Then I sent funds to test if the legacy address is tied to the original segwit address.

Any way I can access these funds in the address? I tried creating a legacy wallet with my trezor seed, but no transactions appeared. Is there a way to manually enter? Or am I completely off in my thinking. Does any of this make sense? It's late/early.

Thanks for reading


Title: Re: Help me figure out this Multisig issue Please :)
Post by: bob123 on April 09, 2018, 11:12:36 AM
Normally, I use a legacy address for multisig. I would enter the legacy address public key and it would spit back the same receive address. The platform would then create a transaction with that info.
This time I used a segwit address from my trezor for the multisig. This time it came back as a legacy address. A legacy address derived from a segwit public key.

Would you mind sharing the website you are talking about?
And what are you actually trying to accomplish?



I wanted to test and see if I sent funds to the legacy address that was derived from the segwit public key, would it be connected. The answer was no, lol.

Of course not.
Your hardware wallet is only monitoring the address it has generated.
Not any other addresses.



Any way I can access these funds in the address? I tried creating a legacy wallet with my trezor seed, but no transactions appeared. Is there a way to manually enter? Or am I completely off in my thinking. Does any of this make sense? It's late/early.

Probably not.
But this depends on how the address got created (from the suspicious(?) website).
A few more information about the site would definetely help to figure out what they exactly do.


Title: Re: Help me figure out this Multisig issue Please :)
Post by: HCP on April 10, 2018, 05:48:54 AM
It is all pretty simple really. Basically, in summary:

snappal has created a "legacy" address from the "public key" that matches a ("SegWit") private key generated by his Trezor (using the "SegWit" derivation path) and then sent coins to this "legacy" address.


I wanted to test and see if I sent funds to the legacy address that was derived from the segwit public key, would it be connected. The answer was no, lol.
Your plan fell apart because "Legacy" and "SegWit" addresses on the Trezor (and other hardware wallets) use different derivation paths... even though they are all derived from the same seed.

Legacy = m/44'/0'/0'
SegWit = m/49'/0'/0'

Any way I can access these funds in the address? I tried creating a legacy wallet with my trezor seed, but no transactions appeared. Is there a way to manually enter? Or am I completely off in my thinking. Does any of this make sense? It's late/early.
What this now means, is that to find your funds, you need to recreate a "Legacy" address, from private keys that are derived from the m/49'/0'/0' path... This *should* be doable, but I'm not sure if you can do it without possibly compromising your Trezor seed mnemonic (and therefore the entire contents of you Trezor).

Unfortunately, Electrum will automagically create "SegWit" (P2SH-P2WPKH) addresses if you attempt to use the m/49'/0'/0' derivation path... and Trezor doesn't allow custom derivation paths... and obviously, the "Legacy" wallet uses the m/44'/0'/0' path :-\

The only way I know of, is to utilise Ian Coleman's Mnemonic Code Converter (https://iancoleman.io/bip39/)

- Input your seed mnemonic
- Click "BIP32" tab
- Enter "Custom Derivation Path" of: m/49'/0'/0'/0
- Find the "legacy" address that you've sent coins to
- Import the matching "private" key into a new Electrum ("File -> New\Restore -> Import Bitcoin Address or Private Keys") or "sweep" the private key to the address of your choice.

You could also use the "BIP49" tab, and find the public key you used and matching private key... but I find addresses easier to match ;)

WARNING: Doing this could potentially expose your Trezor seed mnemonic... you should take appropriate precautions prior to entering your seed mnemonic in Ian Coleman's Mnemonic Code Converter

(ie. create new seed, move all coins to wallets controlled by new seed etc)



Title: Re: Help me figure out this Multisig issue Please :)
Post by: snappal on April 10, 2018, 05:01:35 PM
Thank you for the response.

I will take the necessary precautions and try this out. Thanks for educating me.  :)


Title: Re: Help me figure out this Multisig issue Please :)
Post by: Provably Fair Directory on April 17, 2018, 11:31:59 AM
Did you try reaching out to Trezor support? May be they can help you. Here is a support link just in case it could be of your help. https://trezor.io/support/