Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

web3

Package Overview
Dependencies
7
Maintainers
4
Versions
194
Issues
File Explorer

Advanced tools

web3

Ethereum JavaScript API

    1.9.0latest
    GitHub

Version published
Maintainers
4
Weekly downloads
595,281
increased by5.58%

Weekly downloads

Changelog

Source

[1.9.0]

Fixed

  • Fixed skipped ws-ganache tests (#5759)
  • Fixed "provider started to reconnect error" in web3-provider-ws (#5820)
  • Fixed Error: Number can only safely store up to 53 bits (#5845)
  • Fixed types for packages which have default exports but not declared default export in .d.ts (#5866)
  • Fixed Transaction type by adding missing properties (#5856)

Changed

  • Add optional hexFormat param to getTransaction and getBlock that accepts the value 'hex' (#5845)

  • utils.toNumber and utils.hexToNumber can now return the large unsafe numbers as BigInt, if true was passed to a new optional parameter called bigIntOnOverflow (#5845)

  • Updated @types/bn.js dependency to 5.1.1 in web3, web3-core and web3-eth-contract as reason mentioned in #5640 (#5885)

  • Add description to error for failed connection on websocket (#5884)

Security

  • Updated dependencies (#5885)

[Unreleased]

Readme

Source

web3

Web3.js 4.x has been released. Checkout 4.x API documentation and migration guide for testing, early feedback and contributions.

NPM Package

This is the main package of web3.js.

Please read the main README and documentation for more.

Installation

You can install the package either using NPM or using Yarn

Using NPM

npm install web3

Using Yarn

yarn add web3

Types

All the TypeScript typings are placed in the types folder.

Keywords

FAQs

Last updated on 20 Mar 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc