Support displaying Simplicity scripts

オープン
#597 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript
領域
frontend

調査の方向性

サンプルトランザクションと「Simplicity Testnet Plans」gistから始め、次にEsploraが入力詳細パネルでTaproot script-path入力をどのように表示しているかを確認します。対応しているLiquid spendについて、デコードされたプログラムとTMRを明確にラベル付けされた「Simplicity Program」セクションで表示でき、要求されたネットワークの対応範囲が検証済みであれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Feature Request: Add Simplicity Program Display for Taproot Script Path Spends
Description

With the upcoming launch of Simplicity on a public signet (e.g., testnet4 or similar), users will start creating, spending, and testing Simplicity-based transactions. To enhance usability and accessibility, the Esplora block explorer should support displaying Simplicity-specific details for transaction inputs that spend Taproot outputs via a Simplicity script path.

When viewing such an input, add a new, clearly labeled section in the input details panel. This section could include:

  • Heading: "Simplicity Program" (to distinguish it from standard Bitcoin Script).
  • Human-Readable Disassembly: A decoded, readable representation of the executed Simplicity program (e.g., bitcode parsing showing jets in use).
  • Tagged Merkle Root (TMR): The TMR as the unique contract identifier.
  • Optional Enhancements: MAST visualization if applicable, to show the program's structure.

This feature should be enabled for Simplicity-supported networks like Liquid (where P2TR Simplicity spends are already possible) and the new signet/testnet.

Implementation Notes
  • implementation on liquid.network for testing and stability, then extend to Bitcoin testnets/signets.
  • Reference for Simplicity details: Ongoing work on transaction weight computation and jet costs; potential future upgrades may involve Taproot script versioning.
  • Additional context and examples: Gist on Simplicity Testnet Plans
  • here's an example transaction: 6e8d14e02b4255da8b2e0625be120207cc73b378e0edcafffd29f69d199cac70
主要言語
JavaScript
スター
1.3k
フォーク
527
平均マージ
2日 5時間
マージ済み PR(30日)
4

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Blockstream/esplora のほかの issue

Blockstream/esplora の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。