Dapp storeEthereumWeb3 developer toolsWeb3 libraries
web3.js
web3.js
Alchemy CustomerWeb3 libraries

web3.js

web3.js was a TypeScript/JavaScript library for connecting dApps with the Ethereum blockchain, sunset on March 4th, 2025.

Ethereum Logo
Open-source
This link will take you to a third-party site not owned or operated by Alchemy.

What is web3.js?

web3.js was a TypeScript/JavaScript library created to help developers connect their dApps with information on the Ethereum blockchain. Using its modular libraries, developers could interact with smart contracts as TypeScript/JavaScript objects, subscribe to on-chain events, get block state directly from Ethereum nodes, and more. Its version 4 was rewritten in TypeScript and provided new features like Plugins. The library had over 500,000 weekly downloads and was used by industry-leading projects such as Truffle. Note: Web3.js libraries were sunset on March 4th, 2025. For migration guides and more details, refer to the ChainSafe blog.

Stream any onchain event for web3.js with Custom Webhooks
Get your API key

Best Web3 libraries

Discover more web3 applications and developer tools.

See all dapps

Developer resources from Alchemy

Dapp store background image

Build blockchain magic

Alchemy combines the most powerful web3 developer products and tools with resources, community and legendary support.
Get your API key