# Solana web3.js: 6.3 out of 10

Reasonable, with limits. 8th of 10 in [Blockchain libraries](https://elestia.ai/opensource/web3/index.md).

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.

## Scores

- **Overall: 6.3** (likely 5.3 to 7.4)
  - Claude Opus 5.5 (5.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): 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 many: 3.1** (likely 2.1 to 4.1)
  - Claude Opus 5.5 (3.0): It serves only Solana, inside a category that covers many chains. Solana app builders are a clear but limited niche of JavaScript developers.
  - GPT-6.2 Sol (3.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 lot: 6.8** (likely 5.8 to 7.8)
  - Claude Opus 5.5 (6.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): 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 time: 6.6** (likely 5.0 to 7.7)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (7.2): 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 widely: 5.9** (likely 4.6 to 7.0)
  - Claude Opus 5.5 (7.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.
  - GPT-6.2 Sol (4.7): 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.
- **Vouched for: 5.9** (likely 4.7 to 7.0)
  - Claude Opus 5.5 (6.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): 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.
- **Safe: 6.1** (likely 4.9 to 7.2)
  - Claude Opus 5.5 (5.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.
  - GPT-6.2 Sol (7.1): 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

- Downloads, 4 weeks: 14M
- In a year: ×3.2
- GitHub stars: 2.8k
- Commits, 12 months: 153
- Last npm release: Nov 2026
- Advisories, 24 months: 2
- Licence: MIT
- GitHub: https://github.com/solana-foundation/solana-web3.js
- npm: https://www.npmjs.com/package/@solana/web3.js

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
