Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAIP-13 - Blockchain Reference for the Polkadot Namespace #14

Merged
merged 5 commits into from
Apr 3, 2020
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions CAIPs/caip-13.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
caip: 13
title: Blockchain Reference for the Polkadot Namespace
author: Pedro Gomes (@pedrouid), Joshua Mir (@joshua-mir), Shawn Tabrizi (@shawntabrizi)
discussions-to: https://github.com/ChainAgnostic/CAIPs/issues/13
status: Draft
type: Standard
created: 2020-04-01
updated: 2020-04-01
requires: 2
---

## Simple Summary

This document is about the details of the Polkadot namespace and reference for CAIP-2.

## Abstract

In CAIP-2 a general blockchain identification scheme is defined. This is the
implementation of CAIP-2 for Polkadot chains.

## Motivation

See CAIP-2.

## Specification

### Polkadot Namespace

The namespace is called "polkadot" to refer to Polkadot-like chains.

#### Reference Definition

The definition for this namespace will use the `genesis-hash` as an indentifier for different Polkadot chains.

## Rationale

The rationale behind the use of genesis hash stems from its usage in the Polkadot architecture in network and consensus.

## Backwards Compatibility

Not applicable

## Test Cases

This is a list of manually composed examples

```
# Kusama
polkadot:b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe

# Edgeware
polkadot:742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b

# Kulupu
polkadot:37e1f8125397a98630013a4dff89b54cb758ff8eed894419e65a6dcf27a6fb8a
```

## Links

Not applicable

## Copyright

Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/).