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

@venumdev/tpu-client

v0.1.0

Published

Minimal Solana TPU QUIC client for direct transaction sends

Downloads

20

Readme

@venumdev/tpu-client

Minimal TypeScript TPU client for sending serialized Solana transactions directly to upcoming leaders over QUIC.

This package is intentionally simple:

  • resolves upcoming leader TPU QUIC sockets from a Connection
  • sends the same serialized transaction to a small leader fanout
  • retries failed sends
  • keeps lightweight per-address latency telemetry for ranking

This is not a full reproduction of a production MEV submission stack. It does not include native transport, sidecars, geo lookup, Jito, or RPC rebroadcast logic.

Venum Hosted Submission

If you want a hosted transaction-sending endpoint instead of managing TPU sends yourself, Venum provides POST /v1/send for any signed Solana transaction.

  • accepts either base64 JSON or raw signed transaction bytes
  • requires an API key
  • routes submission through Venum's landing fan-out instead of a single RPC sendTransaction path
  • returns status: "submitted" immediately, which means submission started, not that the transaction is confirmed on-chain

Venum: www.venum.dev

Docs:

Install

pnpm add @venumdev/tpu-client @solana/web3.js

Usage

import { Connection, VersionedTransaction } from '@solana/web3.js';
import { TpuClient } from '@venumdev/tpu-client';

const connection = new Connection(process.env.RPC_URL!);
const tpu = new TpuClient(connection, {
  fanoutSlots: 8,
  maxAddressesPerSend: 2,
  sendTimeoutMs: 1200,
  retryCount: 1,
});

const tx = VersionedTransaction.deserialize(serializedBytes);
const result = await tpu.sendRawTransaction(tx.serialize());

console.log(result);

API

new TpuClient(connection, options?, transport?)

connection must provide getSlot, getSlotLeaders, and getClusterNodes in the same shape as @solana/web3.js Connection.

await tpu.sendRawTransaction(serialized, slot?)

Returns:

{
  signature: string;
  slot: number;
  leaders: string[];
  addresses: string[];
  missingLeaders: string[];
  attempted: number;
  succeeded: number;
  failed: number;
}

Notes

  • TPU sends are fire-and-forget ingress attempts, not confirmation.
  • Some validators do not expose tpuQuic, so missingLeaders can be non-empty.
  • In practice you usually combine TPU sends with at least one fallback path.