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

@mcptoolshop/attestia

v2.0.2

Published

Financial truth infrastructure for the decentralized world — the full Attestia library in one package (deterministic ledger, constitutional registrar, Merkle proofs, multi-chain observation, XRPL witness, replay verification).

Readme

结构化治理、确定性会计和人工审核的意图——在各个链、组织和个人之间实现统一。Attestia 不会转移您的资金;它证明了发生了什么,限制了可能发生的事情,并使金融记录变得不可篡改。

此包将完整的 Attestia 库整合到一个单一的安装包(ESM)中。内部 @attestia/* 工作区包将被内联——无需管理大量的软件包;第三方运行时依赖项(xrpl、viem、@solana/web3.js、json-canonicalize、ripple-keypairs)将正常解析。

安装

npm install @mcptoolshop/attestia

仅支持 ESM (Node ≥ 22)。通过 GitHub Actions OIDC 可信发布,并使用 npm provenance 发布。

用法

从根目录导入一个域作为命名空间

import { ledger, proof, registrum } from "@mcptoolshop/attestia";

const total = ledger.addMoney(
  { amount: "100.00", currency: "USD", decimals: 2 },
  { amount: "50.00", currency: "USD", decimals: 2 },
);

const tree = proof.MerkleTree.build([/* sha-256 leaf hashes */]);

……或者从子路径导入扁平符号:

import { MerkleTree, verifyAttestationProof } from "@mcptoolshop/attestia/proof";
import { StructuralRegistrar } from "@mcptoolshop/attestia/registrum";
import { JsonlEventStore } from "@mcptoolshop/attestia/event-store";
import { AttestiaClient } from "@mcptoolshop/attestia/sdk";

子路径

| 子路径 | 它是什么 | |---------|-----------| | @mcptoolshop/attestia | 根目录——每个域作为一个命名空间 | | …/types | 共享域类型(货币、ID、标记的基本数据类型) | | …/ledger | 仅追加的复式记账引擎 + 确定性货币计算 | | …/registrum | 宪法登记处——11 条不变性规则,双重见证 | | …/event-store | 仅追加的事件持久化——JSONL、哈希链 | | …/proof | 默克尔树(RFC 6962),包含 + 证明 | | …/vault | 个人保险库——投资组合、预算、意图 | | …/treasury | 组织金库——工资单、分配、资金闸门 | | …/reconciler | 跨系统匹配 + Registrum 证明 | | …/chain-observer | 多链只读观察(EVM、XRPL、Solana、L2) | | …/witness | XRPL 链上证明,多重签名治理 | | …/verify | 重复验证、合规证据、SLA | | …/sdk | 用于 Attestia REST API 的类型化 HTTP 客户端 |

核心模式

每次交互都遵循一个流程,并且没有可选步骤:

Intent → Approve → Execute → Verify

文档

完整的手册、架构、威胁模型和验证指南:https://mcp-tool-shop-org.github.io/attestia/ · 源代码:https://github.com/mcp-tool-shop-org/attestia

许可证

MIT——由 MCP Tool Shop 构建。