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

solana-agent-kit-plugin-pulse

v0.1.0

Published

Solana Agent Kit plugin for Solana Pulse: check a transaction before signing (drainers, wrong recipient or amount, failures), token safety verdicts, fees and plain-words explanations, from live mainnet data with sources.

Readme

solana-agent-kit-plugin-pulse

Solana Pulse safety checks as a Solana Agent Kit plugin. Before your agent signs or buys, it can check:

  • PULSE_CHECK_TX: dry-runs a transaction on mainnet and answers OK, REVIEW or BLOCK, with each wallet's exact SOL and token changes. It catches drainer approvals, ownership changes, failures and expired blockhashes before you pay a fee.
  • PULSE_TX_MATCHES: confirms a transfer or swap does exactly what the user asked: token, amount and recipient, nothing hidden.
  • PULSE_TOKEN_SAFETY: answers SAFE, CAUTION or AVOID, with reasons. It runs a real sell test, checks whether liquidity can be pulled, and looks at the creator's record, insider wallets and the issuer's mint and freeze powers.
  • Also: PULSE_FIND_TOKEN (the real mint behind a ticker), PULSE_FEE, PULSE_EXPLAIN_TX, PULSE_WHY_FAILED, PULSE_WHATS_THIS, PULSE_TOKEN_ACCOUNT, PULSE_CONVERT, PULSE_WALLET, PULSE_BALANCE, PULSE_TOKENS, PULSE_HISTORY and PULSE_BLOCKHASH.

Every fact comes from live mainnet data and names its source. When data is missing, Pulse says "unknown" instead of guessing. "SAFE" means none of the traps Pulse knows about are present; it can't promise a token is safe.

Install

npm install solana-agent-kit-plugin-pulse
import { SolanaAgentKit, KeypairWallet, createVercelAITools } from "solana-agent-kit";
import PulsePlugin from "solana-agent-kit-plugin-pulse";

const agent = new SolanaAgentKit(wallet, RPC_URL, {}).use(PulsePlugin);

// Let the model call the checks itself:
const tools = createVercelAITools(agent, agent.actions);

// Or call them from code. tx can be base64, a Transaction or a VersionedTransaction.
const check = await agent.methods.pulseCheckTx(agent, { tx });
if (check.verdict === "BLOCK") throw new Error(check.summary);

To load only some tools: createPulsePlugin({ tools: ["check_tx", "tx_matches", "token_safety"] }).

Cost

Each tool gives 25 free calls a day per caller, with no key. After that a call costs $0.01 USDC ($0.02 for check_tx, tx_matches and token_safety), paid per request with x402 on Solana. When the free calls run out, an action returns { status: "error", payment_required: true, message, x402 } instead of throwing. If you have a key (for example a builder trial), set it as OTHER_API_KEYS.PULSE_API_KEY in the agent config or as the PULSE_API_KEY environment variable. Calls that fail are never charged.

Settings

| Setting | Where | Default | |---|---|---| | PULSE_API_KEY | config.OTHER_API_KEYS or env | none (free tier) | | PULSE_URL | config.OTHER_API_KEYS or env | the public Pulse server |

How it stays correct

The tool list, descriptions and input schemas are generated from Pulse's live tool registry (npm run agent-kit in the main repo). Pulse's test suite fails if this package falls behind. Every output field is explained at GET /api/tools/<name> on the server.

MIT licence.