Inspiration

Desire to dig deeper into web3 and run analytics on the Ethereum blockchain.

What it does

WhaleHunter searches the transaction history of an ERC-20 token to identify all current token holders and their token balance. The list is sorted by balance in descending order, showing the biggest whales at the top.

How I built it

It was built with React, web3.js, and Semantic-UI.

Challenges I ran into

Using web3 to filter events over such a large number of blocks would both hit a limit with Infura and cause an error due to a MetaMask memory leak. I fixed this by implementing a batching system for requests.

Accomplishments that I'm proud of

Optimizing the search algorithm to run in a fraction of the original amount of time so it would be practical for a user.

What I learned

How Ethereum handles events and how to filter for them with web3.js.

Built With

Share this project:

Updates