Jump to favorite BTC or ETH explorer

This is a great little chrome extension that would be even better if it was a PopClip extension I could use anywhere.

The basics of it is this - I want to have the ability to select an ethereum address or a bitcoin address, have popclip recognize that it is, and then give me the option to open it in the explorer of my choice.

this:
^0x[a-fA-F0-9]{40}$
an regex for ethereum addresses.

this:
(?:[13]{1}[a-km-zA-HJ-NP-Z1-9]{26,33}|bc1[a-z0-9]{39,59})
is a regex for BTC addresses.

Example explorer for ethereum would be : https://etherscan.io/address/{address}
Example explorer for bitcoin would be : https://blockchair.com/bitcoin/address/{address}
Master list of ethereum explorers : chrome extension

If someone could help me make one example, I could manually make more of them.

2 Likes