EAS

1.3K installs


Category

Developer

EAS

Identifier

@ethereum-attestation-service/eas-metamask-snap
See Details

Description by EAS

The EAS Snap enhances the transparency and security of EAS attestations signed with your MetaMask. It decodes attestation data, allowing users to clearly understand and verify the details before confirming a transaction. Why It Matters When signing attestations with MetaMask, the data often appears in a hexadecimal format, which is not human-readable. The EAS Snap converts this data into a clear, readable format. This ensures you're fully aware of the attestation's details, mitigating the risk of unintentional or malicious signings. Key Features - Attestation Decoding: Utilizes SchemaEncoder from the EAS SDK to decode attestation data, presenting it in a readable format. - Transaction Data Parsing: The snap parses Ethereum transaction data to identify if it is related to an EAS attestation, using ethers library. - Dynamic Content Rendering: It dynamically renders transaction details in the MetaMask UI, including schema, recipient, reference UID, expiration time, and revocability status, offering users a complete overview of the attestation they are about to sign. - Time Formatting: Utilizes dayjs with extended formats to display expiration times in a user-friendly manner. - GraphQL Integration: Communicates with EAS's GraphQL endpoint to fetch and display the schema associated with the attestation. - Data Decoding and Display: Decodes and displays each piece of attestation data using the fetched schema, allowing users to understand the specifics of what they are attesting. After installing the Snap, you can view insights in the transaction flow while interacting with an EAS contract. To explore EAS, try EAS Scan: sepolia.easscan.org.

Permissions by EAS

  • Access the internet

  • Fetch and display transaction insights


Related Snaps

See All

Start exploring blockchain applications in seconds. Trusted by over 30 million users worldwide.

About

  • Website
  • Developer Docs

You acknowledge that any Snap that you install is a Third Party Service, unless otherwise identified, as defined in the Consensys Terms of Use. Your use of Third Party Services is governed by separate terms and conditions set forth by the Third Party Service provider. Consensys does not recommend the use of any Snap by any particular person for any particular reason. You access, rely upon or use the Third Party Service at your own risk. Consensys disclaims all responsibility and liability for any losses on account of your use of Third Party Services. Any information you share with Third Party Services will be collected directly by those Third Party Services in accordance with their privacy policies. Please refer to their privacy policies for more information. Consensys has no access to information you share with Third Party Services.

©2024 MetaMask. All rights reserved. Privacy Policy & Terms of Use