TRC-950: TRON Chain ID Definition
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 68/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
まず、このissueの提案文と、そこで参照されているTIP-174およびTIP-474を読んでください。Chain IDの導出方法と、Mainnet、Shasta、Nileの値が一貫して記載されているか確認してください。独立した定義と10進数の値が明確で正確であれば完了です。
索引モデルが issue の本文から書いたものです。
説明
tip: 950
title: TRON Chain ID Definition
author: yanghang8612
discussions-to: https://github.com/tronprotocol/tips/issues/950
status: Draft
type: Standards Track
category: TRC
created: 2026-11-19
requires: 174, 474
Simple Summary
Define the TRON chain ID, its derivation rule, and the decimal values identifying the standard TRON networks.
Abstract
The chain ID, referred to as chainId, is a non-negative integer used to identify a TRON network.
This TIP provides a standalone definition of chainId, specifies its derivation from the genesis block ID, and documents the chain IDs of Mainnet, Shasta, and Nile. All chain ID values in this TIP are expressed in decimal notation.
Motivation
TIP-174 introduced the CHAINID instruction in TVM, and TIP-474 subsequently optimized its return value.
These proposals primarily specify instruction behavior. A standalone definition of the TRON chain ID provides a common reference for wallets, SDKs, applications, and other ecosystem specifications.
Specification
The key word MUST in this document is to be interpreted as described in RFC 2119.
Chain ID
The TRON chain ID is a non-negative integer derived from the genesis block ID of a TRON network.
Its value MUST be determined as follows:
- Obtain the block ID of the genesis block at block height
0. - Extract the last four bytes of that block ID.
- Interpret those bytes as an unsigned big-endian integer.
The resulting integer is the network's chainId. Its value is between 0 and 4294967295, inclusive.
For a given genesis block ID, the derived chain ID remains constant.
Standard Network Values
| Network | Chain ID |
|---|---|
| Mainnet | 728126428 |
| Shasta | 2494104990 |
| Nile | 3448148188 |
These values follow the derivation rule specified above.
Rationale
Deriving the chain ID from the genesis block ID provides a deterministic definition consistent with TIP-474.
A standalone definition and a common decimal presentation allow ecosystem specifications and integration documentation to reference the same network values consistently.
Backwards Compatibility
This TIP defines the network identifier without changing historical or current TVM instruction behavior. Existing activation conditions remain unchanged.
No hard fork or on-chain migration is required.
Implementation
The derivation rule is based on TIP-474. This TIP establishes a reference definition and does not require changes to consensus or TVM execution.
Copyright
Copyright and related rights waived via CC0.
- 主要言語
- 言語のデータがありません
- スター
- 341
- フォーク
- 347
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tronprotocol/tips のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
tronprotocol/tips#945 · コメント 8 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
tronprotocol/tips#944 · コメント 6 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
tronprotocol/tips#941 · コメント 5 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
tronprotocol/tips#938 · コメント 15 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
tronprotocol/tips#937 · コメント 7 件 ·
tronprotocol/tips の issue をすべて見る
似ている issue
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
enhancement follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
crosspoint-reader/crosspoint-reader#4535 ·
メンテナーはふだん 1 日以内に返信
-
sweep
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
bketelsen/pi-pocket-team#277 ·
メンテナーはふだん 1 日以内に返信
-
Wrong release linkedオープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
Genymobile/scrcpy#7178 ·
メンテナーはふだん 3 日以内に返信