Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Ledger hardware users important information & Post-Spork 15 activation issues with Ledger

Discussion in 'General Discussion' started by qwizzie, Mar 21, 2019.

  1. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    Once spork 15 activates there could be a problem for Ledger users to issue Dash transactions through Ledger Live, specifically when it involves DIP2 masternode payments (MN payments after DIP2 got activated).
    For example : you set a ledger hardwallet address as payoutaddress in your deterministic masternode configuration, there is a chance you can not use Ledger Live to send your new masternode payments out once spork 15 activates.

    https://www.dashcentral.org/p/dash-masternode-tool-continuation-3

    [​IMG]

    The Dash Masternode Tool will need to be used in that situation, untill certain fixes are implemented by Ledger. However the Dash Masternode Tool only supports the Ledger Nano S as ledger product so far.
    The seeds of Ledger products can be used on each ledger product, so if you have a Ledger Blue or a Ledger Nano X, you should (in theory) be able to import their seed into a Ledger Nano S and then use Dash Masternode Tool to send those DIP2 transactions out.

    This all does rely on you actually having a Ledger Nano S, available to use. Which is why i'm creating this post : Make sure when using a Ledger product, that you have atleast a Ledger Nano S as backup so you can use the Dash Masternode Tool when needed !!

    Link to Dash Masternode Tool : https://github.com/Bertrand256/dash-masternode-tool/releases/tag/v0.9.22
     
    #1 qwizzie, Mar 21, 2019
    Last edited: Mar 21, 2019
    • Informative Informative x 2
  2. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    Looks like we have our first report of Ledger hardware wallet issues with DIP2 UTXOs after spork 15 activation :

    This is from the Dash Central shoutbox

    [​IMG]
     
    #2 qwizzie, Apr 3, 2019
    Last edited: Apr 3, 2019
  3. akhavr

    akhavr Active Member

    Joined:
    Oct 11, 2014
    Messages:
    692
    Likes Received:
    355
    Trophy Points:
    133
    Dash Electrum also should work for Ledger.
     
    • Informative Informative x 1
  4. mpirrongelli

    mpirrongelli New Member

    Joined:
    Mar 4, 2019
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    What happened in our case (My assumption) is that we did a transaction for an X amount and went out on the 2 wallets however after that transaction we started to get errors, checking the logs from Ledger Live it says the following

    Ledger Live Logs

    Code:
    at t.catch.t (/Applications/Ledger Live.app/Contents/Resources/app.asar/dist/internals/webpack:/src/api/network.js:34:28)\\n    at <anonymous>\\n    at process._tickDomainCallback (internal/process/next_tick.js:228:7)\"}"},"level":"warn","message":"✖ CMD libcoreSignAndBroadcast error","pname":"renderer","timestamp":"2019-04-03T22:24:00.582Z","type":"cmd.ERROR"},{"data":{"code":0,"message":"{\"status\":500,\"url\":\"explorers.api.live.ledger.com/blockchain/v2/dash/transactions/send\",\"method\":\"POST\",\"name\":\"LedgerAPIErrorWithMessage\",\"message\":\"Missing inputs\",\"stack\":\"Error\\n    at CustomError (/Applications/Ledger Live.app/Contents/Resources/app.asar/node_modules/@ledgerhq/errors/lib/helpers.js:20:18)\\n  

    Like the API for ledger is not working properly since the send endpoint is giving us a 500 Error.

    Then we tried to send using the DashMasternodeTool Address and we got the following error

    Code:
    An error ocurred while sending transaction:
    
    -26: 16: mandatory-script-verify-flag-failed
    
    (singature must be zero for failed CHECK (MULTI) SIG operation)
    So please we would like to see how can you help us.

    Thank you.
     

    Attached Files:

  5. victorhromero

    victorhromero New Member

    Joined:
    Oct 23, 2017
    Messages:
    13
    Likes Received:
    4
    Trophy Points:
    3
    Thanks for the suggestion, it works!
    hope you guys can fix ASAP ledger live and DMT, count with me for any proposal
     
  6. Bertrand256

    Bertrand256 Active Member

    Joined:
    Feb 13, 2017
    Messages:
    213
    Likes Received:
    260
    Trophy Points:
    123
    Dash Address:
    XwZzf7yqYoUBnDFqE7r3zuNmpwKo1CYLMC
    • Like Like x 3
  7. victorhromero

    victorhromero New Member

    Joined:
    Oct 23, 2017
    Messages:
    13
    Likes Received:
    4
    Trophy Points:
    3
  8. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    • Like Like x 1
  9. victorhromero

    victorhromero New Member

    Joined:
    Oct 23, 2017
    Messages:
    13
    Likes Received:
    4
    Trophy Points:
    3
  10. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    I got a DIP2 masternode payment out from my Ledger Blue using the Dash Masternode Tool, which means that Ledger Blue is also directly compatible with Dash Masternode Tool.
    No need for a workaround with a Ledger Nano S it seems, when using Dash Masternode Tool (at least not when sending DIP2 transactions out).

    And i can confirm that my Ledger Blue can not send DIP2 masternode payments out directly through Ledger Live (at the end you get a message about missing inputs).
    I waited 105 confirmations before i tried to send it out directly through Ledger Live.

    Edit : this is a bit off topic but it would be nice if Masternode Dash Tool could implement some kind of addressbook in the Transfer Funds/Wallet, where we can add new addresses (together with a name field), select an address and possibly delete an address.
     
    #10 qwizzie, Apr 6, 2019
    Last edited: Apr 8, 2019
    • Like Like x 1
  11. victorhromero

    victorhromero New Member

    Joined:
    Oct 23, 2017
    Messages:
    13
    Likes Received:
    4
    Trophy Points:
    3
    after HOtfix5 DMT works perfect.
    ledger live keep giving the same issue.

    Thanks for the updates.
     
  12. Bertrand256

    Bertrand256 Active Member

    Joined:
    Feb 13, 2017
    Messages:
    213
    Likes Received:
    260
    Trophy Points:
    123
    Dash Address:
    XwZzf7yqYoUBnDFqE7r3zuNmpwKo1CYLMC
    That's a good idea. I have been planning this for some time, but doing it in a safe way requires some effort/time - the address book must be encrypted so that malware can not spoof addresses.
     
    #12 Bertrand256, Apr 9, 2019
    Last edited: Apr 9, 2019
    • Like Like x 1
  13. victorhromero

    victorhromero New Member

    Joined:
    Oct 23, 2017
    Messages:
    13
    Likes Received:
    4
    Trophy Points:
    3
    you can check the address book function in mercury cash and let me know if we can help, im not the it guy, but for sure our team will be willing to help
     
  14. Bertrand256

    Bertrand256 Active Member

    Joined:
    Feb 13, 2017
    Messages:
    213
    Likes Received:
    260
    Trophy Points:
    123
    Dash Address:
    XwZzf7yqYoUBnDFqE7r3zuNmpwKo1CYLMC
    Thanks. I'll look into it.
     
  15. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    Is there a strategy plan right now with regards to getting Ledger hardware wallets directly compatible again with DIP2 transactions ?
    Is DCG in contact with Ledger ? Or are you in contact with Ledger ? Or should we (the users) contact Ledger directly ?

    Dont get me wrong, i love your Dash Masternode Tool and i will continue supporting it. But at some point i would like to be able to use Ledger Live
    (PC and Phone app), when it comes to creating Dash transactions from my Ledger wallet and have Dash Masternode Tool as backup tool.
     
    #15 qwizzie, Apr 11, 2019
    Last edited: Apr 11, 2019
  16. Bertrand256

    Bertrand256 Active Member

    Joined:
    Feb 13, 2017
    Messages:
    213
    Likes Received:
    260
    Trophy Points:
    123
    Dash Address:
    XwZzf7yqYoUBnDFqE7r3zuNmpwKo1CYLMC
    As for the "normal" financial transactions related to DIP2 inputs, the Ledger devices are fortunately supporting them, although after analyzing the firmware code, I have the impression that it is a bit accidental. The only thing Ledger company needs to do now is to fix their client app (Ledger Live). I'm not in contact with Ledger in this matter - tbh, I don't use Ledger wallet to control mainnet collateral, so I can't reproduce the problem to use it as an aid in preparing description for the Ledger support. To my knowledge, DCG isn't in contact with them as well, although I may be wrong. I think, that this task can (and should) be handled by the community members who use Ledger wallets - the more people will send a request regarding problems with Ledger Live, the faster they will fix it.

    I fully understand and I also prefer if for the daily financial operations are used the official client apps.
     
    • Informative Informative x 1
  17. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    • Like Like x 1
    • Informative Informative x 1
  18. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,810
    Likes Received:
    6,689
    Trophy Points:
    1,283
    i pinged them on their slack :rolleyes:
     
    • Like Like x 2
  19. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,810
    Likes Received:
    6,689
    Trophy Points:
    1,283
    [​IMG]
     
    • Like Like x 1
    • Winner Winner x 1
  20. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    Great news, i will check this when receiving a masternode payment again.
    Thank you.
     
    • Like Like x 1
  21. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    Not fixed unfortunetely :

    [​IMG]

    Could you please give them another ping on Slack with this info ... i will update the reddit thread.
    I can tell Ledger was working on it as i got a little bit further with the transaction process itself, but in the end Ledger Live gives above failure message
    (which again shows "Missing inputs").

    Thank you.
     
    #21 qwizzie, Apr 14, 2019
    Last edited: Apr 14, 2019
    • Informative Informative x 1
  22. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,810
    Likes Received:
    6,689
    Trophy Points:
    1,283
    update:
    all looks fine on their side, i send them some dust to double check
    i keep thbis thread posted
     
  23. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,810
    Likes Received:
    6,689
    Trophy Points:
    1,283
    @qwizzie
    still happening or ok now ?
     
  24. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    Still happening, exact same failure message :

    I wonder if the Ledger wallet automatically adding new receiving addresses after each incoming transaction has something to do with it,
    maybe the Ledger wallet is looking for these inputs at the wrong receiving address ?

    Also as extra info : i deleted both the Bitcoin app and Dash and reinstalled them both just to make sure i had the latest version before trying
    to make a Dash transaction through Ledger Live.

    Additional info in case Ledger needs this :

    Ledger Blue
    Firmware version 2.1.1

    Ledger Live pc version 1.7.0

    Bitcoin app version 1.3.8
    Dash app version 1.3.8
     
    #24 qwizzie, Apr 16, 2019
    Last edited: Apr 17, 2019
    • Informative Informative x 1
  25. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,810
    Likes Received:
    6,689
    Trophy Points:
    1,283
  26. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    I'm not talking about some dust transactions here, i'm talking about new incoming masternode payments.
    See new reddit thread here, reporting the "missing inputs" problem a day ago : https://www.reddit.com/r/ledgerwallet/comments/bgn15s/problem_sending_funds/

    Please make sure Ledger is fully aware of this (still not solved) problem.
    The problem is very specificly related to the Special Transaction Type that got introduced
    by one of our DIPS. You will not notice it if you just sent some small amount.
    You will notice it when you receive special transaction (DIP2) masternode payments and try to sent those out.
    I think it safe to say that DIP2 broke Ledger Live in some way, which (unfortunetely) needs to be fixed by Ledger.
    I certainly hope future DIPS will get thoroughly tested on hardware wallets, so we dont break compatability with our hardware wallets like we have now.

    To fully understand the issue, please have Dash Core Team check with Bertrand256.
    UdjinM6 has some knowledge about this issue as he was also working on a library fix for Trezor
    with regards to DIP2 incompatibility with Trezor web interface (which is basicly the same problem
    we seem to be having with Ledger Live here)

    At this point i feel like Ledger and Dash are not on one line about this problem and Ledger
    is failing to clearly understand our problem.
     
    #26 qwizzie, Apr 25, 2019
    Last edited: Apr 25, 2019
    • Informative Informative x 1
  27. qwizzie

    qwizzie Well-known Member

    Joined:
    Aug 6, 2014
    Messages:
    1,408
    Likes Received:
    693
    Trophy Points:
    183
    To tungfa,

    Maybe Ledger is helped with the log of mpirrongelli (post date 4th of april) :

    Code:
    at t.catch.t (/Applications/Ledger Live.app/Contents/Resources/app.asar/dist/internals/webpack:/src/api/network.js:34:28)\\n    at <anonymous>\\n    at process._tickDomainCallback (internal/process/next_tick.js:228:7)\"}"},"level":"warn","message":"✖ CMD libcoreSignAndBroadcast error","pname":"renderer","timestamp":"2019-04-03T22:24:00.582Z","type":"cmd.ERROR"},{"data":{"code":0,"message":"{\"status\":500,\"url\":\"explorers.api.live.ledger.com/blockchain/v2/dash/transactions/send\",\"method\":\"POST\",\"name\":\"LedgerAPIErrorWithMessage\",\"message\":\"Missing inputs\",\"stack\":\"Error\\n    at CustomError (/Applications/Ledger Live.app/Contents/Resources/app.asar/node_modules/@ledgerhq/errors/lib/helpers.js:20:18)\\n  
    He concluded :

     
    #27 qwizzie, Apr 26, 2019
    Last edited: Apr 26, 2019
  28. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,810
    Likes Received:
    6,689
    Trophy Points:
    1,283
    bertrand had some github links for me and i send them on
    ty
     
    • Like Like x 1
  29. AjM

    AjM Well-known Member
    Foundation Member

    Joined:
    Jun 23, 2014
    Messages:
    1,323
    Likes Received:
    568
    Trophy Points:
    283
    Aaand i have also this 'missing inputs' problem now, cant send any Dash out of my ledger.
    Reported to Ledger about this and sent a screenshot and logs.
     
  30. Carpet Cleaning Brisbane

    Joined:
    May 22, 2019
    Messages:
    3
    Likes Received:
    2
    Trophy Points:
    1
    Great news, i will check this when receiving a masternode payment again.

    Regards,
    Carpet Cleaning Brisbane
     

Share This Page