npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mingchain/ming-seal

v0.3.0

Published

铭印(MingSeal)是专为OpenClaw龙虾设计的BSV区块链司法存证插件,将AI Agent的对话、决策、动作哈希锚定到BSV链上,生成可司法验证的存证证书。

Readme

铭印 MingSeal - BSV司法存证插件

简介

铭印(MingSeal)是专为OpenClaw龙虾设计的BSV区块链司法存证插件,将AI Agent的对话、决策、动作哈希锚定到BSV链上,生成可司法验证的存证证书。

核心功能

1. 手动存证

用户发送"存证"、"铭印"或"盖章"即可触发存证。

2. 自动存证

开启配置后,对话结束时自动存证。

3. Merkle批量聚合

多条记录聚合成一个BSV交易,降低上链成本。

4. BSV OP_RETURN锚定

将Merkle根通过OP_RETURN写入BSV区块链,不可篡改。

5. 离线队列

网络异常时本地缓存,恢复后自动补上。

6. 司法验证

通过TxID或存证编号可验证链上存证。

技术规格

协议格式

MSLL v1.0
├── 协议标识: 0x4d534c4c (MSLL)
├── 版本: 0x01
├── Merkle根: 32字节
├── 批次ID: 8字节时间戳
└── 记录数: 2字节

OP_RETURN大小

约45字节,远低于BSV OP_RETURN 100KB限制。

钱包地址

1HQTm7L2KXTmNTecedhFRnQqP98yU1GAD7

命令列表

| 命令 | 别名 | 说明 | |------|------|------| | 存证 | 铭印、盖章、上链 | 手动触发存证 | | 验证 TxID | 查证、链上验证 | 验证存证 | | 证书 编号 | 查看证书、存证证书 | 查看存证证书 | | 存证状态 | 队列、待处理 | 查看队列状态 |

配置项

| 配置项 | 类型 | 默认值 | 说明 | |--------|------|--------|------| | enabled | boolean | true | 启用插件 | | autoAttest | boolean | false | 对话结束自动存证 | | batchSize | number | 100 | Merkle批量聚合条数 | | network | string | mainnet | BSV网络 | | bsvWallet | string | 1HQTm... | BSV钱包地址 |

数据安全

脱敏处理

  • 手机号: 138****1234
  • 邮箱: u***@domain.com
  • 身份证: 3***********1234
  • 银行卡: ****1234
  • 地址: 保留省市,其余***

隐私保护

  • API密钥、Token等自动脱敏
  • 敏感字段值替换为***
  • 仅存储哈希,不存原始内容

文件结构

ming-seal/
├── openclaw.plugin.json    # 插件声明
├── index.js                # 主逻辑
├── lib/
│   ├── merkle.js           # Merkle树构建与验证
│   ├── sanitizer.js        # 数据脱敏
│   ├── bsv-anchor.js       # BSV OP_RETURN交易构造
│   └── receipt.js          # 存证收据生成
├── templates/
│   └── certificate.html    # 存证证书HTML模板
└── README.md               # 插件说明

存证流程

对话内容 → 脱敏处理 → SHA-256哈希 → Merkle聚合 → BSV OP_RETURN锚定 → 生成收据

收据示例

━━━━━━━━━━━━━━━━━━━━━━━━
📜 铭印 · BSV司法存证
━━━━━━━━━━━━━━━━━━━━━━━━
存证编号:MS20260503-001
类型:对话存证
内容哈希:f41798e6...
Merkle根:a1b2c3d4...
记录数:1
TxID:abc123...def(待签名)
费用:1,000 sat ($0.01)
时间:2026-05-03 06:50:48 UTC
━━━━━━━━━━━━━━━━━━━━━━━━
铭链科技 · 铭印 MingSeal
━━━━━━━━━━━━━━━━━━━━━━━━

状态说明

| 状态 | 说明 | |------|------| | pending | 待处理 | | constructed | 交易已构造 | | signed | 交易已签名 | | anchored | 已上链锚定 | | failed | 失败 |

使用示例

手动存证

用户: 存证
龙虾: ✅ 铭印存证 [#MS20260503-001]
      📦 1条记录
      🔗 abc123...(待上链)
      ⏰ 2026/5/3 6:50:48
      💎 协议: MSLL/1.0

验证存证

用户: 验证 MS20260503-001
龙虾: ✅ 铭印存证验证报告
      存证编号:MS20260503-001
      验证结果:通过

查看证书

用户: 证书 MS20260503-001
龙虾: [完整存证证书]

开发者信息

  • 作者:铭链科技 (Minglian Tech)
  • 版本:0.1.0
  • 协议:BSV Blockchain
  • 依赖:Node.js 内置模块 (crypto, fs, path)

免责声明

本插件生成的存证为技术存证凭证,实际法律效力取决于司法管辖区的相关规定。铭链科技不对存证的法律效力做任何承诺或保证。