When I write code that works with the Ethereum blockchain, I find myself copy-pasting hex addresses into the etherscan.io search box every five seconds. I was able to speed this up by adding a custom search engine for etherscan to chrome, but I still had to copy paste every address from my terminal into the browser.

Enter iTerm2 Triggers. They let you perform an action when text in your terminal matches a provided regular expression. Our goal is to turn every properly formatted hex address into a hyperlink to the etherscan.io search url.

First, following the instructions on the triggers page, create a new trigger in iTerm2 by opening Preferences > Profiles >…

Elliot Plant

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store