solana-foundation/solana-web3.js
Tentang
SDK JavaScript Solana
Alat pengembanganPertumbuhan bintang terukur
- dalam 24 jam
- +2
- dalam 7 hari
- -1
- dalam 15 hari
- -1
- dalam 1 bulan
- -3
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Aslisolana-web3.js
[!IMPORTANT] Looking for Legacy
@solana/web3.js(v.1.x)? That code exists on themaintenance/v1.xbranch. 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.
Jelajahi proyek terkait
Memuat…