Skip to content

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 https://github.com/gitcoinco/skunkworks/issues/19#issuecomment-354695051

About

analyze eth smart contract volume

Resources

Stars

9 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages