Release 0.15.3
This is a minor release with a new address checksum scheme.
web3.toChecksumAddress(address)
- converts any address to a checksummed address (0xfb6916095ca1df60bb79ce92ce3ea74c37c5d359
➔0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359
) according to Vitalik's EIPweb3.isChecksumAddress(address)
- returnstrue
if an address contains a valid checksum, otherwisefalse
. Only checks case matching the address, doesn't check address format.web3.isAddress()
- returnsfalse
if it's not on a valid address format. Returnstrue
if it's an all lowercase or all uppercase valid address. If it's a mixed case address, it checks usingweb3.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 ;)