Support displaying Simplicity scripts

未关闭
#597 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript
领域
frontend

调研方向

先从示例交易和“Simplicity Testnet Plans”gist开始,然后检查Esplora如何在输入详情面板中呈现Taproot script-path输入。完成的标准是:一个标注明确的“Simplicity Program”部分能够显示受支持Liquid spends的解码程序和TMR,并且已验证所请求的网络覆盖范围。

由索引模型根据 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 小时
30 天内合并 PR
4

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Blockstream/esplora 的其他 Issue

查看 Blockstream/esplora 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。