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

sendra-tx

v1.0.0

Published

Solana transaction reliability layer — automatic RPC routing, fee optimization, simulation, and retry engine

Readme

Sendra — Reliability Layer for Solana Transactions

Adaptive transaction execution infrastructure for Solana.

npm version License: MIT

What is Sendra?

Sendra is a production-grade execution layer designed to improve transaction reliability and execution success rates on the Solana blockchain. It intelligently handles RPC instability, automatic retries, blockhash expiration, dynamic fee optimization, smart routing, and robust confirmation monitoring.

Execution reliability should be infrastructure, not application logic.

Why Sendra?

Solana developers often face pain points when dealing with high network congestion and unpredictable RPC endpoints. Common struggles include:

  • Dropped transactions
  • Network congestion causing timeouts
  • Building complex, custom retry systems
  • Fragmented infrastructure tooling
  • Custom failover logic that bloats application code

Sendra abstracts these problems away, giving you a unified, battle-tested execution pipeline.

Features

  • Adaptive Retries: Intelligently retries transactions based on network state and error types.
  • RPC Routing: Automatically routes and fails over between multiple RPC providers to ensure uptime.
  • Simulation: Pre-simulates transactions to prevent landing predictable failures.
  • Fee Optimization: Dynamically adjusts compute unit prices and limits to ensure inclusion during congestion.
  • Execution Monitoring: Tracks the full lifecycle of a transaction from broadcast to finality.
  • Confirmation Tracking: High-fidelity tracking of confirmation states.
  • Detailed Logs: Emits comprehensive execution telemetry for easy debugging.
  • Modular Architecture: Use the components you need, from builders to routers and optimizers.

Installation

npm install sendra-tx @solana/web3.js

and

bun add sendra-tx @solana/web3.js

Quick Start

import { SendWithReliability } from "sendra-tx";
import { Keypair, PublicKey } from "@solana/web3.js";

// 1. Initialize your keys
const sender = Keypair.generate();
const receiver = new PublicKey("5XnBq7zdcMQHtqN4jrSqLGC7BzQhcLT7ubEzVCcrz42E");

// 2. Define a signer object (compatible with wallet adapters)
const signer = {
    publicKey: sender.publicKey,
    signTransaction: async (tx: any) => {
        tx.sign([sender]);
        return tx;
    },
};

// 3. Execute with reliability
async function main() {
    const result = await SendWithReliability(
        {
            type: "params",
            to: receiver,
            amount: 1000000, // amount in lamports
        },
        signer,
        {
            maxRetries: 3,
        }
    );

    if (result.success) {
        console.log(`Transaction successful: ${result.signature}`);
        console.log(`Explorer Link: ${result.explorerLink}`);
    }
}

main();

Built Transaction Example

Sendra works seamlessly with complex transactions, including swaps, minting, and versioned transactions.

import { VersionedTransaction } from "@solana/web3.js";
import { SendWithReliability } from "sendra-tx";

async function executeComplexTx(
    transaction: VersionedTransaction,
    signer: any // Your signer object with signTransaction method
) {
    const result = await SendWithReliability(
        {
            type: "built",
            serializedTx: false,
            transaction: transaction,
        },
        signer,
        {
            maxRetries: 5,
        }
    );

    if (result.success) {
        console.log(`Complex transaction confirmed: ${result.signature}`);
    }
}

Dashboard + Logs

Sendra comes with built-in tools to give you total visibility into your transaction pipeline:

  • Real-Time Dashboard: Monitor execution success rates, RPC health, and network state visually.
  • Monitoring & Execution Control: Gain granular control over how transactions are processed and retried.
  • Sendra Logs: Persistent file-based and console logging to track latency, fees, retries, and errors.
  • Debugging Execution Pipeline: Trace transactions step-by-step from simulation to confirmation.

Architecture

Sendra is built as a set of modular, interoperable packages:

  • Router: Manages RPC failover and intelligent endpoint selection.
  • Retry Engine: Handles adaptive backoffs and state-aware retries.
  • Fee Optimizer: Calculates competitive compute unit limits and priority fees.
  • Simulator: Runs pre-flight checks against the network.
  • Tx Builder: Simplifies the construction of complex, versioned transactions.
  • RPC Client: Optimized client wrapper for interacting with Solana nodes.
  • Logger: Emits structured telemetry and metrics for observability.

Real Execution

  • Tested on Solana Devnet: Hardened through extensive stress testing.
  • Real Transaction Execution: Not just theory—Sendra powers actual on-chain executions.
  • Retries and Monitoring Tested: Built to survive heavy network congestion and RPC instability.

Links

Vision

Sendra aims to become the execution infrastructure layer for Solana.

Developers write the logic. Sendra ensures it lands.