Skip to content

Commit

Permalink
Add URL Format ERC
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi committed Jan 15, 2018
1 parent 4400ae7 commit a870e8b
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions EIPS/eip-831.md
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/).

0 comments on commit a870e8b

Please sign in to comment.