Skip to content
Projets

À propos

SDK JavaScript de Solana

Outils de développement

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
+2
in 7 days
-1
in 15 days
-1
in 1 month
-3

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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
@solana/test-wallet packages/test-wallet Mock Wallet Standard wallet for browser testing (private)
@solana/web3.js-helpers packages/web3.js-helpers Helper functions for @solana/web3.js (private)

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.

Explorer des projets similaires

Chargement…