Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p2sh error when sweeping private keys into BTCP electrum wallet. #13

Closed
ericdzen opened this issue Mar 4, 2018 · 11 comments
Closed

p2sh error when sweeping private keys into BTCP electrum wallet. #13

ericdzen opened this issue Mar 4, 2018 · 11 comments

Comments

@ericdzen
Copy link

ericdzen commented Mar 4, 2018

Describe the issue

When I try to sweep my private keys over to the BTCP wallet I am getting a p2sh error.

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Export private keys from ZCL wallet.
  2. Install BTCP electrum wallet
  3. Hover the Wallets menu options, go down to private keys, and select the sweep option.
  4. Paste all private keys into the text box and press next.
  5. p2sh error displays in a modal.
    *Note - During the snapshot I was using a 2fa ZCL wallet and switched that wallet to a multi-signature wallet post fork.

Expected behaviour

Private keys can be swept into the BTCP wallet without running into a p2sh error.

Actual behaviour + errors

p2sh error occurs when trying to sweeps keys into BTCP electrum wallet.

The version of Bitcoin Private you were using:

Version P!1.0.0

Machine specs:

  • OS name + version: Windows 10 Home (Version: 1709)
  • CPU: 2.4GHz
  • RAM: 6.00 GB
@ch4ot1c
Copy link

ch4ot1c commented Mar 4, 2018

Is this wallet zcl multisig (from t3)? Try New->Multi-Sig Wallet for setup.

@ericdzen
Copy link
Author

ericdzen commented Mar 4, 2018

Yeah, the ZCL wallet is multisig with t3 addresses. I followed these steps to convert the 2fa ZCL wallet into a multisig: z-classic#44. When I tried to create a BTCP multisig wallet from my ZCL seed it was wouldn't accept it as it was still labeled as a 2fa seed and the next button was grayed out.

This did however give me an idea. I followed the same steps in Zclassic issue 44 I linked above and was able to use my ZCL wallet xprv and xpub addresses while creating a BTCP multisig to transfer my Zclassic private addresses.

Resolution to issue

  1. Navigate to C:/Users/YOUR-NAME/AppData/Roaming/Electrum-zcl/wallets. Open your Zclassic mutisig wallet file with Notepad (This wallet should have been setup with “From 3 co-signers” on the first slider. Select “Require 2 signatures").
  2. You will need to gather the 2 private keys and one public key. To find this easily, press “CTRL+F” and search for “xprv”. Copy the 2 “xprv” values as well as the last “xpub” value. You will need these in a later step.
  3. Create a new BTCP “Multi-signature wallet”. Select “From 3 co-signers” on the first slider. Select “Require 2 signatures” on the second slider.
  4. To add the first co-signer, click “Use public or private keys”. Enter the first xprv key in this box.
  5. Add the second co-signer via a private key also.
  6. Add the third co-signer with the public key. Complete the set-up by adding a password if desired.
  7. Your BTCP should now be available in this new BTCP multisig wallet.

@AH1111
Copy link

AH1111 commented Mar 4, 2018

The wallet we are having issues with is the electrum BTC wallet

@AH1111
Copy link

AH1111 commented Mar 4, 2018

We have already done the electrum zcl wallet, and everything worked fine.

@cezarvpaes
Copy link

I have 2fa wallet type zcl, cant import the private keys, same error, cant find xpub and xprv on wallet file.

@ericdzen
Copy link
Author

ericdzen commented Mar 4, 2018

If your wallet is password protected or if 2fa is enabled then the xpub and xprv values won't show up in wallet file. Try the steps below to get the xpub and xprv values.

  1. Create a new standard wallet and restore the 2FA wallet using your "seed" codes. DO NOT password protect this wallet.
  2. Disable the 2FA feature when presented with the option.
  3. Navigate to C:/Users/YOUR-NAME/AppData/Roaming/Electrum-zcl/wallets. Open the new standard wallet file with Notepad.

@AH1111
Copy link

AH1111 commented Mar 4, 2018

OK, we did exactly as above, we restored the Electrum BTC wallet using the seed, we diasbled 2FA and did not password protect it. When we go to the address to get the private key it is still the same key and format p2sh.....we still get the same error when trying to sweep it into the btcp wallet. I really appreciate your help but are we doing something wrong again....I thought we did everything as you said

@Ayms
Copy link

Ayms commented Mar 4, 2018

@AH1111
Copy link

AH1111 commented Mar 4, 2018 via email

@ch4ot1c
Copy link

ch4ot1c commented Mar 5, 2018

#11

@ch4ot1c ch4ot1c closed this as completed Mar 5, 2018
@Horeas
Copy link

Horeas commented Apr 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants