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

@openclawscan/sdk

v1.2.2

Published

Proof of Task for AI agents — Ed25519 signatures, AES-256-GCM encryption, Merkle proofs on Base L2

Readme

@openclawscan/sdk

Proof of Task for AI agents. 3-level verification: Ed25519 signatures, AES-256-GCM encryption, Merkle proofs on Base L2.

Install

npm install @openclawscan/sdk

Quick Start

import { OpenClawScan, generateKeyPair, serializeKeyPair } from '@openclawscan/sdk'

// Generate keys (once, save securely)
const keys = generateKeyPair()
const serialized = serializeKeyPair(keys)

// Initialize
const scanner = new OpenClawScan({
  agentId: 'my-agent',
  ownerId: 'github:myuser',
  secretKey: serialized.secretKey,
  apiKey: 'ocs_your_api_key',
})

// 1. Start a task
const task = await scanner.startTask({
  agent_id: 'my-agent',
  name: 'Smart Contract Audit — TokenVault.sol',
})

// 2. Capture actions — hashed, signed, encrypted
await scanner.capture({
  action: { type: 'tool_call', name: 'slither_scan', duration_ms: 8400 },
  model: { provider: 'anthropic', name: 'claude-sonnet-4-5', tokens_in: 3840, tokens_out: 5560 },
  cost: { amount_usd: 0.072 },
  input: contractSource,   // SHA-256 hashed, AES-256-GCM encrypted
  output: scanResults,     // SHA-256 hashed, AES-256-GCM encrypted
})

// 3. Complete the task
await scanner.completeTask()

// 4. Certify on Base L2
const cert = await scanner.certify(task.slug)
console.log('TX:', cert.tx_hash)
console.log('BaseScan:', cert.basescan_url)
// → https://openclawscan.xyz/task/{slug}

Verify (no server needed)

const result = OpenClawScan.verify(receipt, originalOutput)
// { signatureValid: true, hashMatch: true }

Features

  • Ed25519 signatures — every receipt digitally signed (same crypto as SSH and Signal)
  • AES-256-GCM encryption — end-to-end, zero plaintext on server, viewing key in URL fragment
  • Merkle proofs on Base L2 — on-chain anchoring via ClawVerify.sol, immutable
  • One-link proof — share a URL, 3-level verification in the browser
  • Gap detection — sequential numbering, missing receipts visible
  • Local backup — saved to ~/.openclawscan/ before transmission
  • Task grouping — group receipts, certify and share as one link
  • EU AI Act ready — audit trails become mandatory Aug 2026

On-Chain

ClawVerify.sol on Base L2 mainnet: 0x0955...18D3

| | | |---|---| | Chain | Base L2 (8453) | | Gas/batch | ~167K (~$0.001) | | Verification | Free (view function) |

Links

License

MIT — OpenClawScan is an open standard.