Awesome
lazy-etherscan
<div align="left"> <a href="https://github.com/woxjro/lazy-etherscan/"><img alt="Static Badge" src="https://img.shields.io/badge/github-woxjro%2Flazy-etherscan?style=for-the-badge&logo=github" height="20"></a> <a href="https://github.com/woxjro/lazy-etherscan/actions"><img alt="build status" src="https://img.shields.io/github/actions/workflow/status/woxjro/lazy-etherscan/rust.yml?style=for-the-badge" height="20"></a> <a href="https://github.com/woxjro/lazy-etherscan/blob/master/LICENSE"><img alt="GitHub" src="https://img.shields.io/github/license/woxjro/lazy-etherscan?style=for-the-badge" height="20"></a> </div>Features
- No Browser Required - Use it effortlessly even in environments where browsers are unavailable, such as within servers.
- Developer Friendly - Operate efficiently using keyboard shortcuts.
- Easily Switch Endpoints - Switch between endpoints, including Mainnet, Testnets, custom node connections, and even BSC endpoints.
- Rich Search Functionality - You can search by the following words.
- Address
- Block Number
- ENS ID
- Transaction Hash
- Ticker Name (
USDT
,BNB
,UNI
, ...)
Prerequisites
Optional: Etherscan API Key
To see statistics information about Ethereum, you have to set an Etherscan's free API key.
You can get it from here.
And add it to your environment variables. If you are using zsh
, run the following command.
$ echo 'export ETHERSCAN_API_KEY=XXXXXXXXXXXX' >> ~/.zshenv
Optional: ethereum-input-data-decoder
To see transactions' decoded input data, you have to preinstall ethereum-input-data-decoder
. Please run the following command.
$ npm install -g ethereum-input-data-decoder
Build
This software has been tested and verified to work correctly on the following operating systems:
Ubuntu 22.04.2 LTS
macOS Ventura 13.2
$ git clone --recursive https://github.com/woxjro/lazy-etherscan
$ cd lazy-etherscan
$ cargo run --
Configurations & Usage
Please check the various settings such as endpoints using the following command:
$ cargo run -- --help
Usage
The basic usage is as follows:
- Press
q
to exitlazy-etherscan
. - Press
s
to focus on the search bar, where you can perform searches for addresses, blocks, transactions, and more. - Press
1
to navigate the "Latest Blocks" panel. Usej
to move to a block below andk
to an above block.- Press
r
to refresh the "Latest Blocks".
- Press
- Press
2
to navigate the "Latest Transactions" panel. Usej
to move to a transaction below andk
to move to a transaction above.- Press
r
to refresh the "Latest Transactions".
- Press
- Press
<Ctrl+e>
to toggle the sidebar. - Press
<Ctrl+p>
to move to a previous screen.
Roadmap
Please see this issue.
Contributing
Any contributions are welcome! Please see CONTRIBUTING.md.
Sponsors
This project has been developed with a grant from the Ethereum Foundation and Gitcoin.
<img src="resources/gitcoin.jpg" alt="gitcoin" width="50%"/>
Acknowledgement
lazy-etherscan
is written in Rust and is built on top of ratatui.
This project is highly inspired by Etherscan, lazygit and spotify-tui.