返回顶部
P

Prethereum预以太验证

Verifiable proofs for any computation. Ed25519 over SHA-256. TEE-backed signing, offline verification.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.3.0
安全检测
已通过
264
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

Prethereum

Prethereum

任何计算的可验证证明。提交字节,接收经过SHA-256摘要的Ed25519签名。证明是自包含的JSON格式。验证可离线进行。

安全模型

数据流:

  • - 提交仅将您明确提供的字节发送给公证人。该工具不会扫描、枚举或读取指定范围之外的文件。
  • 验证完全在本地进行。没有数据离开您的机器。
  • 健康检查发送一个空的GET请求。无有效载荷。

公证人行为:

公证人在AWS Nitro Enclave(硬件隔离的TEE)内运行。它接收字节,计算SHA-256摘要,使用Ed25519签名,返回证明。该Enclave没有持久化存储。不会记录、存储或转发任何内容。

不要提交机密信息。 字节通过HTTPS传输。请勿发送凭证、私钥或敏感的个人身份信息(PII)。

网络行为

操作方向有效载荷持久化
提交客户端 -> 公证人用户提供的字节(HTTPS)
验证
仅本地 | 无 | 不适用 | | 健康检查 | 客户端 -> 公证人 | 空GET请求 | 无 |

系统要求

  • - Node.js >= 20
  • npm

安装

npm install prethereum

对于MCP服务器,使用固定版本进行全局安装:

npm install -g @prethereum/mcp@0.1.0

所有包均为开源(Apache-2.0)。安装前请检查:

npm pack @prethereum/mcp@0.1.0 && tar -xzf prethereum-mcp-0.1.0.tgz

快速开始

typescript
import { Constructor, StubHost } from prethereum;

const host = await StubHost.create();
const ctor = new Constructor(host);

const proof = await ctor.commit(
Buffer.from(Hello, world)
);

验证

typescript
import { verify } from prethereum;

const result = await verify({ proof, bytes });
// result.valid === true | false

HTTP API

bash
curl -X POST http://localhost:3030/commit \
-H Content-Type: application/octet-stream \
--data-binary @output.json

描述
prethereum核心库 + 开发用存根
@prethereum/nitro
AWS Nitro Enclaves适配器 | | @prethereum/mcp | 用于Claude的MCP服务器 | | @prethereum/cli | CLI:提交、验证、服务 | | @prethereum/adapter-kit | TEE构建工具包 + 合规套件 |

源代码

参考

  • - references/protocol.md - 线格式和验证规范

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 prethereum-1776208966 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 prethereum-1776208966 技能

通过命令行安装

skillhub install prethereum-1776208966

下载

⬇ 下载 Prethereum v0.3.0(免费)

文件大小: 3.07 KB | 发布时间: 2026-4-15 13:18

v0.3.0 最新 2026-4-15 13:18
Remove all npx -y references, remove MCP config modification instructions, clarify commit only reads user-provided files

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部