[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3742":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":14,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":23,"defaultBranch":24,"hasWiki":22,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":36,"discoverSource":37},3742,"web3.js","web3\u002Fweb3.js","web3","Collection of comprehensive TypeScript libraries for Interaction with the Ethereum JSON RPC API and utility functions.","https:\u002F\u002Fweb3js.org\u002F",null,"TypeScript",19936,5109,3,144,0,2,12,6,45,"Other",true,false,"4.x",[26,27,28,29,30,31,7,32],"abi-decoders","abi-encoders","api","ethereum","javascript","typescript","web3js","2026-06-12 02:00:53","\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Flogo\u002Fweb3js.jpg\" width=\"300\" alt=\"web3.js\" \u002F>\n\u003C\u002Fp>\n\n# Web3.js\n\n### Web3.js libraries are being sunset on March 4th, 2025. For migration guides and more details please refer to [Chainsafe blog](https:\u002F\u002Fblog.chainsafe.io\u002Fweb3-js-sunset\u002F)\n\n[![Dependency Status][downloads-image]][npm-url] ![Unit Test Coverage](https:\u002F\u002Fimg.shields.io\u002Fcodecov\u002Fc\u002Fgithub\u002Fweb3\u002Fweb3.js\u002F4.x?label=unit%20test%20coverage)\n![Commit Activity](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcommit-activity\u002Fm\u002Fweb3\u002Fweb3.js\u002F4.x?label=commit%20activity%20on%204.x)\n![Contributors](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcontributors\u002Fweb3\u002Fweb3.js?label=contributors%20on%20all%20branches)\n\n![ES Version](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FES-2020-yellow)\n![Node Version](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fnode-14.x-green)\n\nWeb3.js is a TypeScript implementation of the [Ethereum JSON RPC API](https:\u002F\u002Feth.wiki\u002Fjson-rpc\u002FAPI) and related tooling maintained by [ChainSafe Systems](https:\u002F\u002Fchainsafe.io).\n\n## Installation\n\nYou can install the package either using [NPM](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3) or using [Yarn](https:\u002F\u002Fyarnpkg.com\u002Fpackage\u002Fweb3)\n\n> If you wanna checkout latest bugfix or feature, use `npm install web3@dev`\n\n### Using NPM\n\n```bash\nnpm install web3\n```\n\n### Using Yarn\n\n```bash\nyarn add web3\n```\n\n## Getting Started\n\n-   :writing_hand: If you have questions [submit an issue](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Fissues\u002Fnew\u002Fchoose) or join us on [Discord](https:\u002F\u002Fdiscord.gg\u002FyjyvFRP)\n    ![Discord](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F593655374469660673.svg?label=Discord&logo=discord)\n\n## Prerequisites\n\n-   :gear: [NodeJS](https:\u002F\u002Fnodejs.org\u002F) (LTS\u002FFermium)\n-   :toolbox: [Yarn](https:\u002F\u002Fyarnpkg.com\u002F)\u002F[Lerna](https:\u002F\u002Flerna.js.org\u002F)\n\n## Migration Guide\n\n-   [Migration Guide from Web3.js 1.x to 4.x](https:\u002F\u002Fdocs.web3js.org\u002Fguides\u002Fweb3_upgrade_guide\u002Findex)\n    Breaking changes are listed in migration guide and its first step for migrating from Web3.js 1.x to 4.x. If there is any question or discussion feel free to ask in [Discord](https:\u002F\u002Fdiscord.gg\u002FyjyvFRP), and in case of any bug or new feature request [open issue](https:\u002F\u002Fgithub.com\u002Fweb3\u002Fweb3.js\u002Fissues\u002Fnew) or create a pull request for [contributions](https:\u002F\u002Fgithub.com\u002Fweb3\u002Fweb3.js\u002Fblob\u002F4.x\u002F.github\u002FCONTRIBUTING.md).\n\n## Useful links\n\n-   [Web3 tree shaking support guide](https:\u002F\u002Fdocs.web3js.org\u002Fguides\u002Fadvanced\u002Ftree_shaking\u002F)\n-   [React App Example](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3js-example-react-app)\n\n## Architecture Overview\n\n| Package                                                                                           | Version                                                                                                                                                                           | License                                                                                                               | Docs                                                                                                           | Description                                                                                                   |\n| ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |\n| [web3](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3)                               | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3)                               | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3)                | :rotating_light: Entire Web3.js offering (includes all packages)                                              |\n| [web3-core](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-core)                     | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-core%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-core)                     | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-core)           | Core functions for web3.js packages                                                                           |\n| [web3-errors](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-errors)                 | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-errors%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-core)                   | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-errors)         | Errors Objects                                                                                                |\n| [web3-eth](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-eth)                       | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-eth%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-eth)                       | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-eth)            | Modules to interact with the Ethereum blockchain and smart contracts                                          |\n| [web3-eth-abi](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-eth-abi)               | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-eth-abi%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-eth-abi)               | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-eth-abi)        | Functions for encoding and decoding EVM in\u002Foutput                                                             |\n| [web3-eth-accounts](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-eth-accounts)     | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-eth-accounts%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-eth-accounts)     | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-eth-accounts)   | Functions for managing Ethereum accounts and signing                                                          |\n| [web3-eth-contract](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-eth-contract)     | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-eth-contract%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-eth-contract)     | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-eth-contract)   | The contract package contained in [web3-eth](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-eth) |\n| [web3-eth-ens](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-eth-ens)               | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-eth-ens%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-eth-ens)               | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-eth-ens)        | Functions for interacting with the Ethereum Name Service                                                      |\n| [web3-eth-iban](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-eth-iban)             | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-eth-iban%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-eth-iban)             | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-eth-iban)       | Functionality for converting Ethereum addressed to IBAN addressed and vice versa                              |\n| [web3-eth-personal](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-eth-personal)     | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-eth-personal%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-eth-personal)     | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-eth-personal)   | Module to interact with the Ethereum blockchain accounts stored in the node                                   |\n| [web3-net](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-net)                       | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-net%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-net)                       | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-net)            | Functions to interact with an Ethereum node's network properties                                              |\n| [web3-providers-http](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-providers-http) | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-providers-http%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-providers-http) | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-providers-http) | Web3.js provider for the HTTP protocol                                                                        |\n| [web3-providers-ipc](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-providers-ipc)   | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-providers-ipc%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-providers-ipc)   | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-providers-ipc)  | Web3.js provider for IPC                                                                                      |\n| [web3-providers-ws](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-providers-ws)     | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-providers-ws%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-providers-ws)     | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-providers-ws)   | Web3.js provider for the Websocket protocol                                                                   |\n| [web3-rpc-methods](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-rpc-methods)       | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-rpc-methods%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-types)             | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002F)                    | RPC Methods                                                                                                   |\n| [web3-types](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-types)                   | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-types%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-types)                   | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-types)          | Shared useable types                                                                                          |\n| [web3-utils](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-utils)                   | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-utils%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-utils)                   | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-utils)          | Useful utility functions for Dapp developers                                                                  |\n| [web3-validator](https:\u002F\u002Fgithub.com\u002FChainSafe\u002Fweb3.js\u002Ftree\u002F4.x\u002Fpackages\u002Fweb3-validator)           | [![npm](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fweb3\u002Fweb3.js\u002F4.x?filename=packages%2Fweb3-validator%2Fpackage.json)](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fweb3-validator)           | [![License: LGPL v3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-LGPL%20v3-blue.svg)](https:\u002F\u002Fwww.gnu.org\u002Flicenses\u002Flgpl-3.0) | [![documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftypedoc-blue)](https:\u002F\u002Fdocs.web3js.org\u002Fapi\u002Fweb3-validator)      | Utilities for validating objects                                                                              |\n\n## Package.json Scripts\n\n| Script                         | Description                                                        |\n| ------------------------------ | ------------------------------------------------------------------ |\n| clean                          | Uses `rimraf` to remove `dist\u002F`                                    |\n| build                          | Uses `tsc` to build all packages                                   |\n| lint                           | Uses `eslint` to lint all packages                                 |\n| lint:fix                       | Uses `eslint` to check and fix any warnings                        |\n| format                         | Uses `prettier` to format the code                                 |\n| test                           | Uses `jest` to run unit tests in each package                      |\n| test:integration               | Uses `jest` to run tests under `\u002Ftest\u002Fintegration` in each package |\n| test:unit                      | Uses `jest` to run tests under `\u002Ftest\u002Funit` in each package        |\n| test:manual:long-connection-ws | Runs manual tests for keeping a long WebSocket connection          |\n| test:manual                    | Runs manual tests under `test\u002Fmanual` in the web3 package          |\n\n[npm-url]: https:\u002F\u002Fnpmjs.org\u002Fpackage\u002Fweb3\n[downloads-image]: https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Fweb3?label=npm%20downloads\n","Web3.js是一个用于与以太坊JSON RPC API交互的TypeScript库集合，同时提供了一系列实用工具函数。它支持ABI编码解码、账户管理、合约部署等功能，并且能够帮助开发者轻松地构建基于以太坊的应用程序。该库使用现代JavaScript（ES2020）编写，兼容Node.js 14.x版本以上环境。适用于需要与以太坊区块链进行交互的各种场景，如去中心化应用开发、智能合约测试等。尽管项目计划于2025年3月4日停止维护，但目前仍可通过NPM或Yarn安装使用，并有详细的迁移指南供参考。","2026-06-11 02:55:55","top_language"]