opensource-observer / oso

Measuring the impact of open source software
https://opensource.observer
Apache License 2.0
68 stars 16 forks source link

Web hook to add new contracts deployed by projects already in the registry #1472

Open ccerv1 opened 10 months ago

ccerv1 commented 10 months ago

Lot of people use hardhat deployer or foundry scripts to deploy. It will be cool to build a hook that automatically adds contract address to the repo or creates a PR. Or even better, writes to chain and you can read from there.

ryscheng commented 10 months ago

Proposal

  1. Get the origin git remote and the commit hash
  2. Get the contract address that we just deployed
  3. Mint an EAS attestation using the same wallet that pairs these 2 things