EAS contracts
This guide covers Ethereum Attestation Service ("EAS") (opens in a new tab), an open-source public good that is included as a predeploy in the OP Stack. It also covers EAS contract addresses, how to read and write attestations, and indexing.
EAS contract addresses
The Ethereum Attestation Service (opens in a new tab) is deployed on these addresses:
Network | Attestation Contract | Schema Registry Contract |
---|---|---|
OP Sepolia | 0x4200000000000000000000000000000000000021 (opens in a new tab) | 0x4200000000000000000000000000000000000020 (opens in a new tab) |
OP Mainnet | 0x4200000000000000000000000000000000000021 (opens in a new tab) | 0x4200000000000000000000000000000000000020 (opens in a new tab) |
How to read and write attestations
You can read and write attestations in several ways:
- EAS scan user interface (OP Mainnet) (opens in a new tab)
- EAS scan user interface (OP Sepolia) (opens in a new tab)
- JavaScript SDK (opens in a new tab)
- Access directly onchain (opens in a new tab) (if you need to attest from a smart contract)
Indexing
Indexing is available via:
- GraphQL endpoint (opens in a new tab)
- Ponder graph (opens in a new tab)
- Open source indexer (opens in a new tab)
Next steps
For more information on working with attestations, see Build Decentralized Identity Apps with Attestations.