← 返回
效率工具 中文

Prethereum

Verifiable proofs for any computation. Ed25519 over SHA-256. TEE-backed signing, offline verification.
为任意计算提供可验证证明,支持基于SHA-256的Ed25519签名,TEE硬件背书签名,支持离线验证。
mikeargento
效率工具 clawhub v0.3.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 499
下载
💾 7
安装
1
版本
#latest

概述

Prethereum

Verifiable proofs for any computation. Commit bytes, receive an Ed25519 signature over a SHA-256 digest. The proof is self-contained JSON. Verification is offline.

Security Model

Data flow:

  • Commit sends only the bytes you explicitly provide to the notary. The tool does not scan, enumerate, or read files beyond what is specified.
  • Verify is fully local. No data leaves your machine.
  • Health sends an empty GET. No payload.

Notary behavior:

The notary runs inside an AWS Nitro Enclave (hardware-isolated TEE). It receives bytes, computes a SHA-256 digest, signs with Ed25519, returns the proof. The enclave has no persistent storage. Nothing is logged, stored, or forwarded.

Do not commit secrets. Bytes transit over HTTPS. Do not send credentials, private keys, or sensitive PII.

Network Behavior

OperationDirectionPayloadPersistence
--------------------------------------------
CommitClient -> NotaryUser-provided bytes (HTTPS)None
VerifyLocal onlyNoneN/A
HealthClient -> NotaryEmpty GETNone

Requirements

  • Node.js >= 20
  • npm

Installation

npm install prethereum

For the MCP server, install globally with a pinned version:

npm install -g @prethereum/mcp@0.1.0

All packages are open source (Apache-2.0). Inspect before installing:

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

Quick Start

import { Constructor, StubHost } from "prethereum";

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

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

Verification

import { verify } from "prethereum";

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

HTTP API

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

Packages

PackageDescription
----------------------
prethereumCore library + stub for development
@prethereum/nitroAWS Nitro Enclaves adapter
@prethereum/mcpMCP server for Claude
@prethereum/cliCLI: commit, verify, serve
@prethereum/adapter-kitTEE builder kit + compliance suite

Source Code

References

  • references/protocol.md - wire format and verification spec

版本历史

共 1 个版本

  • v0.3.0 当前
    2026-03-30 12:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,810
security-compliance

OCC for OpenClaw

mikeargento
OCC(起源控制计算)——每个 OpenClaw 智能体操作的密码学证明。安装、配置与审计。
★ 0 📥 697
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,241