project screenshot 1
project screenshot 2
project screenshot 3

OP AttestationStation Integration

Integrated OP AttestationStation as data provider into Sismo using the Graph

OP AttestationStation Integration

Created At

Scaling Ethereum 2023

Project Description

I have integrated OP AttestationStation as data provider for Sismo. Sismo is a identity protocol that allows you to select, add and aggregate data to your digital identity using ZK proofs. Their data providers allow you to connect various sources from both Web2 as Web3 to make claims about your data and identity using ZK technology. This results in privacy-preserving attestations that can be utilized for your digital identity.

The combination with AttestationStation allows you to create new identity sets and build more robust, trustworthy identities and reputation systems.

Using those tools, I deployed a ZK Badge for true Optimists to claim on Gnosis Chain.

How it's Made

Subgraph

I first created a subgraph to query any attestations on Optimism. It indexes by creator, creator + key and receivers and keeps track of some global stastistics. The ATST Subgraph is public and open-source and can be used by other projects and use-cases.

  • Subgraph https://thegraph.com/hosted-service/subgraph/wslyvh/optimism-atst
  • Repo https://github.com/wslyvh/optimism-atst-subgraph

Sismo

The subgraph is then used as a source for an AttestationStation data provider I created in Sismo. This allows anyone to select and query data in their factory to create new Data Groups, zkConnect Apps (SSO) and Sismo badges (SBTs).

PRs

  • Initial work https://github.com/sismo-core/sismo-hub/pull/1564
  • Value-based scoring https://github.com/sismo-core/sismo-hub/pull/1606

The data provider allows anyone to query and select any kind of attestations, from creators, keys or key/value pairs. The attestation or its values can be used as a scoring mechanism in Sismo's badges or zkConnect apps. As an example, I've included a group and badge using the Optimist Score by flipside.

  • Optimist Score by Flipside https://science.flipsidecrypto.xyz/optimist/
  • Optmists group https://factory.sismo.io/groups-explorer?search=optimists
  • ZK Badge https://factory.sismo.io/badge-dashboard/c25e7a5d-d23e-4af1-83ea-45b28f15e5c7
background image mobile

Join the mailing list

Get the latest news and updates