Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔴 Ecosystem Project Idea: ATST Schema Reputation System #40

Closed
smartcontracts opened this issue May 17, 2023 · 1 comment
Closed

Comments

@smartcontracts
Copy link
Contributor

smartcontracts commented May 17, 2023

What is an Ecosystem Project Idea?

An Ecosystem Project Idea is an idea for a project that someone could build within the Optimism ecosystem. As opposed to an Ecosystem Concept or an Ecosystem Idea, an Ecosystem Project is generally more fleshed out and corresponds to a relatively clear product to be built.


Summary

The AttestationStation (ATST) is a central repository for attestations on OP Mainnet. The ATST is transitioning to use the Ethereum Attestation Service (EAS) standard which introduces schemas that attestations can follow. EAS schemas are defined as Solidity structs and can therefore allow attestations to contain arbitrarily complex data structures.

One problem with EAS schemas today is that it's often unclear which schema a developer should use for a given type of attestation. Sometimes a schema already exists that a developer can use, sometimes no schema exists, and sometimes multiple potential schemas exist.

It's important for developers to be able to easily understand:

  • What schemas already exist for a given type of attestation
  • Which schema to use for a given type of attestation

We propose solving these problems with the introduction of a "schema reputation system" with the following features:

  • Accounts can attest that a given schema is the "correct" schema to use for a given task
  • Users can explore the list of "correct" schemas on a web interface
  • The web interface applies a default algorithm to surface "correct" schemas
  • The web interface allows users to apply alternative algorithms to surface "correct" schemas

A simple proposal for a default algorithm would be to use attestations from reputable organizations in the space. Although this isn't totally decentralized, it provides a strong starting point. If the application is designed carefully, the default algorithm can easily be updated and improved in the future to be more decentralized. Furthermore, if the web interface allows users to include their own algorithms, then users can experiment with better mechanisms on behalf of the project.

Impact

A schema reputation system is highly impactful because it allows developers to coordinate on standardized schemas for specific tasks. Standardized schemas means that multiple applications can work from the same dataset and can easily find attestations of a given type without fear that data will be fractured across different data structures. This system also gives developers confidence that they're using a standard that others will be able to easily parse.

Resources

@brucexu-eth
Copy link

We are from LXDAO (https://lxdao.io/), an R&D-focused DAO dedicated to supporting Valuable Web3 Public Goods and open-source.

We are doing research on this topic https://forum.lxdao.io/t/idea-etherscan-like-tool-for-attestations/992 will keep you updated. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants