solana-foundation/solana-web3.js
关于
Solana JavaScript SDK
开发工具实测星标增长
- 24小时
- +2
- 7天
- -1
- 15天
- -1
- 1个月
- -3
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文solana-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.
探索相关项目
加载中…