github ethers-io/ethers.js v3.0.1
Version 3.0.1

latest releases: v6.13.4, v6.13.3, v6.13.2...
6 years ago

This is a major version release with several breaking changes:

  • Solidity functions with only one return variable, return it directly
  • ethers._SigningKey is removed
  • The entire package is one large package, so require('ethers-utils') should become require('ethers/utils'); similarly 'ethers-contracts' ('ethers/contracts'), 'ethers-providers' ('ethers/providers') and 'ethers-wallet' ('ethers/wallet').
  • The AbiCoder has been moved to utils, so Interface.encodeParams becomes AbiCoder.prototype.encode and similarly Interface.decodeParams becomes AbiCoder.prototype.decode.
  • Legacy boolean Provider network parameters no longer work; for Ropsten, please pass in "ropsten"
  • Provider.prototype.testnet is no longer present
  • The Interface method.inputs and method.outputs have changed to support ABI v2, so they are no longer compatible with the old format and each have 2 sub-properties, types and names.

Don't miss a new ethers.js release

NewReleases is sending notifications on new releases.