diff --git a/docs/04-resources/04-tutorials/eas.md b/docs/04-resources/04-tutorials/eas.md new file mode 100644 index 00000000..ae86fc29 --- /dev/null +++ b/docs/04-resources/04-tutorials/eas.md @@ -0,0 +1,65 @@ +--- +sidebar_position: 400 +title: EAS +sidebar_label: Interact with EAS +description: "Ethereum Attestation Service (EAS) is an open-source infrastructure public good for making attestations onchain or offchain.. Learn how to use it on Rootstock." +tags: [knowledge-base, EAS, Attestation, ] +--- + +## What is Ethereum Attestation Service (EAS)? +[Ethereum Attestation Service (EAS)](https://attest.org/) is an open-source infrastructure public good for making attestations onchain or offchain. + +EAS is a standard and base layer where any entity can make attestations about anything. This primitive and ledger of attestations will help us decentralize more than just money and assets. We'll be able to coordinate and build reputation systems, voting systems, governance systems, decentralized social media, provenance of goods, knowledge and social graphs, and much much more. + +### Rootstock Integration +To bring EAS to Rootstock, we deployed the necessary contracts, integrated the indexer, and customized an alternative explorer. Details of these implementations will be covered in the following sections + +### Key Things to Know About EAS + +EAS runs on two [simple smart contracts](https://docs.attest.org/docs/core--concepts/how-eas-works): one for registering attestation Schemas and another for attesting with them. Schemas can be registered for any use case, and attestations can be made onchain or offchain. You can also add a resolver contract to the Schema for advanced use cases, such as onchain verification of attestation data and attaching payments to attestations. + +## Start Building + +### Open-Source Code + +EAS is transparent and community-driven. Dive into our open-source repositories: + +- [Contracts](https://github.com/rsksmart/eas-contracts): The contracts are elegantly simple. We forked the repository adding the contracts for Rootstock Mainnet and Testnet. +- [SDK](https://github.com/ethereum-attestation-service/eas-sdk): See the latest version of the SDK Library. +- [Indexing Service](https://github.com/rsksmart/eas-indexing-service): See how we index attestation data. Added support for Rootstock Testnet and Mainnet. +- [Explorer](https://github.com/rsksmart/EAS-devtool): Alternative Explorer UI to display attestations. + +## EAS Contracts +We have deployed on Rootstock Mainnet and Tesnet the EAS contracts: + +### Mainnet + +* **EAS**: + * Contract: [0x54C0726E9d2D57Bc37AD52c7E219A3229e0eE963](https://explorer.rootstock.io/address/0x54c0726e9d2d57bc37ad52c7e219a3229e0ee963) +* **SchemaRegistry**: + * Contract: [0xeF29675d82CC5967069d6d9C17F2719f67728F5B](https://explorer.rootstock.io/address/0xeF29675d82CC5967069d6d9C17F2719f67728F5B) +* **EIP712Proxy**: + * Contract: [0x08cc68B734B14E7984D638eF141eC6De9Faf7d27](https://explorer.rootstock.io/address/0x08cc68B734B14E7984D638eF141eC6De9Faf7d27) +* **Indexer**: + * Contract: [0x4c0Ac010C2ec50fc1Ff3e7E35DaDA06A7F26073f](https://explorer.rootstock.io/address/0x4c0Ac010C2ec50fc1Ff3e7E35DaDA06A7F26073f) + +### Testnet + +* **EAS**: + * Contract: [0xc300aeEaDd60999933468738c9F5D7e9C0671e1c](https://explorer.testnet.rootstock.io/0xc300aeEaDd60999933468738c9F5D7e9C0671e1c) +* **SchemaRegistry**: + * Contract: [0x679c62956cD2801AbAbF80e9D430f18859Eea2d5](https://explorer.testnet.rootstock.io/0x679c62956cD2801AbAbF80e9D430f18859Eea2d5) +* **EIP712Proxy**: + * Contract: [0x91dD0c0795E22f7448bC2330aDe1020D2115cCbC](https://explorer.testnet.rootstock.io/0x91dD0c0795E22f7448bC2330aDe1020D2115cCbC) +* **Indexer**: + * Contract: [0x4352E5b2567551986E21eD65D5Ad3052a09e3717](https://explorer.testnet.rootstock.io/address/0x4352E5b2567551986E21eD65D5Ad3052a09e3717) + + +## Useful Resources + +- [EAS](https://attest.org/) +- [Core Concepts](https://docs.attest.org/docs/category/core-concepts) +- [How EAS Works](https://docs.attest.org/docs/core--concepts/how-eas-works) +- [Use Cases](https://docs.attest.org/docs/quick--start/use-cases-overview)] +- [EAS Docs](https://docs.attest.org/docs/welcome) +- [EAS Github](https://github.com/ethereum-attestation-service) \ No newline at end of file