0.8.4 Release notes
4 stars based on
53 reviews
In principle, this is already supported with Bitcoin URIs. Clicking a Bitcoin URI should launch a preferred wallet, pre-populating a payment transaction with data pulled from the link. Bitcoin handler qt bitcoin one button would approve the transaction. Copying addresses or payment amounts would be unnecessary. This article describes a solution that can be immediately implemented by any Mac owner using bitcoin handler qt bitcoin downloadable wallet. If that idea makes you uncomfortable, you may want to get the advice of someone you trust with Mac technical questions.
Terminal is an application for communicating with a Mac, not through the usual graphics and gestures, but through text commands. This pulls up a system-wide search box. Clicking this option launches the terminal. Your terminal will look somewhat different from mine. Commands are entered after the prompt. Some Mac applications such as Web browsers can launch other applications. Each application defines a bitcoin handler qt bitcoin resource identifier for this purpose.
Your first goal is to find the resource identifier that will be used by browsers and applications to launch your wallet when Bitcoin URIs are clicked. For example, if Bitcoin Core is bitcoin handler qt bitcoin on your Mac, its resource identifier can be found with a short bit of AppleScript:.
This command should return org. Begin by opening the Launch Services preferences file. PlistBuddy is an interactive program that supports editing preferences files and then saving the changes. First find out if any handlers have been previously installed by using the print command:. This should display a listing of all LSHandlers.
For example, here are two of the handlers installed on my system:. Each entry is composed of two properties: Scan the output of the print command to find an entry in which the scheme reads bitcoin. If you find one, hold tight. We bitcoin handler qt bitcoin issue a series of commands to PlistBuddy to create a new handler that will launch Electrum in response to clicking a bitcoin: If so, save bitcoin handler qt bitcoin exit your PlistBuddy session.
Otherwise, you can simply use the exit command to start again. Your changes will only be recorded if you use the save command. Find the zero-based index of the entry. You can verify that the handler was deleted with the print command. Continue deleting any additional bitcoin handlers, printing the list each time afterwards, until none remain. In my experience, the only way to clear the settings cache is to perform a system restart. After your system restarts, find a Bitcoin URI and click on it.
Clicking the bitcoin handler qt bitcoin should open your favorite Bitcoin wallet with pre-populated address and amount bitcoin handler qt bitcoin. The Payment Protocol extends the utility of Bitcoin URIs with useful features including refund addresses, multiple outputs, and payer authentication.
Although the Payment Protocol has not been implemented by many wallets yet, Bitcoin Core does support it. Payment Protocol support can be tested through merchants using Coinbase and BitPay. Although the procedure described here is bitcoin handler qt bitcoin, it feels distinctly hackish.
To date, few have. Certain Web wallets support adding themselves as URI handlers through browser-specific interfaces. These wallets include Coinbase and Blockchain. However, a URI handler set through a browser will only launch Web wallets, not native applications. The procedure described here fixes the problem, and makes it possible to launch any downloadable wallet in response to clicking a Bitcoin URI.
For example, if Bitcoin Core is installed on your Mac, its resource identifier can be found with a short bit of AppleScript: First find out if any handlers have been previously installed by using the print command: For example, here are two of the handlers installed on my system: Is This Really Necessary? Was this post useful? Get my newsletter direct to your inbox for free. No spam, just great content like this. Unsubscribe at any time.