Table of Contents
<aside> đ§ EAS Build Idea: Using Attestations to Construct Social Graphs
</aside>
Near Attestation Service (NAS): onchain frontend components implementing EAS standards
accountId/schema/uid
and accountId/attestation/uid
path
instead of a UID
Schemas are named by default
Improves discoverability of schemas
Users can easily âimportâ schema libraries from each other to reuse or fork
Implications for Object Categorization: Names and Tags
Hyperfiles âď¸đ§ : data (source) adapters & indexing data objects
Import data from EAS indexer to:
Challenges & Opportunities
Mutability of reference objects
Optional non-revocability of attestation validity
EAS schemas reference types
Chain agnostic BOS frontend components for EAS ABI
Hyperfiles EVM Adapter
EAS | Hyperfiles | |
---|---|---|
Schema Metadata (Name, Description, Context) | None by default. Requires using standard schemas deployed by EAS to âattestâ to each metatdata field | Schema metadata fields are included in the schema type definition. Name is the object path & not required in metadata. |
Private Data | Requires using special âprivateDataâ schema to create Merkle Tree via ethers.js | TBD - goal is encryption by default |
Generate Proofs for Content | Can hash on/offline and use their web tool to verify a hash | None yet |
Indexed Attestations | On request | Always, via socialDB |
Indexed Schemas | Always, via SchemaRegistry.sol | Always, via socialDB |
Adapters for Import/Export | Need to create an entire frontend to integrate EAS w/ new sources | Publish data objects anywhere |
Object Mutability (data and references) | None | Yes, can update or delete any data stored under user account |
Attestation Revocability | Set by schema, immutable | Can be enable |
Schema Field Types | Solidity primitives only | Any type (can import libraries from other users or define new ones) |
Cross-chain Publish & Query | Deployed to multiple EVM chains, but each is fully independent. | Yes, and double-indexing will be implemented for references published off-NEAR. |
Delegating Txn Cost | Yes, via EIP-712. | Yes, via relayer & meta-txns. |
How best to leverage the network effect of people using & building on EAS for scientific sensemaking?
eas.hyperfiles.near
Can the indexing and adapter features of Hyperfiles be a value-add for EAS users?
Example: return every EAS attestation?
âEAS by default doesnât index attestations onchain. You can use the graphql endpoint or run your own indexer. If you require onchain indexing you can use the EASindexer contract to index and query attestations by schema id and attester/recipientâ - Steve Dakh (quoted from Telegram)
Relevant forum post: How to extract the list of attestations UIDs of a recipient using EAS-SDK? (answer in screenshot below)
Should we index all attestations? https://docs.near.org/bos/api/social#socialindex
Hyperfiles registry contract: features and requirements
Refactoring the schema and attestation types on socialDB