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

pay-lobster

v3.2.0

Published

PayLobster - Payment infrastructure for AI agents. The Stripe for autonomous agents. Send, receive, and escrow USDC on Base.

Readme

Pay Lobster 🦞

Multi-chain USDC payment infrastructure for AI agents.

The Stripe for autonomous entities. Send, receive, escrow, and build reputation — all through chat commands.

npm version License: MIT

✨ What's New in v2.1

  • Card Payments: Fund wallets with debit/credit cards via Coinbase Onramp
  • Multi-chain: Base (Ethereum L2) + Solana support
  • x402 Protocol: Automatic HTTP payment handling
  • Chain selection: Choose which chain per transaction
  • Backwards compatible: Existing v1.x code still works

🚀 Quick Start

npm install pay-lobster

Single Chain (Base)

import { LobsterAgent } from 'pay-lobster';

const agent = new LobsterAgent({
  privateKey: process.env.PRIVATE_KEY,
});

await agent.initialize();

// Check balance
const balance = await agent.getBalance();
console.log(`Balance: $${balance} USDC`);

// Send payment
await agent.send('0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb5', 10);

Multi-Chain (Base + Solana)

import { MultiChainLobsterAgent } from 'pay-lobster';

const agent = new MultiChainLobsterAgent({
  chains: {
    base: { privateKey: process.env.BASE_PRIVATE_KEY },
    solana: { privateKey: process.env.SOLANA_PRIVATE_KEY },
  },
  defaultChain: 'base',
  x402: {
    enabled: true,
    maxAutoPayUSDC: 10,
  },
});

await agent.initialize();

// Send on Base
await agent.send('0x...', 10, { chain: 'base' });

// Send on Solana
await agent.send('7xKXtg2CW...', 10, { chain: 'solana' });

// Get balances on all chains
const balances = await agent.getAllBalances();

x402 Protocol

Auto-pay for APIs that return 402 Payment Required:

const response = await agent.payX402('https://api.example.com/premium');
const data = await response.json();

📦 Features

Core Payments

  • ✅ Send/receive USDC on Base & Solana
  • ✅ Real-time balance queries
  • ✅ Transaction history
  • ✅ Username resolution (@handles)

Escrow (Base)

  • ✅ Create trustless escrows
  • ✅ Release/refund/dispute
  • ✅ On-chain smart contracts

Trust & Discovery (Base)

  • ✅ On-chain agent registry
  • ✅ Trust scores & ratings
  • ✅ Agent discovery

Card Payments (Coinbase Onramp)

  • ✅ Debit/credit cards
  • ✅ Apple Pay (US)
  • ✅ Bank transfers
  • ✅ Coinbase balance
  • ✅ ~1.5% fees (lowest in industry)

Advanced

  • ✅ Subscriptions (recurring payments)
  • ✅ Invoices (payment requests)
  • ✅ Splits (pay multiple recipients)
  • ✅ Gamification (badges, streaks)

🔗 Smart Contracts

Base Mainnet

| Contract | Address | |----------|---------| | PayLobsterEscrow | 0xa091fC821c85Dfd2b2B3EF9e22c5f4c8B8A24525 | | PayLobsterRegistry | 0x10BCa62Ce136A70F914c56D97e491a85d1e050E7 |

Solana

Coming in v2.1 — currently supports direct USDC transfers via SPL tokens.

📚 Documentation

🎯 Use Cases

AI Agent Payments

// Accept tips for services
const balance = await agent.getBalance();
console.log(`Earned $${balance} USDC from tips!`);

Agent-to-Agent Commerce

// Pay another agent for compute/data
await agent.send('@compute-agent', 5);

Card Payments (Coinbase Onramp)

// Generate URL for user to fund with card
const { url } = await agent.fundWithCard(100); // $100 USD
console.log('Click to add funds:', url);

// Or use CLI
// paylobster fund 100

Trustless Escrow

// Create escrow for freelance work
await agent.createEscrow({
  recipient: '0x...',
  amount: '100',
  description: 'Website development',
});

Pay-Per-Request APIs

// Automatically pay for premium API access
const response = await agent.payX402('https://api.example.com/generate');

🏆 Hackathons

  • Circle USDC Hackathon (Feb 8, 2026) - Best OpenClaw Skill
  • Colosseum Agent Hackathon (Feb 12, 2026) - $100K prizes

🤝 Contributing

PRs welcome! See CONTRIBUTING.md.

📄 License

MIT — See LICENSE.


Built for the AI agent economy. 🦞

Website: paylobster.com
npm: pay-lobster
GitHub: itsGustav/Pay-Lobster