EIPs/EIPS/eip-831.md

43 lines
1.5 KiB
Markdown
Raw Normal View History

2018-01-15 14:59:50 +00:00
## Preamble
EIP: 831
Title: URL Format for Ethereum
Author: ligi <ligi@ligi.de>
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
2018-01-16 14:41:50 +00:00
`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.
2018-01-15 14:59:50 +00:00
`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/).