Elestia Open Source Ratings
6.3

Solana web3.js

Reasonable, with limits. 8th of 10 blockchain libraries.

Solana web3.js is the long-standing JavaScript SDK for Solana. v3 (October 2026) keeps the classic Connection/PublicKey/Transaction API but runs on Solana Kit. It is the right upgrade path for existing v1 code. For new apps, Solana's own docs point to Kit, with gill as an optional layer on top.

Best for: Teams that keep or migrate an existing v1 Solana codebase, or that depend on libraries built around the v1 class API.

WebsiteGitHubnpm

Scores

Overall6.3

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

It is a solid, maintained choice for existing v1 codebases, and v3 gives them a path onto Kit's internals. For a new Solana project, Solana's own docs and independent guides point to Kit (or gill), which grows faster and exposes the modern API directly. The 2024 supply-chain incident and the breaking v3 migration also count against it.

GPT-6.2 Sol: 7.1, likely 6.0 to 8.2

The current release is a strong pick for Solana teams that value the class API, particularly when upgrading an existing app. For most new Solana projects, Kit has the stronger case because it offers finer-grained imports, faster growth, and the Foundation’s default recommendation. The short v3 adoption record and recent compatibility changes leave room for that judgment to move.

Needed by many3.1

How many developers need a tool for this job?

Claude Opus 5.5: 3.0, likely 2.0 to 4.0

It serves only Solana, inside a category that covers many chains. Solana app builders are a clear but limited niche of JavaScript developers.

  • category scope: Ethereum tools (viem, ethers) serve a larger audience
  • github description: Solana JavaScript SDK only

GPT-6.2 Sol: 3.1, likely 2.2 to 4.1

The SDK serves a distinct niche within JavaScript and TypeScript development. It covers Solana work across browsers, servers, and mobile apps, with particular appeal for teams that prefer a class-based API. The available developer survey gives context on common workloads without measuring how many developers need Solana integration.

Helps a lot6.8

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

It is complete and well typed, and v3 gains Kit's modern internals. But the class API keeps abstractions that Kit drops. The v3 line is weeks old, and some docs still call it a release candidate. For new code, Kit does the job more cleanly.

GPT-6.2 Sol: 7.6, likely 6.5 to 8.5

Version 3.2.1 pairs familiar classes with typed RPC, WebCrypto signing, and generated program clients. Quicknode’s hands-on comparison shows that Kit can bundle less unused RPC code, and a user reported that v3.2.1 drops a validator commission field. Versioned examples help developers and coding agents avoid stale v1 patterns, but current performance and agent accuracy have limited independent measurement.

Holds up over time6.6

Will it still be a good choice in two years?

Claude Opus 5.5: 6.0, likely 4.0 to 7.0

The Solana Foundation maintains it actively, with 153 commits and 13 releases in the last year. But its role is now a bridge to Kit, and the ecosystem is moving to Kit. v1 gets critical fixes only, and the move to v3 breaks a lot of code.

  • github commitsLastYear / releasesLastYear: 153 commits, 13 releases
  • github.com/solana-foundation/solana-web3.js: v1 branch gets critical fixes only; new work happens on v3
  • peers Solana Kit commitsLastYear: 874 commits on Kit, the successor engine

GPT-6.2 Sol: 7.2, likely 6.0 to 8.3

The Foundation repository recorded 153 commits and 13 releases in a year, including work on the companion wallet adapter. A maintainer accepted a November RPC bug report the same day, though recent releases show much of the work concentrated with one contributor. Kit provides a shared foundation and has a faster development pace, while the v1 migration and a breaking change in 3.2.1 show real upgrade costs.

Used widely5.9

How many use it, and is that growing?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

14.3M downloads in 4 weeks and about 15,000 dependent repos make it the most used Solana SDK. Many of those installs are v1 pulled in by other tools. Growth of 3.2x is below the 4.1x median, while Kit grew 10x, so its share of new projects is falling.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 14.3M vs 4.46M, a ratio of 3.2
  • dependents: 15,012 repos and 2,609 packages
  • peers Solana Kit downloads: 14.25M vs 1.38M, a ratio of 10.3

GPT-6.2 Sol: 4.7, likely 3.2 to 6.0

