-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (48 loc) · 2.72 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head prefix="og: http://ogp.me/ns#">
<meta charset="utf-8">
<title>The Open Wallet protocol</title>
<meta name="description" content="The Open Wallet protocol enables any web page to add cryptocurrency addresses.">
<link rel="stylesheet" href="base.css" type="text/css">
</head>
<body>
<div id="body">
<div id="header">
<h1>The Open Wallet protocol</h1>
</div>
<div id="content">
<h2><a id="intro" href="#intro">Introduction</a></h2>
<p>The <a href="http://openwalletprotocol.org/">Open Wallet protocol</a> enables any web page to add
cryptocurrency addresses which other software can interact with.</p>
<p>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.</p>
<hr />
<h2><a id="metadata" href="#metadata">Basic Metadata</a></h2>
<p>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
<a href="http://en.wikipedia.org/wiki/RDFa">RDFa</a> which means that you'll place
additional <code><meta></code> tags in the <code><head></code> of your web page. The
meta tag for a cryptocurrency wallet is:</p>
<p> <code><meta name="wallet:{ticker}" content="{address}" /></code> </p>
<p>The <i><code>name</code></i> attribute should contain the representation of the wallet’s primary
belonging cryptocurrency ticker in lowercase. For example “btc” for Bitcoin and “eth” for Ethereum.</p>
<p>The <i><code>content</code></i> attribute should contain the wallet’s full public address.</p>
<p>As an example, the following is the Open Wallet markup for a Bitcoin address and an Ethereum address:</p>
<pre><code><html>
<head>
<title>My Web App</title>
<meta name="wallet:btc" content="1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa" />
<meta name="wallet:eth" content="0x3f5CE5FBFe3E9af3971dD833D26bA9b5C936f0bE" />
...
</head>
...
</html></code></pre>
</div>
<div id="footer">
<hr>
<p>The Open Wallet protocol was originally created at <a href="https://nos.io" target="_blank">nOS</a> and
is inspired by <a href="http://ogp.me/" data-unsp-sanitized="clean">The Open Graph protocol</a></p>
</div>
</body>
</html>