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

rpc-bastion

v0.4.1

Published

RPC Bastion — one-line install for the Solana RPC & transaction resilience SDK. Re-exports the @rpc-bastion/* runtime libraries (core, fees, sender, wallet, observability); chaos testkit under the ./testkit subpath.

Downloads

451

Readme

rpc-bastion

The one-line install for RPC Bastion — the resilience layer for Solana dApps: composable RPC transports, a production-grade transaction sender with Jito/MEV routing and automatic RPC fallback, a priority-fee oracle, wallet integration, and OpenTelemetry observability. Built on web3.js v2.0 (@solana/kit).

npm i rpc-bastion
import {
  createResilientRpc, createSender, createFeeOracle,
  wrapWalletAccount, registerOtelExporter,
} from 'rpc-bastion';

// Chaos testkit (tests only) lives on its own subpath — never in your app bundle:
import { createChaosTransport, createMockRpcServer } from 'rpc-bastion/testkit';

This package re-exports the public surface of the five runtime libraries@rpc-bastion/core, @rpc-bastion/fees, @rpc-bastion/sender, @rpc-bastion/wallet, and @rpc-bastion/observability. Types are re-exported, not redeclared, so a type you import from rpc-bastion is the same type as the one from its origin package — mixing the umbrella with a direct @rpc-bastion/core import is fully type-compatible.

À la carte (still first-class)

The umbrella is a convenience layer, not a replacement. Every library remains independently installable, so you can install only what you need for the tightest tree-shaking:

npm i @rpc-bastion/core @rpc-bastion/sender   # just the resilient RPC + sender

Subpaths

| Import | Re-exports | When | |---|---|---| | rpc-bastion | core · fees · sender · wallet · observability | your dApp / service | | rpc-bastion/testkit | @rpc-bastion/testkit | tests (chaos simulator) | | rpc-bastion/adapter | @rpc-bastion/wallet/adapter | classic @solana/wallet-adapter apps |

The adapter and observability paths use optional peers (@solana/wallet-adapter-base / @solana/compat, and @opentelemetry/api); install them when you use those features.

CLI

The diagnostics CLI ships separately as @rpc-bastion/cli and exposes the bastion command — no install needed:

npx @rpc-bastion/cli doctor --endpoints https://api.mainnet-beta.solana.com

Full docs, the architecture diagram, and the landing-rate A/B benchmark live in the monorepo README. License: MIT.