walnuthq / starkflare

This tool monitors the resource usage of the StarkNet Mainnet rollup in real time, such as calldata, storage, and gas consumption. Its aim is to help take steps to further optimize the rollup.
https://starkflare.pages.dev
Apache License 2.0
5 stars 11 forks source link

Data tile BE: contracts burning most steps #25

Closed jbmkahdeksan closed 4 months ago

jbmkahdeksan commented 4 months ago

Resolves #5

Implemented a new GET endpoint api/contract-stats to retrieve get_top_contracts_by_steps from the migrations database. Attached you will find a picture of the implementation running.

Missing the Voyager API part. Wrote about this topic in Telegram group As conversed with the maintainers, we will have a function that will gather the name of the contract from the Voyager API, I will deliver an skeleton of the function and the maintainers will implement the Voyager API integration since they are not able to share the API key. image

contract names are currently null for the statement above