Optimism Attestation Station Subgraph - A subgraph for attestations of about address in Attestation Station
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.
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.