-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## Preamble | ||
|
||
EIP: 831 | ||
Title: URL Format for Ethereum | ||
Author: ligi <[email protected]> | ||
Type: Standard Track | ||
Category: ERC | ||
Status: Draft | ||
Replaces: 67 | ||
Created: 2018-01-15 | ||
|
||
## Simple Summary | ||
|
||
A standard way of creating Ethereum URLs for various use-cases. | ||
|
||
## Abstract | ||
|
||
URLs embedded in QR-codes, hyperlinks in web-pages, emails or chat messages provide for robust cross-application signaling between very loosely coupled applications. A standardized URL format allows for instant invocation of the user's preferred wallet application. | ||
|
||
## Motivation | ||
|
||
The need for this ERC emerged when refining ERC-681. We need a container ERC that does not carry the weight of the use-cases and just serves the container for them. | ||
|
||
## Specification | ||
|
||
### Syntax | ||
|
||
Ethereum URLs contain "ethereum" in their schema (protocol) part and are constructed as follows: | ||
|
||
request = "ethereum" ":" [ prefix "-" ] payload | ||
prefix = STRING | ||
payload = STRING | ||
|
||
### Semantics | ||
|
||
`prefix` is optional and defines the use-case for this URL. If no prefix is given "pay-" is assumed to be concise and ensure backward compatibility to ERC-67 | ||
|
||
`payload` is mandatory and the content depends on the prefix. Structuring of the content is defined in the ERC for the specific use-case and not in the scope of this document. One example is ERC-681 for the pay- prefix. | ||
|
||
## Copyright | ||
|
||
Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). |