# web3/web3.js

Collection of comprehensive TypeScript libraries for Interaction with the Ethereum JSON RPC API and utility functions.

Repository: https://github.com/web3/web3.js
Canonical: https://ross.abutalabs.com/products/web3js
Homepage: https://web3js.org/
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: ethereum, javascript, api, typescript, web3, web3js, abi-decoders, abi-encoders
Archived: true
Last push: 2025-03-05T08:48:59+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 9, release rhythm 40, longevity 100
- inputs: {"age_days": 4355, "days_push": 546, "days_rel": 638, "gap_med": 26, "n_releases_24m": 4}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 19917, forks 5103 (observed 2026-08-28T04:11:29.377011+00:00)

## What it is
Web3.js is a collection of TypeScript/JavaScript libraries for interacting with Ethereum and EVM-compatible blockchains via the JSON-RPC API, including smart contract interaction, ABI encoding/decoding, account management, and event subscriptions. The libraries were officially sunset on March 4th, 2025, so the project is no longer actively developed.

## Use cases
- interact with ethereum smart contracts from javascript
- deploy and call smart contracts in a dapp
- encode and decode contract ABIs in typescript
- sign transactions and manage ethereum accounts
- subscribe to on-chain events over websocket
- connect to any EVM chain via JSON-RPC
- resolve ENS names in a web app

## When to choose
- maintaining an existing dapp already built on web3.js
- you need the mature, well-documented oldest Ethereum JS library and accept it is sunset
- working in a legacy Node.js or browser codebase standardized on web3.js

## When to avoid
- starting a new project - the libraries are officially sunset as of March 2025
- you want ongoing updates, security patches, or community support
- you prefer actively maintained alternatives like ethers.js or viem

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, http-client, websocket, serialization, cryptography
- domain: blockchain, web-development, developer-tools, apis
- platform: browser, cross-platform
- tags: ethereum, web3, json-rpc, smart-contracts, abi-encoding, evm, dapp-development, sunset, cryptocurrency, nodejs, typescript

## Member repositories
- web3/web3.js (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:29.377011+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:59:23.968723+00:00, confidence not recorded.
  - readme: https://github.com/web3/web3.js (fetched 2026-08-28T04:11:29.377011+00:00, sha cac33d94accd)
  - homepage: https://web3js.org/ (fetched 2026-08-29T07:58:21.418245+00:00, sha 7c2b28025440)
  - site_page: https://docs.web3js.org/ (fetched 2026-08-29T07:58:21.428536+00:00, sha 37ceb0efa775)
- Data as of 2026-08-30T08:39:29.467469+00:00.
