{"_id":"@atlaschain/web3.js","name":"@atlaschain/web3.js","dist-tags":{"latest":"1.0.0-maintenance"},"versions":{"1.0.0-maintenance":{"name":"@atlaschain/web3.js","version":"1.0.0-maintenance","description":"Atlas Javascript API","keywords":["api","blockchain"],"license":"MIT","author":{"name":"Atlas Labs Maintainers","email":"maintainers@atlaslabs.com"},"homepage":"https://atlaschain.org/","repository":{"type":"git","url":"git+https://github.com/atlas-foundation/atlas-web3.js.git"},"bugs":{"url":"http://github.com/atlas-foundation/atlas-web3.js.git/issues"},"publishConfig":{"access":"public"},"browser":{"./lib/index.cjs.js":"./lib/index.browser.cjs.js","./lib/index.esm.js":"./lib/index.browser.esm.js"},"react-native":"lib/index.native.js","main":"lib/index.cjs.js","module":"lib/index.esm.js","types":"lib/index.d.ts","browserslist":["defaults","not IE 11","maintained node versions"],"scripts":{"compile:docs":"typedoc --treatWarningsAsErrors","compile:js":"cross-env NODE_ENV=production rollup -c","compile:typedefs":"./scripts/typegen.sh","build:fixtures":"set -ex; ./test/fixtures/noop-program/build.sh","clean":"rimraf ./doc ./declarations ./lib","dev":"cross-env NODE_ENV=development rollup -c --watch","prepublishOnly":"pnpm pkg delete devDependencies","publish-packages":"semantic-release --repository-url git@github.com:atlas-foundation/atlas-web3.js.git","test:lint":"eslint src/ test/ --ext .js,.ts","test:lint:fix":"eslint src/ test/ --fix --ext .js,.ts","test:live":"TEST_LIVE=1 pnpm run test:unit","test:live-with-test-validator":"start-server-and-test './scripts/start-shared-test-validator.sh' http://127.0.0.1:8899/health test:live","test:live-with-test-validator:setup":"./scripts/setup-test-validator.sh","test:prettier":"prettier --check '{,{src,test}/**/}*.{j,t}s'","test:prettier:fix":"pnpm prettier --write '{,{src,test}/**/}*.{j,t}s'","test:typecheck":"tsc --noEmit","test:unit":"cross-env NODE_ENV=test NODE_OPTIONS='--import tsx' mocha './test/**/*.test.ts'"},"dependencies":{"@babel/runtime":"^7.25.0","@noble/curves":"^1.4.2","@noble/hashes":"^1.4.0","@solana/buffer-layout":"^4.0.1","@solana/codecs-numbers":"^2.1.0","agentkeepalive":"^4.5.0","bn.js":"^5.2.1","borsh":"^0.7.0","bs58":"^4.0.1","buffer":"6.0.3","fast-stable-stringify":"^1.0.0","jayson":"^4.1.1","node-fetch":"^2.7.0","rpc-websockets":"^9.0.2","superstruct":"^2.0.2"},"_id":"@atlaschain/web3.js@1.0.0-maintenance","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-QzDo1LYrDyy9DW/1+EKspxgMb43BOS35REOUG5Z3upGaAmeGmyaX/zZ2Rne/1KgiCKfUbJsRDmmK0wVMUWcjoA==","shasum":"d568356590e5a070c464d577b2afdfab7f02dbbd","tarball":"https://registry.npmjs.org/@atlaschain/web3.js/-/web3.js-1.0.0-maintenance.tgz","fileCount":77,"unpackedSize":11073281,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCRNVAMxSVTPnS6IYZ2huoWXx9P1YrDSxsVlyap8mgsTQIgZi2/qVvBixwAY7bdp4NHHI47A4lbR9nboskAiK6LvSo="}]},"_npmUser":{"name":"atlaschain","email":"jq@atlaschain.org"},"directories":{},"maintainers":[{"name":"atlaschain","email":"jq@atlaschain.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/web3.js_1.0.0-maintenance_1764612195400_0.5581761486440406"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-01T18:03:15.295Z","1.0.0-maintenance":"2025-12-01T18:03:15.651Z","modified":"2025-12-01T18:03:15.977Z"},"maintainers":[{"name":"atlaschain","email":"jq@atlaschain.org"}],"description":"Atlas Javascript API","homepage":"https://atlaschain.org/","keywords":["api","blockchain"],"repository":{"type":"git","url":"git+https://github.com/atlas-foundation/atlas-web3.js.git"},"author":{"name":"Atlas Labs Maintainers","email":"maintainers@atlaslabs.com"},"bugs":{"url":"http://github.com/atlas-foundation/atlas-web3.js.git/issues"},"license":"MIT","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/@atlaschain/web3.js.svg?style=flat\n[npm-image]: https://img.shields.io/npm/v/@atlaschain/web3.js.svg?style=flat\n[npm-url]: https://www.npmjs.com/package/@atlaschain/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 `@atlaschain/web3.js`. You can find the successor to this library here: [`@atlas/kit`](https://l.anza.xyz/s/js-sdk-repo).\n\n# Atlas JavaScript SDK (v1.x)\n\nUse this to interact with accounts and programs on the Atlas network through the Atlas [JSON RPC API](https://atlaschain.org/docs/rpc).\n\n## Installation\n\n### For use in Node.js or a web application\n\n```\n$ npm install --save @atlaschain/web3.js\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/@atlaschain/web3.js@latest/lib/index.iife.js\"></script>\n\n<!-- Production (minified) -->\n<script src=\"https://unpkg.com/@atlaschain/web3.js@latest/lib/index.iife.min.js\"></script>\n```\n\n## Documentation and examples\n\n- [The Atlas Cookbook](https://atlascookbook.com/) has extensive task-based documentation using this library.\n- For more detail on individual functions, see the [latest API Documentation](https://atlas-foundation.github.io/atlas-web3.js)\n\n## Getting help\n\nHave a question or a problem? Check the [Atlas Stack Exchange](https://atlas.stackexchange.com) to see if anyone else is having the same one. If not, [post a new question](https://atlas.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- Browsers, by [release date](https://caniuse.com/bigint):\n  - Chrome: May 2018\n  - Firefox: July 2019\n  - Safari: September 2020\n  - Mobile Safari: September 2020\n  - Edge: January 2020\n  - Opera: June 2018\n  - Samsung Internet: April 2019\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://atlascookbook.com/integrations/react-native.html#how-to-use-atlas-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:live-with-test-validator: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:live-with-test-validator\n```\n\n## Contributing\n\nIf you found a bug or would like to request a feature, please [file an issue](https://github.com/atlas-foundation/atlas-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/atlas-foundation/atlas-web3.js/compare). If neither of these describes what you would like to contribute, read the [getting help](#getting-help) section above.\n\n## Disclaimer\n\nAll claims, content, designs, algorithms, estimates, roadmaps,\nspecifications, and performance measurements described in this project\nare done with the Atlas Foundation's (\"AF\") best efforts. It is up to\nthe reader to check and validate their accuracy and truthfulness.\nFurthermore nothing in this project constitutes a solicitation for\ninvestment.\n\nAny content produced by AF or developer resources that AF provides, are\nfor educational and inspiration purposes only. AF does not encourage,\ninduce or sanction the deployment, integration or use of any such\napplications (including the code comprising the Atlas blockchain\nprotocol) in violation of applicable laws or regulations and hereby\nprohibits any such deployment, integration or use. This includes use of\nany such applications by the reader (a) in violation of export control\nor sanctions laws of the United States or any other applicable\njurisdiction, (b) if the reader is located in or ordinarily resident in\na country or territory subject to comprehensive sanctions administered\nby the U.S. Office of Foreign Assets Control (OFAC), or (c) if the\nreader is or is working on behalf of a Specially Designated National\n(SDN) or a person subject to similar blocking or denied party\nprohibitions.\n\nThe reader should be aware that U.S. export control and sanctions laws\nprohibit U.S. persons (and other persons that are subject to such laws)\nfrom transacting with persons in certain countries and territories or\nthat are on the SDN list. As a project based primarily on open-source\nsoftware, it is possible that such sanctioned persons may nevertheless\nbypass prohibitions, obtain the code comprising the Atlas blockchain\nprotocol (or other project code or applications) and deploy, integrate,\nor otherwise use it. Accordingly, there is a risk to individuals that\nother persons using the Atlas blockchain protocol may be sanctioned\npersons and that transactions with such persons would be a violation of\nU.S. export controls and sanctions law. This risk applies to\nindividuals, organizations, and other ecosystem participants that\ndeploy, integrate, or use the Atlas blockchain protocol code directly\n(e.g., as a node operator), and individuals that transact on the Atlas\nblockchain through light clients, third party interfaces, and/or wallet\nsoftware.\n","readmeFilename":"README.md","_rev":"1-43153f77e6d0a4667b85ba40c520f685"}