ExplorerScan
4,973 networks tracked5,404 block explorersRequestStatus
Companion site:RPCScan ↗RPC endpoint directory with latency and uptime leaderboards and per-provider posture
Chain Agnostic Improvement Proposal

CAIP-26 - Blockchain Reference for the Tezos Namespace

SupersededStandardCreated 2020-12-12· Updated 2020-12-12Stanly Johnson (@stanly-johnson)
Requires: 2 ·

Simple Summary

This document is about the details of the Tezos 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 Tezos.

Motivation

See CAIP-2.

Specification

Tezos Namespace

The namespace "tezos" refers to the Tezos open-source blockchain platform.

Reference Definition

The definition for this namespace will use the genesis-block-hash as an indentifier for different Tezos chains. The method for calculating the chain ID is as follows

tezosB58CheckEncode('Net',
  firstFourBytes(
    blake2b(msg = tezosB58CheckDecode('B', genesisBlockHash),
            size = 32)))

Rationale

Blockchains in the "tezos" 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

# Tezos Mainnet
tezos:NetXdQprcVkpaWU

# Tezos DelphiNet (Current active testnet)
tezos:NetXm8tYqnMWky1

Links

Copyright

Copyright and related rights waived via CC0.

Mirrored from chainagnostic/CAIPs (CC0). Served from our own mirror, synced from upstream daily.