dawsbot / eth-labels

📃 A public dataset of crypto addresses labeled
https://eth-labels-production.up.railway.app/swagger
MIT License
198 stars 30 forks source link

Refactor away `scanConfig` #84

Closed dawsbot closed 4 months ago

dawsbot commented 4 months ago

This is the stuff we drew on the whiteboard @kylewandishin

  1. Create a Chain class, which has url, chainName, puller
  2. Replace the objects in scanConfig with an Array<Chains>
  3. Change getConfig to return an array of chain classes
  4. Parallelize login, pull, sort, & store