Skip to content

Store and return contract hashes #30

@whoabuddy

Description

@whoabuddy

We create a sha256 hash of the source code for all DAO contracts.

We should create a durable object that let's us store this information and retrieve it.

  • in any of the deploy- scripts we can add a method to submit the hash
  • in the cache we can verify the hash against taking the hash of the contract source from the API
  • in the frontend we can use it to display "verified" contracts. (h/t Louis for the idea!)
  • in other UIs/integrations we can encourage the same - they can either hash it from source or get our list of hashes
  • goal: entire list can be rebuilt from data on-chain

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions