oso icon indicating copy to clipboard operation
oso copied to clipboard

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

Open ccerv1 opened this issue 2 years ago • 1 comments

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.

ccerv1 avatar Nov 26 '23 12:11 ccerv1

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

ryscheng avatar Nov 27 '23 19:11 ryscheng