Skip to main content

EAS Attestations in OKcontract

The OKcontract Interactions Hub aims to streamline the creation and distribution of smart contract interactions by providing a trusted repository of interaction specifications.

To enhance the safety and reliability of these interactions, we have integrated the Ethereum Attestation Service (EAS). This integration allows the developer community to participate in the curation and quality control of contract interactions, ensuring that users can trust the interactions they engage with.

Why We Chose EAS?

The Ethereum Attestation Service (EAS) is a decentralized protocol for creating and verifying attestations on the Ethereum blockchain. It enables users to make signed statements (attestations) about various subjects, such as identity, reputation, and asset ownership. EAS is permissionless, flexible, and supports both on-chain and off-chain attestations, making it a foundational infrastructure for building trust and transparency in the Ethereum ecosystem​.

In our case, an attestation is a signed statement that can assert the quality of a smart contract interaction specification. On the OKcontract Interactions Hub, developers write short specifications for contract interactions. These specifications are easy to read and verify. By leveraging EAS, we create an open global system for verifying and attesting to the quality and authenticity of contract interaction specifications.

Our Goals

  • Transparency: We use onchain attestations, making them publicly accessible and verifiable.
  • Community Participation: We make it easy for the developer community to participate in the attestation process, fostering a collaborative approach to quality control and curation.

Community-Managed Curation and Quality Control

To create an open, global system that empowers the community to oversee curation and quality control, we invite developers to participate in the verification process.

Quality control

To assess quality, individual developers can invite team members and other trusted community members to attest to the contract interaction specifications they create. This community moderation ensures that specifications are reviewed and quality-assessed by third parties.

Curation and Scoring

To facilitate curation, we need a scoring system that incorporates both OKcontract attestations and third-party EAS attestations. This system builds a trust score for each interaction specification, influenced by third-party reputation systems and attestations. For example, the scoring system might retrieve data from other EAS attestations, including those created by smart contract auditors or reputable platforms like Coinbase verifications. The scoring system might include warnings that impact the overall score, p.e. in case of a detected contract vulnerability signaled by an auditor. In the future, user feedback might also be integrated into this scoring system, contributing to the contract interaction rating.

IMG