The index found about 15,000 dependent repositories and 2,600 packages, which shows a substantial installed base across versions. Four-week downloads grew 3.21× year over year, below the 4.1× catalog median and Kit’s 10.34×. The seven stable v3 releases listed by npm accounted for about 40,000 of 3.67 million weekly downloads in one snapshot, leaving considerable uncertainty about how many new projects choose v3 directly.

  • dependents: 15,012 indexed repositories and 2,609 packages across versions.
  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio and peers Solana Kit: 14.33 million versus 4.46 million, with slower growth than the catalog median and Kit.
  • npmjs.com/package/%40solana/web3.js?activeTab=versions: The seven listed stable v3 releases total 39,918 weekly downloads.
  • github stars, bluesky posts and hackerNews top: 2,779 repository stars, no captured Bluesky links, and three HN stories about the same incident.
Vouched for5.9

Who stands behind it being good?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

v1 has backed most Solana dapps, wallet adapters and Anchor clients in production for years. Infrastructure firms such as QuickNode publish guides for it. The new v3 line has little independent production evidence yet, and official guidance favours Kit for new work.

GPT-6.2 Sol: 5.7, likely 4.4 to 6.9

Solana officially supports v3, and Quicknode demonstrates the current release against a local validator. Anchor’s published client documentation still shows legacy v1 use, and Helius moved its SDK to Kit. Independent production reports and satisfaction data specific to v3 are still sparse.

Safe6.1

How safe is it to depend on?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

In December 2024 an npm account takeover published two versions with private-key-stealing malware. They were found and removed within hours, but this is a high-value target. There was also a DoS advisory in 2024, which was fixed. It pulls in 12 dependencies, has no Scorecard data, and uses the MIT licence.

  • advisories GHSA-jcxm-7wvp-g6p5 / MAL-2024-11183: malicious releases in Dec 2024
  • advisories GHSA-8m45-2rjm-j347: DoS on untrusted input
  • npm dependencies / scorecard: 12 dependencies; no Scorecard data

GPT-6.2 Sol: 7.1, likely 5.8 to 8.3

The December 2024 npm compromise exposed private key material in two v1 releases, which were removed within hours and replaced by 1.95.8. An earlier denial-of-service issue also received patches across v1 releases. The v3.2.1 workflow uses approval-gated npm trusted publishing with provenance, and the package has a permissive MIT licence and 12 direct dependencies. The missing Scorecard and unverified number of release approvers widen the range.

Good

  • A familiar class API (Connection, Keypair, Transaction) with years of tutorials, examples and AI-agent training data behind it.
  • v3 runs on Kit internals, so it gets Kit's tree-shaking and modern primitives without a full rewrite.
  • Maintained by the Solana Foundation, with 13 releases in the last year and only a handful of open issues.
  • The widest use of any Solana SDK, with about 15,000 dependent repos and deep links into Anchor and wallet tooling.

Bad

  • Solana's docs present v3 as a compatibility layer, not the default for new projects; Kit is preferred.
  • The v1-to-v3 upgrade breaks a lot: async signing, bigint numbers, Uint8Array instead of Buffer, and a silent change to the default commitment.
  • npm releases 1.95.6 and 1.95.7 carried key-stealing malware in December 2024.
  • AI agents and old tutorials mix up v1 and v3 code, which causes subtle errors.

The numbers

npm downloads, 4 weeks
14M ×3.2 in a year
GitHub stars
2.8k
Commits, 12 months
153
npm version
3.2.1 Nov 2026
Versions, 12 months
8
Advisories, 24 months
2 of 3 ever
OpenSSF Scorecard
None
Licence
MIT

Read on 21 November 2026 from GitHub (solana-foundation/solana-web3.js), npm (@solana/web3.js), OSV and the OpenSSF Scorecard.

Blockchain libraries

  1. 8.9viem
  2. 8.2Wagmi
  3. 8.0Solana Kit
  4. 7.1Ox
  5. 6.9bitcoinjs-lib
  6. 6.7Hardhat
  7. 6.6ethers.js
  8. 6.3Solana web3.js
  9. 5.6thirdweb
  10. 1.7web3.js
Compare all 10 on six scores