TypeScript MIT

solana-web3.js

Solana JavaScript SDK

S

solana-foundation

Dernière activité 28 sept. 2026
solana-foundation/solana-web3.js

2,8 k

étoiles

1,1 k

forks

2

issues ouvertes

blockchainjavascriptjsnodenodejssdksolana

Ce README est souvent en anglais.

solana-web3.js

Important

Looking for Legacy @solana/web3.js (v.1.x)? That code exists on the maintenance/v1.x branch. Version 1.x is no longer actively maintained and receives critical fixes only. New development happens here, on the v3+.

This repository is a pnpm workspace containing @solana/web3.js and the tooling that ships alongside it. Each package is versioned and published independently; the root package is private and exists only to orchestrate installs and scripts across the workspace.

Packages

Package Path Description
@solana/web3.js packages/web3.js Solana JavaScript API
@solana/wallet-adapter packages/wallet-adapter Solana Wallet Adapter

Development

Prerequisites

  • Just (command runner) — brew install just
  • Node.js 20.19+ and pnpm 10

Setup

just setup

Common commands

just build      # bundle JavaScript and generate type definitions
just test       # unit tests across every package
just fmt        # check formatting
just lint       # check lint rules
just ci         # everything CI runs on a pull request

Run just -l to list every recipe, including the validator and release ones. Running just with no arguments runs the default recipe: format, lint, typecheck, build, and unit tests.

Security

See SECURITY.md for how to report a vulnerability.

Projets similaires

Solana JavaScript SDK

TypeScriptblockchainsdk-jssolana
Aanza-xyz
697 étoiles213

Best in class web3 SDKs for Browser, Node and Mobile apps

TypeScriptjavascriptreactsdk
Tthirdweb-dev
640 étoiles685

Complete Ethereum library and wallet implementation in JavaScript.

TypeScriptblockchainethereumethers
Eethers-io
8,7 k étoiles2,1 k