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

voltpass-agentkit

v0.1.0

Published

AgentKit WalletProvider wrapper that auto-logs every fund-moving call as a VoltPass receipt — zero changes to existing trading logic.

Downloads

20

Readme

voltpass-agentkit

Wraps a Coinbase AgentKit WalletProvider so every fund-moving call it makes is auto-logged as a VoltPass receipt — zero changes to the developer's existing trading logic or ActionProviders.

Pinned against @coinbase/[email protected]. See docs/integrations/agentkit-adapter.md in the repo root for the full design rationale, or docs/QUICKSTART_AGENTKIT.md for a 5-minute install-to-first-receipt walkthrough.

Integration (the entire diff)

// Before (standard AgentKit setup):
const walletProvider = new ViemWalletProvider(walletClient);
const agentKit = await AgentKit.from({ walletProvider });

// After (the ONLY change — one wrap, at construction time):
import { withVoltPassLogging } from 'voltpass-agentkit';

const walletProvider = withVoltPassLogging(
  new ViemWalletProvider(walletClient),
  {
    registryAddress: '0x...',
    agentId: 4217n,
    loggerPrivateKey: process.env.VOLTPASS_LOGGER_KEY as `0x${string}`,
  },
);
const agentKit = await AgentKit.from({ walletProvider });

Every ERC20ActionProvider.transfer(...), or any other ActionProvider's on-chain call that routes through sendTransaction/nativeTransfer, now produces a VoltPass receipt automatically. Nothing in the agent's action-selection logic, prompt, or existing ActionProviders changes.

Don't have a VoltPass agentId yet? Use the one-time helper:

import { registerAgentOnce } from 'voltpass-agentkit';

const agentId = await registerAgentOnce({
  registryAddress: '0x...',
  privateKey: process.env.VOLTPASS_LOGGER_KEY as `0x${string}`,
  name: 'my-trading-agent',
  model: 'claude-sonnet-5',
});

Version note

Built and integration-tested against @coinbase/[email protected]. The logged method set (sendTransaction, nativeTransfer) was verified directly against that version's WalletProvider / EvmWalletProvider class hierarchy and against ERC20ActionProvider's source, which calls walletProvider.sendTransaction(...) internally. If a future AgentKit release adds a new fund-moving choke point outside these two methods, LOGGED_METHODS in src/index.ts needs a matching update — pin your @coinbase/agentkit version and re-check before upgrading.

What this does NOT cover (honest limitations)

  • Read-only actions (balance checks, address/network lookups, readContract, waitForTransactionReceipt) are correctly not logged — VoltPass receipts are for actions with real economic effect, not queries.
  • The logger key is separate from the trading key by design — using the agent's own trading wallet as its VoltPass principal is simplest, but a security-conscious deployment may want the two decoupled so a compromised logging key can't move funds. This is a deployment choice, not something the adapter enforces.
  • No attestation. This adapter only covers the free logReceipt self-reported lane. Getting these receipts attested (the lane that actually builds reputation) requires a validator — out of scope for an auto-logging adapter, which is about removing developer friction on the reporting side, not bootstrapping the validator network.

Local development

npm install
npm run build   # tsc -p tsconfig.json -> dist/

An end-to-end integration test (test/integration-test.ts) exercises this package against a live local Anvil chain — see that file for what it proves and how to run it.