Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Import paper wallet ERROR

Discussion in 'Android Dash Wallet Support' started by Dusan, Jun 9, 2018.

  1. Dusan

    Dusan New Member

    Joined:
    Oct 7, 2016
    Messages:
    32
    Likes Received:
    9
    Trophy Points:
    8
    I tried to import privkey that I generated in DashCore using "dumpprivkey" to Android Dash wallet.
    I noticed that all the privkeys begin with X... on the beginning of the privkey.
    Importing that privkey ended with an errormessage.

    Then I tried some privkeys generated on https://paper.dash.org and they were imported without any problem.
    I noticed that all the privkeys generated on the website begin with 7... on the beginning of the privkey.

    Are the private keys generated in DashCore different? Is that the reason that they can not be imported to the Android Dash Wallet?
     
  2. Dusan

    Dusan New Member

    Joined:
    Oct 7, 2016
    Messages:
    32
    Likes Received:
    9
    Trophy Points:
    8
    Dash Core privkey:
    XJ294CVeAVuHLH6DjAH3SbX3fG2YXLm6smr7CFypnUXEoRrM4Zkr
    (not able to import to Android Dash Wallet)

    website privkey:
    7qeuWW5jpqCb2W2ysdmjQuATBR8LizFSZpVjrKGRxdo5Yd1wZhe
     
  3. Dusan

    Dusan New Member

    Joined:
    Oct 7, 2016
    Messages:
    32
    Likes Received:
    9
    Trophy Points:
    8
    The problem is probably not different source of the privkey,
    however it is strange that the privkeys beginnings are different.

    The problem is probably in the QR code format.
     

    Attached Files:

  4. Dusan

    Dusan New Member

    Joined:
    Oct 7, 2016
    Messages:
    32
    Likes Received:
    9
    Trophy Points:
    8
    wesite QR code (non reverse)
     

    Attached Files:

  5. Dusan

    Dusan New Member

    Joined:
    Oct 7, 2016
    Messages:
    32
    Likes Received:
    9
    Trophy Points:
    8
    The problem could be partly solved if it were possible in the Android Dash Wallet to add the privkey manually without scanning the QR code.
     
  6. strophy

    strophy Administrator
    Dash Core Team Dash Support Group Moderator

    Joined:
    Feb 13, 2016
    Messages:
    684
    Likes Received:
    385
    Trophy Points:
    133
    Hi there. My understanding is there are five distinct formats for privkeys:
    1. Private Key WIF (51 characters base58, starts with a '7')
    2. Private Key WIF Compressed (52 characters base58, starts with a 'X')
    3. Private Key Hexadecimal Format (64 characters [0-9A-F])
    4. Private Key Base64 (44 characters)
    5. Private Key BIP38 encrypted (58 characters base58, starts with '6P)'
    You can convert between these formats using the Wallet Details function in the paper wallet tool. Simply paste the privkey in any format in the field at the top, and all possible details and QR codes will appear below. The Android wallet seems to be able to sweep both formats (1) and (2) directly.
     
    #6 strophy, Jun 12, 2018
    Last edited: Jun 12, 2018
  7. Dusan

    Dusan New Member

    Joined:
    Oct 7, 2016
    Messages:
    32
    Likes Received:
    9
    Trophy Points:
    8
  8. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    319
    Likes Received:
    374
    Trophy Points:
    133
    Compressed and uncompressed private keys do not point to the same coins. They will have different public keys and different addresses.

    I was working on sweeping private keys starting with X this week and had no issues. And I created a QR code with the X address above and there was no error message.

    It is possible this was a result of an electrum server error in June that coincidentally appeared that X addresses failed while 7 addresses were successful.