Bitcoin mac os x
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. Clicking one button would approve the transaction. Copying addresses or payment amounts would be unnecessary. This article describes a solution bitcoin mac os x can be immediately implemented by any Mac owner using any 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 unique 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 installed on your Mac, its resource identifier can be found with bitcoin mac os x 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 bitcoin mac os x 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 can 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 and exit your PlistBuddy session.
Otherwise, you can simply use the exit command to start again. Your changes will only be bitcoin mac os x 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 bitcoin mac os x system restart.
After your system restarts, find a Bitcoin URI and click on it. Clicking the link should open your favorite Bitcoin wallet with pre-populated address and amount fields. The Payment Protocol extends the utility of Bitcoin URIs bitcoin mac os x 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 straightforward, it feels distinctly hackish.
To date, few have. Certain Web wallets support adding themselves as URI handlers through bitcoin mac os x interfaces. These wallets include Coinbase and Blockchain. However, a URI handler set through a browser will only launch Web wallets, not native applications. The bitcoin mac os x described here fixes the problem, and bitcoin mac os x it possible to launch any downloadable wallet in response to clicking a Bitcoin URI.
No games, no spam. When you sign up, I'll keep you posted with emails per week. Unsubscribe at any time. 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?
Yes, send me more helpful Bitcoin stuff like this.