CAIP-7: Blockchain Reference for the EOSIO Namespace

Author Sebastian Montero
Discussions-To https://github.com/ChainAgnostic/CAIPs/issues/32
Status Draft
Type Standard
Created 2020-11-30
Updated 2020-11-30
Requires 2

Simple Summary

This document is about the details of the EOSIO namespaces and references for CAIP-2.

Abstract

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

Motivation

See CAIP-2.

Specification

EOSIO Namespace

The namespace “eosio” refers to the EOSIO open-source blockchain platform.

Reference Definition

The definition is delegated to the EOSIO Transactions Protocol Documentation, the Chain API Plugin Documentation of the EOSIO Developers Manual and the pull request that implemented its generation Chain ID generation implementation pull request. The Chain ID, as defined by EOSIO, is the SHA256 hash of the genesis state of the chain, represented as lower case hexadecimal number of 64 digits. In order to fit the CAIP-2 reference format, a 32 character prefix of the Chain ID is used.

Rationale

Blockchains in the “eosio” namespace are identified by their Chain ID as mentioned in the Reference Definition Section.

Backwards Compatibility

Not applicable

Test Cases

This is a list of manually composed examples

# EOS Mainnet
eosio:aca376f206b8fc25a6ed44dbdc66547c

# Jungle Testnet
eosio:e70aaab8997e1dfce58fbfac80cbbb8f

# Telos Mainnet
eosio:4667b205c6838ef70ff7988f6e8257e8

# Telos Testnet
eosio:1eaa0824707c8c16bd25145493bf062a

Copyright and related rights waived via CC0.

Citation

Please cite this document as:

Sebastian Montero, "CAIP-7: Blockchain Reference for the EOSIO Namespace [DRAFT]," Chain Agnostic Improvement Proposals, no. 7, November 2020. [Online serial]. Available: https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-7.md