mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 10:42:53 +00:00
e1f6292833
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
29 lines
723 B
Markdown
29 lines
723 B
Markdown
# 0002. Extension URI
|
|
|
|
| Date | Tags |
|
|
|---|---|
|
|
| 2018-04-26 | extension, uri, ethereum |
|
|
|
|
|
|
## Status
|
|
|
|
proposed
|
|
|
|
## Context
|
|
|
|
Extensions are defined by an EDN file accessed from decentralized storage. An URI schema allows to identify those files.
|
|
|
|
## Decision
|
|
|
|
URI follows ethereum URI schema as specified in [EIP 831](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-831.md)
|
|
|
|
|
|
```
|
|
uri = "ethereum:" path
|
|
path = "status:extension" ":" storage "@" id
|
|
storage = STRING (e.g. IPFS)
|
|
id = STRING (e.g. IPFS hash)
|
|
```
|
|
|
|
An example of an extension available on IPFS is: `ethereum:status:extension:ipfs@QmTeW79w7QQ6Npa3b1d5tANreCDxF2iDaAPsDvW6KtLmfB`
|