Multisig with Trezor
Version 2.4 release notes indicates that multisig wallets can be created with Trezor being one of the co-signer.
I attempted to create two new multisig wallets, one normally, with a new seed and the xpub from a Trezor. The other one with the newly generated xpub of the other co-signer, and the xpub of the Trezor. The resulting second wallet becomes "watch-only". If a transaction is first signed by the non-Trezor co-signer wallet, and then the partially signed tx is imported in the Trezor multisig wallet, no options are given to sign the tx with the Trezor.
What I am doing wrong?
you need to import the partially signed tx in your non-multisig Trezor wallet
It worked - thanks!
If I understand correctly, Trezor will never be able to initiate the first signature, it will always have to sign the transaction last?
no, you can sign in any order
I am sorry - didn't write the question correctly. Once the tx is written, Trezor could sign it first, I agree. But, using Electrum, how one could create a transaction with the multisig Trezor wallet if it is only a watch-only wallet. The transaction would have to be created with the non-multisig Trezor wallet first - correct?
the tx has to be created by a multisig wallet, not by the trezor wallet, because (for the moment) trezor wallets are not multisig.
Which lead to my first comment that Trezor (for the moment) has to sign last - not because it can't sign first, but because Electrum doesn't currently allow a Trezor wallet to create the multisig transaction.
no that's wrong. you can create it without signing it at all, then trezor signs first.
How do you sign a tx with Trezor? I have created a multisig wallet (2 of 2) in my Electrum 2.4.2 (OSX Yosemite), copy pasted my trezor xpub and everything went smooth. I sent bitcoins to my newly created 2 of 2 wallet, created a transaction which is partially signed (1/2) but that's all. I don't know how to finish signing it on trezor. Am I missing something?
@mariodian
- Create a Single sig Trezor wallet via Create New > Hardware > Trezor
- When in the Trezor wallet, load the partially signed transaction you created on your multisig account.
- You can still sign it and broadcast it fine.
2 drawbacks:
- You can't view the multisig balance from the Trezor wallet, as it is single sig.
- You can't use the transaction relay plugin.
Thank you. I followed this step and when I load partially signed transaction I get "transaction unrelated to your wallet" message.
I can hit the "sign" button but the window saying "Signing transaction..." stays there forever.
Do you have multiple accounts in your Trezor wallet? If so, which Trezor XPUB did you use to create the multisig wallet?
I don't have multiple accounts on my Trezor, but I do have "hidden wallets" on it. However I created the multisig wallet with the XPUB from the first Trezor wallet (the one that is accessible without a passphrase).
@ELM4Ever I have multiple accounts on my trezor wallet with the same problem @mariodian. How can you specify which account to look under?
Did you tried the latest Master branch? I believe the problem was fixed a few weeks ago.
I failed to realize that you must have xpub's to do this. Right now I have two normal public keys and one xpub off of the Trezor. From what i've read since then it seems impossible to create the transaction on Electrum. It also seems impossible to take a raw transaction created in another application and it sent to the Trezor for signing with Electrum
@Christewart - Assuming a 2 of 2 multisig wallet, if you create an Electrum multisig wallet with the XPUB of a Trezor as the second co-signer. Once you funded one of the multisig address, you can create the transaction in the newly created multisig wallet - click "Save" (or Sign and Save) - then open your normal Trezor hardware wallet in Electrum. From the Trezor electrum wallet - Tools --> Load Transaction --> From File --> click Sign --> then Broadcast (if you signed it first with the standard multisig wallet) or Save to get it signed by the first co-signer. It should be similar with a 2 of 3 wallet, or 3 of 3 wallet.
Note: the Trezor wallet won't show the multisig addresses starting with 3XXX - but it will be able to sign and broadcast the multisig transaction once loaded.
EDIT: I just tried creating a multisig wallet with the Trezor XPUB of Account #2 (not the main account XPUB) and it worked fine. The Trezor wallet signed the transaction, and didn't care which Trezor account XPUB was used. Note that after importing the transaction, you will see a line that says that the "transaction is unrelated to the wallet" - just ignore this message and sign.
I have the latest 2.4.4 and did the following:
- created a transaction on 2 of 3 wallet sending bitcoins to a non-multisig address
- partially signed it with the same 2 of 3 wallet
- plugged my trezor
- changed the wallet in Electrum and typed the trezor PIN
- loaded transaction from the file
- clicked sign
and nothing happens. The "sign" button stays grayed out forever. Please see the attached images.
I even tried to sign with trezor wallet with a passphrase, I got the "transaction is unrelated to the wallet" message and also nothing happened.

@mariodian: 2.4.4 is not enough. Please github to the Master branch and download the latest version. The latest version works.
You also have to do (if on Linux or OSX): sudo python setup.py install, within the downloaded Electrum directory.
Once you have done the above, the Electrum version from the python install should say 2.5!!!
Then, within the newly downloaded directory, do "python electrum"
"python electrum" is getting stuck at this error.
I have pyqt installed via brew installer on OSX. I think I will just wait for the release.
@ELM4Ever What you told me before ONLY applies if I have THREE xpubs, not just ONE xpub and TWO public keys, correct?