Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

Dash link protocol handler (for Firefox)

Discussion in 'Development Tech Discussion' started by cibrigue, Jul 23, 2019.

  1. cibrigue

    cibrigue New Member

    Joined:
    Mar 20, 2017
    Messages:
    25
    Likes Received:
    12
    Trophy Points:
    3
    Hey guys,

    I'm using Dash Core v0.14.0.1 and Firefox 68.0.1 on Windows 10. One of the payment processors I use for my DASH payments is CoinPayments.net. When I'm ready to pay the amount it generates a special link for me in the following format:
    dash:<address>?amount=<amount>

    Unfortunately Firefox and/or the Dash Core client can't understand this, so I need to paste the data manually every time.

    If I click on a bitcoin link (eg. bitcoin:3GVMEdHg1s27DJBF1tpgM6hY1X8jhkCxSX?amount=0.00499000), it starts up the Bitcoin Core client and prefills all the fields.

    If I open the "about:config" page in my Firefox, I can confirm that there is no protocol-handler listed for Dash at the moment (but strangely there is no handler for bitcoin either, so it might be not the right place to look for it).

    There is a fairly good documentation about protocol handlers in the Firefox docs:
    http://kb.mozillazine.org/Register_protocol

    And there are other who did this before:
    https://stackoverflow.com/questions/22729686/set-custom-protocol-handler-in-firefox

    Could you guys look into it, and if it's not a big trouble, implement it? It would make the payments more convenient.

    Thanks!
     
    #1 cibrigue, Jul 23, 2019
    Last edited: Jul 23, 2019
    • Like Like x 1