Skip to content

The Open Wallet protocol enables any web page to add cryptocurrency addresses which software can interact with.

License

Notifications You must be signed in to change notification settings

nos/open-wallet-protocol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Wallet protocol

NOTE: Not yet standardized!

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 familiar for web developers.

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>

About

The Open Wallet protocol enables any web page to add cryptocurrency addresses which software can interact with.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published