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

@piprail/elizaos-plugin

v0.2.0

Published

Self-custody, multi-chain x402 payer for elizaOS — give an agent a budget-bound wallet to pay HTTP 402 APIs across many chains, no facilitator or fee.

Readme

@piprail/elizaos-plugin

Give an elizaOS agent a budget-bound, self-custody wallet to pay x402 ("HTTP 402 Payment Required") APIs across many chains — no facilitator, no fee. It wraps the published @piprail/sdk (paymentTools), so the agent's own key signs against its own RPC and the spend policy is a hard cap the model cannot cross.

elizaOS already ships a sell-side @elizaos/plugin-x402 (charge for your agent's services). This is the buy-side counterpart: let your agent pay for things, on any supported chain.

Install

npm install @piprail/elizaos-plugin

Add it to your character and provide a funded wallet key + caps:

{
  "name": "PayBot",
  "plugins": ["@piprail/elizaos-plugin"],
  "settings": {
    "PIPRAIL_CHAIN": "base",
    "PIPRAIL_MAX_AMOUNT": "0.10",   // per-payment cap
    "PIPRAIL_MAX_TOTAL": "5.00",    // lifetime cap
    "secrets": { "PIPRAIL_PRIVATE_KEY": "0x-your-funded-key" }
  }
}

See character.example.json.

Actions

| Action | Wraps | Does | |---|---|---| | PIPRAIL_PAY | piprail_pay_request | Pay a gated x402 URL and return the unlocked resource | | PIPRAIL_QUOTE | piprail_quote_payment | Price a 402 URL without paying | | PIPRAIL_PLAN | piprail_plan_payment | Can the agent afford it, and the cheapest rail | | PIPRAIL_DISCOVER | piprail_discover | Find x402-payable APIs matching a query | | PIPRAIL_BUDGET | piprail_budget | What's been spent / what remains under the policy | | PIPRAIL_GUIDE | piprail_guide | Explain the payment tools + the spend policy |

The full 8-tool toolkit (these six plus piprail_register and piprail_verify_receipt, which are programmatic rather than conversational) is also available directly via @piprail/sdk or the @piprail/mcp MCP server.

Security — PIPRAIL_PAY moves real money autonomously. It is the only action that spends, and it pays without a per-payment human confirmation, bounded only by the spend policy. The action is offered only when the message contains a URL, but a prompt-injected 402 URL that reaches the agent can be paid up to PIPRAIL_MAX_AMOUNT. Keep PIPRAIL_MAX_AMOUNT / PIPRAIL_MAX_TOTAL conservative, fund the wallet with only what the agent may spend, and treat the key as hot.

Config (character settings / secrets)

| Setting | Required | Default | Notes | |---|---|---|---| | PIPRAIL_PRIVATE_KEY | ✅ (in secrets) | — | Hex key of the wallet the agent spends from | | PIPRAIL_CHAIN | — | base | base, bnb, polygon, solana, … | | PIPRAIL_MAX_AMOUNT | — | 0.10 | Per-payment ceiling | | PIPRAIL_MAX_TOTAL | — | 5.00 | Lifetime ceiling |

Develop

npm install
npm run build       # tsup → dist/
npm run typecheck   # tsc --noEmit (against @elizaos/core 1.7.2)
npm run smoke       # offline shape check — no wallet, no network

MIT. Part of PipRaila tool you install, not a platform you join.