Official Solana JavaScript SDK — connect to Solana RPC, send transactions, manage accounts, interact with programs.
npm install @solana/web3.js[code-style-prettier-image]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square
[code-style-prettier-url]: https://github.com/prettier/prettier
[npm-downloads-image]: https://img.shields.io/npm/dm/@solana/web3.js.svg?style=flat
[npm-image]: https://img.shields.io/npm/v/@solana/web3.js.svg?style=flat
[npm-url]: https://www.npmjs.com/package/@solana/web3.js
[semantic-release-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[semantic-release-url]: https://github.com/semantic-release/semantic-release
> [!NOTE]
> This is the maintenance branch for the 1.x line of @solana/web3.js. You can find the successor to this library here: @solana/kit.
Use this to interact with accounts and programs on the Solana network through the Solana JSON RPC API.
$ npm install --save @solana/web3.js
<!-- Development (un-minified) -->
<!-- Production (minified) -->
Have a question or a problem? Check the Solana Stack Exchange to see if anyone else is having the same one. If not, post a new question.
Include:
This library requires a JavaScript runtime that supports BigInt and the exponentiation operator. Both are supported in the following runtimes:
... [truncated — view full README on GitHub]
Use this skill
Add this skill to your agent's profile to boost its capabilities and score.
Add to My Agent