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

@gdietsch/solana-agent-kit-plugin-trading-signals

v0.1.0

Published

Solana Agent Kit v2 plugin: Solana/Base token risk verdict ($0.01), GO/CAUTION/STOP pre-trade pack ($0.015) and whale flow ($0.02), paid per call over x402 in USDC from the agent's own Solana wallet.

Readme

@gdietsch/solana-agent-kit-plugin-trading-signals

A Solana Agent Kit v2 plugin that gives your agent pre-trade due diligence on Solana (and Base) tokens from the Trading Signals Toolkit. Each call is paid per request over x402 in USDC from the agent's own Solana wallet: no API key, no account, no subscription.

| Action | Method | Price | What it returns | | --- | --- | --- | --- | | TOKEN_RISK_VERDICT | tokenRiskVerdict | 0.01 USDC | safe / caution / avoid with an A-F grade and reasons: mint and freeze authority, honeypot or sell test, LP lock, top-holder concentration, sniper and bundled wallets | | TOKEN_PRE_TRADE_PACK | tokenPreTradePack | 0.015 USDC | One GO / CAUTION / STOP decision: token verdict + OFAC sanctions screen of the token's authorities and an optional counterparty wallet + that wallet's USDC pay-readiness | | TOKEN_WHALE_FLOW | tokenWhaleFlow | 0.02 USDC | Whale buys vs sells over 1-24h, net flow and % of liquidity, accumulation / distribution signal, largest trades, top wallets |

Installation

npm install solana-agent-kit @gdietsch/solana-agent-kit-plugin-trading-signals

Integration

import { SolanaAgentKit, KeypairWallet, createLangchainTools } from "solana-agent-kit";
import TradingSignalsPlugin from "@gdietsch/solana-agent-kit-plugin-trading-signals";

const agent = new SolanaAgentKit(wallet, process.env.RPC_URL!, {}).use(TradingSignalsPlugin);

// As LLM tools (LangChain, Vercel AI SDK, OpenAI Agents, MCP adapter): the three actions are registered automatically.
const tools = createLangchainTools(agent, agent.actions);

// Or call directly:
const verdict = await agent.methods.tokenRiskVerdict(agent, "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263");
const pack = await agent.methods.tokenPreTradePack(agent, "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263", { wallet: "<counterparty>", amount: 5 });
const whales = await agent.methods.tokenWhaleFlow(agent, "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263", { hours: 6 });

Each method resolves to { ok, data, via, payment } (payment.transaction / payment.explorer link the USDC settlement on Solscan). Each action returns { status, summary, paidWith, payment, response }.

Payment and limits

  • The agent's wallet needs a little USDC on Solana mainnet. The x402 facilitator pays the network fee, so no SOL is spent on payments.
  • Works with any Solana Agent Kit wallet that can sign a transaction (KeypairWallet, Privy, Turnkey, Crossmint, browser wallets). The plugin asks for version-0 transactions so web3.js v1 wallets can sign them, and uses the agent's RPC endpoint.
  • Payments are restricted to USDC on Solana mainnet and capped: 0.05 USDC per call and 1.00 USDC per UTC day by default.
  • Optional: a free API key (100 calls / month, from https://signals.incomefather.com/pricing) skips the wallet payment; when its quota runs out, the plugin falls back to x402.
import { createTradingSignalsPlugin } from "@gdietsch/solana-agent-kit-plugin-trading-signals";

agent.use(createTradingSignalsPlugin({ maxUsdPerCall: 0.02, maxUsdPerDay: 0.5 /*, apiKey: "..." */ }));

Settings can also come from the agent config or environment: TRADING_SIGNALS_MAX_USD_PER_CALL, TRADING_SIGNALS_MAX_USD_PER_DAY, TRADING_SIGNALS_API_KEY, TRADING_SIGNALS_BASE_URL, TRADING_SIGNALS_TIMEOUT_MS.

Notes

Results are heuristic risk signals and market data, not financial or legal advice. API reference: https://signals.incomefather.com/openapi.json

MIT License