Madhavan Malolan

發布於 2022-01-04到 Mirror 閱讀

Request to build - Hardhat plugin for checking status of deployed contracts

A quick way to do npx hardhat deployment-status that looks at all the contracts you have deployed so far.

Instagrant available if contract has high score

https://hardhat.org/advanced/building-plugins.html

List all the contracts

Fetch all the contracts that have been deployed by the default account. Map them to their ENS name if available.

For each contract, show the following statistics

Gas used

How much gas has been used in interacting with each contract. i.e. sum of gas used by all function calls on this contract.

Number of users

Number of unique accounts that have interacted with this contract.

Contract Rank

Use a heuristic to determine the rank of this contract in comparison to the other contracts that have been deployed.

Get creative on how to create a score for each contract & index contracts and their scores at regular cadence.

Insta grant

Is there a place where they can get instagrants from for this contract, based on the above score? Integrate with Grant Providers and DAOs for this.

Data providers

Use Data from

  1. Alchemy/Quicknode for information on contracts that have been deployed and the amount of gas used by calling functions
  2. Questbook insta-grants & other DAOs

Questbook insta-grants

If we approve the scoring mechanism that you have created, Questbook will provide instagrants to the top 1% contracts.

Grant

There is a grant of $5,000 to build this hardhat plugin.

To build this, please write a proposal with :

  1. What is it that you are going to build with technical specifications in depth?
    1. What technology will you use?
    2. What is the architecture?
  2. Why are you the right person to build it? In decreasing order of relevance :
    1. Already built an MVP for this
    2. Previous work on Github
    3. Previous experience/credentials
  3. What are the milestones for this? For each milestone :
    1. What is the deliverable?
    2. When?
    3. How much money you need to be disbursed upon completion of that milestone?
  4. What help do you need from Questbook team to complete this task?