### Install Solana Web3.js SDK for Node.js Source: https://github.com/solana-foundation/solana-web3.js/blob/maintenance/v1.x/README.md Use npm to install the Solana Web3.js library for use in Node.js or web applications. This is the standard installation method for most projects. ```bash $ npm install --save @solana/web3.js ``` -------------------------------- ### Setup Test Validator for Integration Tests Source: https://github.com/solana-foundation/solana-web3.js/blob/maintenance/v1.x/README.md Install a test validator client required for running integration tests. This command should be executed in the project's root directory. ```shell $ npm run test:live-with-test-validator:setup ``` -------------------------------- ### Run Integration Tests with Test Validator Source: https://github.com/solana-foundation/solana-web3.js/blob/maintenance/v1.x/README.md Start the test validator and run all integration tests in live mode. Navigate to the 'packages/library-legacy' directory before executing this command. ```shell $ cd packages/library-legacy $ npm run test:live-with-test-validator ``` -------------------------------- ### Run Unit Tests Source: https://github.com/solana-foundation/solana-web3.js/blob/maintenance/v1.x/README.md Execute the full suite of unit tests for the Solana Web3.js library by running this command in the project's root directory. ```shell $ npm test ``` -------------------------------- ### Include Solana Web3.js SDK in Browser (Production) Source: https://github.com/solana-foundation/solana-web3.js/blob/maintenance/v1.x/README.md Include the minified Solana Web3.js SDK in a browser using a script tag for production environments. This reduces load times. ```html ``` -------------------------------- ### Include Solana Web3.js SDK in Browser (Development) Source: https://github.com/solana-foundation/solana-web3.js/blob/maintenance/v1.x/README.md Include the un-minified Solana Web3.js SDK in a browser using a script tag for development purposes. This allows for easier debugging. ```html ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.