Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Crypto Address LensNew to Visual Studio Code? Get it now.
Crypto Address Lens

Crypto Address Lens

peetzweg

|
1,577 installs
| (1) | Free
VSCode extension to inspect and validate crypto address inside the source code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🔭 Crypto Address Lens (for VSCode)

➡ Install Extension on Marketplace

☕ Fund Extension on Gitcoin

✒️ Write a Review on the Marketplace

Features

  • highlights ethereum style addresses
  • tells you if address checksum is correct
  • directly links to blockchain explorer
  • shows contracts "symbol()" inline if available
  • offers code actions ('CMD' + '.') to fix checksum of address or convert it to lowercase

demo

Configuration

Valid configurations settings with defaults:

//settings.json
{
  "cryptoAddressLens.rpcs": {
    "Ethereum": "https://rpc.ankr.com/eth",
    "Arbitrum": "https://1rpc.io/arb",
    "Optimism": "https://mainnet.optimism.io",
    "Polygon": "https://rpc-mainnet.matic.quiknode.pro",
    "BSC": "https://binance.nodereal.io"
  },
  "cryptoAddressLens.explorers": {
    "Etherscan": "https://etherscan.io/address/",
    "Arbiscan": "https://arbiscan.io/address/",
    "Optimism": "https://optimistic.etherscan.io/address/",
    "Polygonscan": "https://polygonscan.com/address/",
    "Bscscan": "https://bscscan.com/address/"
  }
}

Highlights Ethereum style wallet addresses in your code. It will check if it's a valid address and even check if it has a correct checksum if mixed case was used.

See directly if the used address is valid.

It currently differentiates between these four states:

  1. Mixed Cased Address with CORRECT checksum

  2. Mixed Cased Address with INVALID checksum

  3. All lower cased Address

  4. Not a valid address at all!

Known Issues

See Issues on Github

Release Notes

See CHANGELOG


Following extension guidelines

Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.

  • Extension Guidelines

Thanks

I used these tutorials to get me started.

Decorations

https://vscode.rocks/decorations/

https://github.com/microsoft/vscode-extension-samples/blob/main/decorator-sample/USAGE.md

Diagnostics

https://github.com/microsoft/vscode-extension-samples/blob/main/code-actions-sample/src/extension.ts

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft