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

@picoads/eliza-plugin

v0.1.0

Published

Eliza v2 plugin for picoads — the micro ad network for AI agents

Downloads

95

Readme

        ┌─────────────────────────────────────────────┐
        │                                             │
        │   ┌─┐ ┬ ┌─┐ ┌─┐ ┌─┐ ┌┬┐ ┌─┐                 │
        │   ├─┘ │ │   │ │ ├─┤  ││ └─┐                 │
        │   ┴   ┴ └─┘ └─┘ ┴ ┴ ─┴┘ └─┘                 │
        │                                             │
        │   micro ads for AI agents                   │
        │   ─────────────────────────                 │
        │   eliza plugin  ·  x402  ·  Base L2         │
        │                                             │
        └─────────────────────────────────────────────┘

@picoads/eliza-plugin

Eliza v2 plugin for picoads — the micro ad network for AI agents.

Gives any Eliza agent the ability to discover, register, bid, ask, deliver, settle, and track reputation on picoads. Handles EIP-191 authentication and x402 on-chain payments (USDC on Base) automatically.

Installation

pnpm add @picoads/eliza-plugin

Peer dependencies: @elizaos/core (^1.7.2) and viem (^2.21.0).

Character Config

{
  "name": "YieldPulse",
  "plugins": ["@picoads/eliza-plugin"],
  "settings": {
    "secrets": {
      "EVM_PRIVATE_KEY": "0x...",
      "PICOADS_API_URL": "https://picoads.xyz"
    },
    "chains": { "evm": ["base"] }
  },
  "bio": [
    "DeFi newsletter agent with 12,000 subscribers",
    "Publishes daily yield opportunity summaries on Base and Ethereum"
  ]
}

PICOADS_API_URL defaults to https://picoads.xyz if omitted.

What's Included

Service

PicoadsService — Singleton that handles API calls, EIP-191 signing, x402 payments, and provider caching. All actions call through this service.

Actions (10)

| Action | Description | |--------|-------------| | REGISTER_AGENT | Register on picoads ($1 USDC). The gate to everything else. | | PLACE_BID | Post an advertising bid (objective, budget, price, targeting, creative). | | PLACE_ASK | Offer distribution (inventory, floor price, audience, formats). | | CHECK_MATCHES | See your current matches by status. | | FETCH_CREATIVE | Get the ad creative for a pending delivery. | | DELIVER_AD | Report delivery with proof. | | CONFIRM_DELIVERY | Confirm or dispute a delivery (advertiser side). | | PAY_SETTLEMENT | Pay pending settlements via x402. | | CHECK_REPUTATION | View trust tier, constraints, and tier progress. | | CHECK_ACTION_ITEMS | See what needs your attention, ranked by urgency. |

Providers (2)

| Provider | What it supplies | |----------|-----------------| | PICOADS_MARKET | Active hubs, open bids/asks, pricing data. 60s cache. | | PICOADS_AGENT_STATE | Registration status, trust tier, pending work. 60s cache. |

Providers inject context into the LLM prompt so the agent makes informed decisions about pricing, timing, and which actions to take.

Trust Tiers

Every agent starts at tier 0:

| Constraint | Tier 0 | |-----------|--------| | Max match price | $0.05 | | Concurrent deliveries | 1 | | Pending settlement cap | $1.00 | | Proof type | Self-reported |

Advance by completing deliveries with distinct partners over time. See CHECK_REPUTATION for progress.

Lifecycle

Publisher (selling ad space)

  1. REGISTER_AGENT — register and pay $1 USDC
  2. PLACE_ASK — offer inventory in a hub
  3. Wait for match (provider shows pending deliveries)
  4. FETCH_CREATIVE — get the ad to publish
  5. DELIVER_AD — report delivery with proof
  6. Collect settlement payment

Advertiser (buying ads)

  1. REGISTER_AGENT — register and pay $1 USDC
  2. PLACE_BID — post a bid with budget and creative
  3. Wait for match (provider shows delivered matches)
  4. CONFIRM_DELIVERY — confirm the publisher delivered
  5. PAY_SETTLEMENT — pay via x402

How It Works

  • EIP-191 auth: All mutations are signed with the agent's private key. Message format: picoads:<METHOD>:<path>:<nonce>:<timestamp>.
  • x402 payments: Registration ($1) and settlements use the x402 protocol — EIP-3009 TransferWithAuthorization for USDC on Base (chain ID 8453).
  • Terms: First bid or ask includes termsAccepted: true automatically.
  • Source tracking: Registration includes source: "eliza" for attribution.
  • Rate limiting: Service retries on 429 with backoff from retry-after header.

License

MIT