yarn web3 0.15.3
Release 0.15.3

latest releases: 4.8.1-dev.88b7e2e.0, 4.8.1-dev.b413ebd.0, 4.8.1-dev.7a470c9.0...
8 years ago

This is a minor release with a new address checksum scheme.

  • web3.toChecksumAddress(address) - converts any address to a checksummed address (0xfb6916095ca1df60bb79ce92ce3ea74c37c5d3590xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359) according to Vitalik's EIP
  • web3.isChecksumAddress(address) - returns true if an address contains a valid checksum, otherwise false. Only checks case matching the address, doesn't check address format.
  • web3.isAddress() - returns false if it's not on a valid address format. Returns true if it's an all lowercase or all uppercase valid address. If it's a mixed case address, it checks using web3.isChecksumAddress().

Thanks to @dan-turner who we added web3.personal with account unlocking and creating functionality. Be aware that you have to enable that first when using RPC over HTTP using the --rpcapi flag. Please read more here: https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options

Note that many of the API will change in the coming 1.0 release, so don't get used to this to much ;)

Don't miss a new web3 release

NewReleases is sending notifications on new releases.