Introduction
The Open Wallet protocol enables any web page to add cryptocurrency addresses which other software can interact with.
Open Wallet protocol follows the same semantics as the Open Graph protocol, to make the experience of adding meta properties containing cryptocurrency wallets feel familiar.
Basic Metadata
To add wallet addresses into your web page, you need to add basic metadata to
your page. We've based the initial version of the protocol on
RDFa which means that you'll place
additional <meta>
tags in the <head>
of your web page. The
meta tag for a cryptocurrency wallet is:
<meta name="wallet:{ticker}" content="{address}" />
The name
attribute should contain the representation of the wallet’s primary
belonging cryptocurrency ticker in lowercase. For example “btc” for Bitcoin and “eth” for Ethereum.
The content
attribute should contain the wallet’s full public address.
As an example, the following is the Open Wallet markup for a Bitcoin address and an Ethereum address:
<html>
<head>
<title>My Web App</title>
<meta name="wallet:btc" content="1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" />
<meta name="wallet:eth" content="0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE" />
...
</head>
...
</html>