project screenshot 1
project screenshot 2
project screenshot 3

Optimism ATST Subgraph

Optimism Attestation Station Subgraph - A subgraph for attestations of about address in Attestation Station

Optimism ATST Subgraph

Created At

Scaling Ethereum 2023

Project Description

Optimism Attestation Station Subgraph - This project was envisaged from the project ideas mentioned on: https://github.com/ethereum-optimism/optimism-project-ideas . The project intends to create a subgraph to store indexed data for attestations in Attestation Station of Optimism. It creates two entities in GraphQl schema AboutAddress and AttestationList. It uses Create Attestation event of AttestationStation Smart contract.

How it's Made

I learnt the Graph protocol which was new to me. I learnt about Optimism as well. Due to shortage of time, I could not compile the code but all the three files needed for subgraph are submitted in text format. The project creates two entities in GraphQl schema AboutAddress and AttestationList. It uses Create Attestation event of AttestationStation Smart contract. How the last transaction which updated the attestation's hash is used in logic is important. It avoids loading attestations for an About Address to get sequence number when creating new attestation.

background image mobile

Join the mailing list

Get the latest news and updates