Skip to content

amisolution/dappTx

 
 

Repository files navigation

dappTx

Shows volume of biggest ethereum smart contracts by function name. Pulls data from Infura, puts it in a postgres DB. Exposed via a webapp that queries the DB. Building front-end.

See Dev branch: alt text

Sample Response:

"2018-1-29": {
    "sampledEthTx": 388,
    "contractTx": 13,
    "functions": {
        "withdraw": 3,
        "deposit": 2,
        "withdrawToken": 3,
        "trade": 5
    }
}

run

  • nodemon server.js
  • cd client
  • npm start

important files

  • pullData.js: called by cronjob. polls infura api for new blocks to save in DB
  • frequency.js: returns contract tx frequency by timestamp
  • server.js: entry point
  • home.js: chart controller

next

inspirated by @owocki gitcoinco/skunkworks#19 (comment)

About

analyze eth smart contract volume

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.4%
  • CSS 17.5%
  • HTML 4.8%
  • Jupyter Notebook 0.3%