{"_id":"solana-validator.js","_rev":"5-d9713cbaf4989ffcc6217108b8ea91f9","name":"solana-validator.js","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"solana-validator.js","version":"1.0.0","author":{"name":"depayhub.net"},"license":"ISC","_id":"solana-validator.js@1.0.0","maintainers":[{"name":"stevewilliam","email":"steve980102@gmail.com"}],"dist":{"shasum":"d9e2db1d35f8cb7a839f121e002753eeb2e38cba","tarball":"https://registry.npmjs.org/solana-validator.js/-/solana-validator.js-1.0.0.tgz","fileCount":2,"integrity":"sha512-i/p8385m0Ms96hxt8TXgzeUkNQ+zPnwq//IfFGoiiemWl/rPrELXhSSiJZL1Jbwa1MgGiv/bH5RUt1yuU/mNeQ==","signatures":[{"sig":"MEYCIQDLHFGmwmWerjkvTcqryCO1FmaBPq75fUxDgDPyNeeohwIhALFR5WkTfYs2Mwrafjr725P6LSIgLHlBG144zmItgimo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4171},"main":"index.js","gitHead":"0535a2caeca561baf90f25d5c244457dfa84cffd","scripts":{"test":"echo \"No tests yet\"","build":"esbuild index.js --minify --outfile=dist/index.js --allow-overwrite"},"_npmUser":{"name":"stevewilliam","email":"steve980102@gmail.com"},"_npmVersion":"9.6.4","description":"Javascript Solana RPC provider","directories":{},"_nodeVersion":"20.0.0","dependencies":{"bs58":"^6.0.0","bn.js":"^5.2.1","buffer":"^6.0.3","crypto":"^1.0.1","node-fetch":"^2.7.0","@solana/web3.js":"^1.98.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/solana-validator.js_1.0.0_1741608480680_0.8222119556627618","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"solana-validator.js","version":"1.1.0","author":{"name":"depayhub.net"},"license":"ISC","_id":"solana-validator.js@1.1.0","maintainers":[{"name":"stevewilliam","email":"steve980102@gmail.com"}],"dist":{"shasum":"653a2a2bf643aee06b9e26d881ffe9ccc6b339ea","tarball":"https://registry.npmjs.org/solana-validator.js/-/solana-validator.js-1.1.0.tgz","fileCount":2,"integrity":"sha512-06lT1WDLCc4B6NM+6vctZYmzViKRH38nIlaPkiD6hida2K51ZulvuWmZMleDdjVs+DsrQ2MbD07XVjm5EMIvJw==","signatures":[{"sig":"MEUCIQDDwzlHKFE0X5N3mo+KvB6h3+mu0ZOsv8UeBKzg52lNugIgUXati27xfDdIuF+8QjPC0YpDN3ZbtTnPibyR6dJMflg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4268},"main":"index.js","gitHead":"f261641fd5be56b3080227c0f14902e3c0cdb5e8","scripts":{"test":"echo \"No tests yet\"","build":"esbuild index.js --minify --outfile=dist/index.js --allow-overwrite"},"_npmUser":{"name":"stevewilliam","email":"steve980102@gmail.com"},"_npmVersion":"9.6.4","description":"Javascript Solana RPC provider","directories":{},"_nodeVersion":"20.0.0","dependencies":{"bs58":"^6.0.0","bn.js":"^5.2.1","buffer":"^6.0.3","crypto":"^1.0.1","hash-sum":"^2.0.0","crypto-js":"^4.2.0","node-fetch":"^2.7.0","@solana/web3.js":"^1.98.0","@solana-developers/helpers":"^2.8.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/solana-validator.js_1.1.0_1741608634092_0.10743950787023637","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"solana-validator.js","version":"1.1.1","author":{"name":"depayhub.net"},"license":"ISC","_id":"solana-validator.js@1.1.1","maintainers":[{"name":"stevewilliam","email":"steve980102@gmail.com"}],"dist":{"shasum":"0e837ee933fafb661f009d7a303a664e32dc8346","tarball":"https://registry.npmjs.org/solana-validator.js/-/solana-validator.js-1.1.1.tgz","fileCount":3,"integrity":"sha512-BuT0hWqKPyDmxubCW9QpsWBnTBTk6YoUpWW9b730ds74RcWXlKY0o7jaenfkuVlEa6SZn8pOqgYjYhFHddVkPA==","signatures":[{"sig":"MEQCID4sXqgIYR0kVviiIYt/qYCIFvBpa8Z6dHzXxXAgBVLqAiAkD3fxicanNaHIe+zZZuY6PcrVG4pX1WEZ/gopWv2u0A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8213},"main":"index.js","gitHead":"058c66daebc47b576b70e03409b3f965481f6268","scripts":{"test":"echo \"No tests yet\"","build":"esbuild index.js --minify --outfile=dist/index.js --allow-overwrite"},"_npmUser":{"name":"stevewilliam","email":"steve980102@gmail.com"},"_npmVersion":"9.6.4","description":"Javascript Solana RPC provider","directories":{},"_nodeVersion":"20.0.0","dependencies":{"bs58":"^6.0.0","bn.js":"^5.2.1","buffer":"^6.0.3","crypto":"^1.0.1","hash-sum":"^2.0.0","crypto-js":"^4.2.0","node-fetch":"^2.7.0","@solana/web3.js":"^1.98.0","@solana-developers/helpers":"^2.8.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/solana-validator.js_1.1.1_1741608954012_0.659505481033823","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"solana-validator.js","version":"1.2.0","author":{"name":"depayhub.net"},"license":"ISC","_id":"solana-validator.js@1.2.0","maintainers":[{"name":"stevewilliam","email":"steve980102@gmail.com"}],"dist":{"shasum":"b048a8a600a8b4a9c4815fcfc798afab755d1c21","tarball":"https://registry.npmjs.org/solana-validator.js/-/solana-validator.js-1.2.0.tgz","fileCount":4,"integrity":"sha512-YjRSAoDW1xuK/F63NNQ/dAcDGWgqahNUL0zaJcESI7aoMvhavP+TcsqlJXm6fWDmhvHjh9ND0tPo6p8GlnonXw==","signatures":[{"sig":"MEUCIQDUvf5N+AHYf4SveNtXunAz5NqrHbB8Y755KVK4PhQINQIgWwdKcuBeLTzs1PyByXWb321kwwOL8/Dy8d5gvSDI3BA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10216},"main":"index.js","gitHead":"058c66daebc47b576b70e03409b3f965481f6268","scripts":{"test":"echo \"No tests yet\"","build":"esbuild index.js --minify --outfile=dist/index.js --allow-overwrite"},"_npmUser":{"name":"stevewilliam","email":"steve980102@gmail.com"},"_npmVersion":"9.6.4","description":"Javascript Solana RPC provider","directories":{},"_nodeVersion":"20.0.0","dependencies":{"bs58":"^6.0.0","bn.js":"^5.2.1","buffer":"^6.0.3","crypto":"^1.0.1","hash-sum":"^2.0.0","crypto-js":"^4.2.0","node-fetch":"^2.7.0","@solana/web3.js":"^1.98.0","@solana-developers/helpers":"^2.8.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/solana-validator.js_1.2.0_1741609255937_0.3755616673760096","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"solana-validator.js","version":"1.2.1","description":"Javascript Solana RPC provider","main":"index.js","scripts":{"build":"esbuild index.js --minify --outfile=dist/index.js --allow-overwrite","test":"echo \"No tests yet\""},"author":{"name":"depayhub.net"},"license":"ISC","dependencies":{"@solana-developers/helpers":"^2.8.0","@solana/web3.js":"^1.98.0","bn.js":"^5.2.1","bs58":"^6.0.0","buffer":"^6.0.3","crypto":"^1.0.1","crypto-js":"^4.2.0","hash-sum":"^2.0.0","node-fetch":"^2.7.0"},"_id":"solana-validator.js@1.2.1","gitHead":"058c66daebc47b576b70e03409b3f965481f6268","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-pBgsy2sqFIStO/MlQI0hz9Jv/PZTRFJYs25yO6tuECq6AYq61T0cyiPtVFWhwd5RBRT82Yp83SILvQVW2KwR/Q==","shasum":"7cd58a9bb22e4b4745f05d0f2309f2e9b8ef7b6b","tarball":"https://registry.npmjs.org/solana-validator.js/-/solana-validator.js-1.2.1.tgz","fileCount":4,"unpackedSize":10209,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCwrI5xnq4XYaCR55pSH2eW8BdVaSsuCkLoSY39CjSO7wIhAKitdxBUf0Iu0iWAeZjje/roeoBlKGJTWpIkJgL+p33V"}]},"_npmUser":{"name":"stevewilliam","email":"steve980102@gmail.com"},"directories":{},"maintainers":[{"name":"stevewilliam","email":"steve980102@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/solana-validator.js_1.2.1_1741826875913_0.4567734102206866"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-10T12:08:00.679Z","modified":"2025-03-13T00:47:56.240Z","1.0.0":"2025-03-10T12:08:00.841Z","1.1.0":"2025-03-10T12:10:34.270Z","1.1.1":"2025-03-10T12:15:54.168Z","1.2.0":"2025-03-10T12:20:56.099Z","1.2.1":"2025-03-13T00:47:56.076Z"},"author":{"name":"depayhub.net"},"license":"ISC","description":"Javascript Solana RPC provider","maintainers":[{"name":"stevewilliam","email":"steve980102@gmail.com"}],"readme":"[![npm][npm-image]][npm-url]\n[![npm-downloads][npm-downloads-image]][npm-url]\n[![semantic-release][semantic-release-image]][semantic-release-url]\n<br />\n[![code-style-prettier][code-style-prettier-image]][code-style-prettier-url]\n\n[code-style-prettier-image]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square\n[code-style-prettier-url]: https://github.com/prettier/prettier\n[npm-downloads-image]: https://img.shields.io/npm/dm/@solana/web3.js.svg?style=flat\n[npm-image]: https://img.shields.io/npm/v/@solana/web3.js.svg?style=flat\n[npm-url]: https://www.npmjs.com/package/@solana/web3.js\n[semantic-release-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-release-url]: https://github.com/semantic-release/semantic-release\n\n> [!NOTE]\n> This is the maintenance branch for the 1.x line of `@solana/validator.js`. You can find the successor to this library [here](https://l.anza.xyz/s/js-sdk-repo).\n\n# Solana Validator JavaScript SDK (v1.x)\n\nUse this to interact with accounts and programs on the Solana network through the Solana [JSON RPC API](https://solana.com/docs/rpc).\n\n## Installation\n\n### For use in Node.js or a web application\n\n```\n$ npm install --save @solana-validator.js@1\n```\n\n### For use in a browser, without a build system\n\n```html\n<!-- Development (un-minified) -->\n<script src=\"https://unpkg.com/solana-validator.js@latest/lib/index.iife.js\"></script>\n\n<!-- Production (minified) -->\n<script src=\"https://unpkg.com/solana-validator.js@latest/lib/index.iife.min.js\"></script>\n```\n\n## Documentation and examples\n\n- [The Solana Cookbook](https://solanacookbook.com/) has extensive task-based documentation using this library.\n- For more detail on individual functions, see the [latest API Documentation](https://solana-labs.github.io/solana-web3.js)\n\n## Getting help\n\nHave a question or a problem? Check the [Solana Stack Exchange](https://solana.stackexchange.com) to see if anyone else is having the same one. If not, [post a new question](https://solana.stackexchange.com/questions/ask).\n\nInclude:\n\n- A detailed description of what you're trying to achieve\n- Source code, if possible\n- The text of any errors you encountered, with stacktraces if available\n\n## Compatibility\n\nThis library requires a JavaScript runtime that supports [`BigInt`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) and the [exponentiation operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Exponentiation). Both are supported in the following runtimes:\n\n- Runtimes, [by version](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt):\n  - Deno: >=1.0\n  - Node: >=10.4.0\n- React Native:\n  - \\>=0.7.0 using the [Hermes](https://reactnative.dev/blog/2022/07/08/hermes-as-the-default) engine ([integration guide](https://solanacookbook.com/integrations/react-native.html#how-to-use-solana-web3-js-in-a-react-native-app)):\n\n## Development environment setup\n\n### Testing\n\n#### Unit tests\n\nTo run the full suite of unit tests, execute the following in the root:\n\n```shell\n$ npm test\n```\n\n#### Integration tests\n\nIntegration tests require a validator client running on your machine.\n\nTo install a test validator:\n\n```shell\n$ npm run test:solana-validator.js:setup\n```\n\nTo start the test validator and run all of the integration tests in live mode:\n\n```shell\n$ cd packages/library-legacy\n$ npm run test:solana-validator.js\n```\n\n## Contributing\n\nIf you found a bug or would like to request a feature, please [file an issue](https://github.com/solana-labs/solana-web3.js/issues/new). If, based on the discussion on an issue you would like to offer a code change, please make a [pull request](https://github.com/solana-labs/solana-web3.js/compare). If neither of these describes what you would like to contribute, read the [getting help](#getting-help) section above.\n ","readmeFilename":"README.md"}