Skip to content

Index all of an address's ERC-20 token balances in an instant using Alchemy's Enhanced APIs!

Notifications You must be signed in to change notification settings

mahmudoloyede/erc20-indexer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple ERC-20 Indexer

This is an skeleton app that uses the Alchemy SDK rigged to Alchemy's Enhanced APIs in order to display all of an address's ERC-20 token balances.

Set Up

  1. Install dependencies by running npm install
  2. Start application by running npm run dev

Challenge

Fork this repo and build out more features! This is minimalistic on purpose.

We purposefully built this app to be minimalistic so that you can get some software development practice in fixing our bugs! 🪲

Here are a few challenge suggestions:

  1. Add Wallet integration so that any user that connects their wallet can check their ERC-20 token balance
  2. There is no indication of a request in progress... that's bad UX! Do you think you can add some sort of indication of loading?
  3. Add some styling! 🎨
  4. The token balances can sometimes be a little long and break the outline of the page... can you fix that? 🔧
  5. There is no error-checking for wrongly formed requests, or really any error checking of any kind... can you add some in?
  6. The images and grid display could look better... anything you can do about that?
  7. There are ways to make this app faster... can you implement some of them? How can the query be made even quicker?
  8. Can you add ENS support for inputs?
  9. Completely open-ended!! Use this as the base for your next hackathon project, dream company or personal expedition :)

About

Index all of an address's ERC-20 token balances in an instant using Alchemy's Enhanced APIs!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.5%
  • CSS 23.4%
  • HTML 7.1%