
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
ethereum-checksum-address
Advanced tools
Convert Ethereum address to a checksummed address
https://lab.miguelmota.com/ethereum-checksum-address
npm install ethereum-checksum-address
Convert to a checksummed address:
const { toChecksumAddress } = require('ethereum-checksum-address')
console.log(toChecksumAddress('0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1')) // '0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1'
console.log(toChecksumAddress('0x90F8BF6A479F320EAD074411A4B0E7944EA8C9C1')) // '0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1'
Check if address is a checksummed address:
const { checkAddressChecksum } = require('ethereum-checksum-address')
console.log(checkAddressChecksum('0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1')) // true
console.log(checkAddressChecksum('0x90F8BF6A479F320EAD074411A4B0E7944EA8C9C1')) // false
Install:
npm install -g ethereum-checksum-address
Convert address to checksummed address:
$ ethereum_checksum_address 0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1
0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1
Check if address is a checksummed address
$ ethereum_checksum_address 0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1 --check
true
Piping address example:
$ echo 0x90F8bf6A479f320ead074411a4B0e7944Ea8c9C1 | ethereum_checksum_address --check
true
npm test
FAQs
Convert Ethereum address to a checksummed address
The npm package ethereum-checksum-address receives a total of 7,105 weekly downloads. As such, ethereum-checksum-address popularity was classified as popular.
We found that ethereum-checksum-address demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.