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

@soundcodes/vcrsdk-2

v1.1.0

Published

VCR Protocol SDK — Policy-bound autonomous agent wallets with on-chain verification, ENS integration, x402 payments, and BitGo enforcement.

Readme

@vcr-protocol/sdk

The official SDK for the VCR Protocol. Build policy-bound autonomous agent wallets with on-chain verification, ENS integration, x402 payments, and BitGo enforcement.

Features

  • Policy Management: Create, validate, and pin VCR policies to IPFS.
  • Verification Engine: Check spend requests against local or fetched policies (daily limits, whitelists, etc).
  • ENS Integration (ENSIP-25): Link agents and policies to human-readable ENS names.
  • ERC-8004 Support: Register and manage on-chain agent identities.
  • BitGo Integration: Create and manage highly secure v3 multisig wallets for agents.
  • x402 Payments: Integrate with the x402 protocol for agent-to-agent and agent-to-human payments.

Installation

npm install @vcr-protocol/sdk

Quick Start

1. Verify a Spend Request

import { canAgentSpend } from '@vcr-protocol/sdk';

const result = await canAgentSpend("agent.eth", {
  amount: "1000000", // 1 USDC (6 decimals)
  token: "USDC",
  recipient: "0x...",
  chain: "base-sepolia"
}, async (ens, token) => {
  // Return current daily spent from your DB
  return "0"; 
});

if (result.allowed) {
  console.log("Agent is authorized to spend!");
} else {
  console.log("Blocked:", result.reason);
}

2. Create and Pin a Policy

import { createPolicy, pinPolicy } from '@vcr-protocol/sdk';

const policy = createPolicy("eip155:11155111:...", {
  maxTransaction: { amount: "5000000", token: "USDC", chain: "base-sepolia" },
  dailyLimit: { amount: "10000000", token: "USDC", chain: "base-sepolia" },
  allowedRecipients: ["0x..."],
  allowedTokens: ["USDC"],
  allowedChains: ["base-sepolia"]
});

const { cid, ipfsUri } = await pinPolicy(policy);
// Link ipfsUri to your ENS name as a 'vcr.policy' text record

Environment Variables

The SDK requires the following environment variables for certain features:

  • PINATA_JWT & PINATA_GATEWAY: For IPFS operations.
  • SEPOLIA_RPC_URL: For on-chain lookups and registrations.
  • BITGO_ACCESS_TOKEN, BITGO_ENTERPRISE_ID, BITGO_WALLET_PASSPHRASE: For BitGo wallet management.

Publishing

To publish a new version:

  1. Increment version in package.json.
  2. Run npm run build.
  3. Run npm publish --access public.

License

MIT