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

@openconductor/openclaw-trust-stack

v0.1.0

Published

Identity, compliance, and monetization layer for OpenClaw agents. Wraps any agent with ERC-8004 on-chain identity, EU AI Act compliance metadata, audit trails, and payment middleware.

Readme

@openconductor/openclaw-trust-stack

Identity, Compliance & Monetization layer for OpenClaw agents — powered by ERC-8004 on Base.

Every AI agent needs an identity. This SDK wraps any OpenClaw agent with on-chain registration, EU AI Act compliance metadata, audit trails, and monetization middleware.

Install

npm install @openconductor/openclaw-trust-stack

Quick Start

import { TrustStack } from '@openconductor/openclaw-trust-stack';

// 1. Wrap your OpenClaw agent
const agent = TrustStack.wrap(myOpenClawAgent, {
  identity: {
    name: 'My Agent',
    owner: '0xYourAddress',
    category: 'productivity',
    description: 'An agent that does useful things',
  },
  compliance: {
    euAiAct: true,
    riskLevel: 'limited',
    dataJurisdictions: ['EU', 'US'],
  },
  monetization: {
    perAction: 0.01,
    currency: 'USD',
  },
});

// 2. Register on-chain (requires a viem WalletClient)
const result = await agent.register(walletClient);
console.log(`Registered! Agent #${result.agentId}`);
console.log(`Explorer: ${result.explorerUrl}`);

// 3. Log actions for audit trail
agent.logAction('summarize', { docId: '123' }, { summary: '...' }, 450);

// 4. Check compliance status
const summary = agent.getComplianceSummary();

Features

| Layer | What it does | |-------|-------------| | Identity | On-chain ERC-8004 registration with metadata URI | | Compliance | EU AI Act risk classification, ISO 42001 flags, data jurisdiction tracking | | Monetization | Per-action pricing, usage metering hooks, Stripe integration ready | | Audit | In-memory action logging with compliance context, exportable audit trail |

API

TrustStack.wrap(agent, config, options?)

Wraps an agent with Trust Stack capabilities. Returns a TrustStackAgent.

  • agent — Your OpenClaw agent object
  • config.identity — Agent name, owner address, category
  • config.compliance — EU AI Act risk level, ISO 42001, jurisdictions (optional)
  • config.monetization — Per-action pricing, currency, Stripe key (optional)
  • options.network'baseSepolia' (default) or 'base'

TrustStack.lookup(agentId, options?)

Look up any agent's on-chain record by ID.

TrustStack.totalAgents(options?)

Get the total number of registered agents on-chain.

TrustStackAgent instance methods

| Method | Description | |--------|-------------| | register(walletClient) | Register on-chain via ERC-8004. Returns { agentId, transactionHash, explorerUrl } | | getOnChainRecord(agentId?) | Fetch the on-chain agent record | | getAttestations(agentId?) | Fetch all attestations for the agent | | logAction(action, input, output, durationMs) | Log an action to the audit trail | | exportAuditLog() | Export all logged audit entries | | getComplianceSummary() | Get a full compliance + monetization summary | | shouldCharge() | Check if monetization is configured |

ERC-8004

This SDK interacts with the OpenConductor Agent Identity contract (ERC-8004) deployed on:

  • Base Sepolia (testnet): 0xf8d7044d657b602194fb5745c614beb35d5d898a
  • Base (mainnet): Coming Q2 2026

Related

License

MIT — see LICENSE for details.