Bitcoin in the Browser: Google, Apple and More Adopting Crypto-Ready API

With the help of Google, Facebook, Microsoft and Apple, the W3C is deploying a browser API that could extend cryptocurrency's payments potential.

AccessTimeIconSep 16, 2017 at 1:30 p.m. UTC
Updated Sep 13, 2021 at 6:56 a.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now

Developers at some of the top tech companies have created a browser API that could soon make it easier to buy goods and services online with cryptocurrency.

The work, started by the World Wide Web Consortium (W3C) with the help of Microsoft, Google, Facebook, Apple and Mozilla, is a tangible step forward for a currency-agnostic web payment standard first conceived in 2013. Equally, as bitcoin and other cryptocurrencies gain more momentum, the launch signifies the growing recognition of cryptocurrency as a payments technology.

Announced on Thursday, the API is currently being implemented in browsers including Google's Chrome, Microsoft's Edge, Apple’s Webkit, Mozilla’s Firefox, the Samsung Internet Browser and Facebook's in-app browser. When activated, the Payment Request API will allow new payment information for bitcoin, ether and other more traditional online payment methods to be stored directly in the browser.

Consumers will then be able to choose from a drop-down menu of available payment methods supported, a kind of expansion on the auto-fill feature already widely enabled at checkout.

With that potential new functionality, Ian Jacobs, head of the W3C's payments activity, said now is a good time for developers to start writing code for payment methods they'd like to see available.

In an exclusive interview, Jacobs told CoinDesk:

"This is a great opportunity for people to start writing blockchain-based payment method descriptions and to try to test the API. That's sort of the period that we're in, the test and interoperability development phase."

A stable state

The API, and the W3C's call for the "broad implementation" of it, is based on what the group sees as a way to offer consumers more payment options and merchants a more secure online checkout.

As part of that growth, the WebKit browser engine that powers Safari and Apple’s app store earlier this month moved the status of its work from "under consideration" to "in development," though other more advanced stages still lie ahead.

"The specification has matured enough within the W3C process that we’ve moved from draft state to stable state," said Jacobs, who added:

"And that means, now we know what the API is going to do, and we are building test suites and working on browser interoperability so the implementations are secure and they behave the same way."

The W3C's standardization efforts are notoriously slow moving, with work advancing from community groups to working groups, all of which can take years. This is one of the reasons cryptocurrency entrepreneurs have been hesitant to join the group's ranks, even though the Tim Berners-Lee created consortium has a largely positive reputation.

Not so fast

But, the process ahead isn't as easy as it sounds.

Jacobs compared the next steps to matchmaking, where merchants will need to integrate the API and pick which payment methods they want to accept. At this stage, customers will need to download the browser extension and signal what payment methods they use.

In other words, merchants need to build websites that acknowledge the new payment methods, while users need to have wallets that "speak the protocol that we're writing," Jacobs said. "That’s how the ecosystem pieces together the merchant-side and the user-side."

The W3C is already working with third-party apps to integrate both distributed ledger solutions and non-credit card forms of payment into the API in a way that can be interpreted by merchants and consumers.

"So, for example, you might identify a particular bitcoin payment method with a URL, and then people can distribute payment apps that declare their support for that payment method," Jacobs said.

The W3C has gotten more and more interested in cryptocurrency and blockchain technology over the years, hosting it's first ever blockchain workshop in June last year. While participants were left with much interest in standardizing their work in an effort to democratize the technology's use, no formal work was at that time decided upon.

The next face-to-face meeting of the Web Payment Working Group behind the browser-based API is scheduled for November 6 and 7, with a demo expected to take place on October 23 to show how Airbnb, Google and Mastercard are using the API.

Jacobs, optimistic about the recent step forward, concluded:

"You will begin to see early adopters of the API using it and you will see an increase in browser support over time that I’m hoping by the middle of next year it’s widely deployed."

image via Shutterstock

Disclosure

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by Block.one; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk employees, including journalists, may receive options in the Bullish group as part of their compensation.


Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.