# Ethereum Attestation Service（EAS）

整理：链小知（AI 辅助）
资料核对日期：2026-10-12
引用地址：https://lianxiaozhi.com/tools/ethereum-attestation-service

链上记录与链下EIP712证明工具。核对本人已有UID/schema、发行方、接收人、有效期和撤销记录，区分验签、链上存在与应用资格。

官方入口：https://attest.org/
类别：开发与基础设施
网络：具体支持网络见官方文档
访问条件：官方源码和文档公开；本页仅核已有去敏记录。链下验签与链上RPC读取不同，写入/时间戳/撤销另需signer；不上传证明或运行SDK。
费用：固定文档说明offchain签名无链Gas，onchain存储有网络Gas；offchain时间戳/撤销、resolver可能另涉链操作或支付，不承诺全部零费。SDK MIT许可不代表部署/第三方服务统一免费，当前具体报价/费用未知。

## 用途
- 解释既有Offchain验签失败
- 核对domain/版本/schema与UID
- 分开链上存在/到期/撤销
- 核对发行方与应用准入

## 使用边界
- EAS docs固定d4d311源码、SDK9ebc43 package2.10.0和合约e6e970 package1.9.0为不同范围；SDK依赖1.7.1，任意部署/已装版本未核。
- 当前网络部署矩阵未独立取得，networks留空；README旧Sepolia/chain1示例不推当前支持范围。
- 旧文档/README Offchain构造和Version2示例与源码不同；不提供可复制执行的拼接代码，EOA恢复方法不验收EIP1271合约签名。
- 验签不检查当前expiry/revocation或信任策略；所读合约isAttestationValid仅存在检查，不等有效资格。
- schema/issuer/recipient/data真假与应用权利需独立核；链下UID/timestamp不代表完整内容在链上或永久可取。
- 未访问样本/业务API/RPC/账户/SDK执行，未创建/上传/签发/撤销或签名；全部documentation。

## 操作教程
- [EAS 链下证明验签失败：核对版本、domain与UID](https://lianxiaozhi.com/tools/guides/eas-offchain-signature-domain-uid-record-check)：用本人已有证明及验签记录区分UID不符、签名类型/域错误与真正资格，保留旧SDK示例差异。
- [EAS 链上记录存在却不获资格：核对schema、期限与撤销](https://lianxiaozhi.com/tools/guides/eas-onchain-uid-schema-expiry-revocation)：对照本人已有链上证明和schema记录，把UID存在、状态与应用资格分别判断，避免误读isAttestationValid。

## 相关知识
- [把数据上链，与只保存数据哈希有什么区别？](https://lianxiaozhi.com/learn/data-onchain-vs-offchain)
- [钱包签消息与签交易有什么区别？不付 Gas 的签名也要读内容](https://lianxiaozhi.com/learn/wallet-message-vs-transaction)
- [合约代码已验证，为什么仍不能直接判断安全？](https://lianxiaozhi.com/learn/verified-contract-boundaries)
- [原始、解码和整理后的链上数据有什么区别？](https://lianxiaozhi.com/learn/raw-decoded-curated-data)

## 官方依据
- [EAS 固定文档：链上/链下存储](https://raw.githubusercontent.com/ethereum-attestation-service/eas-docs-site/d4d3116003bcd77554c5a147e88a27fc03b19242/docs/core--concepts/onchain-vs-offchain.md)
- [EAS 固定旧文档：Offchain验证](https://raw.githubusercontent.com/ethereum-attestation-service/eas-docs-site/d4d3116003bcd77554c5a147e88a27fc03b19242/docs/developer-tools/verify-attestation.md)
- [EAS SDK 固定包清单2.10.0](https://raw.githubusercontent.com/ethereum-attestation-service/eas-sdk/9ebc43fc0345679c8a521a1f497592015b9deb17/package.json)
- [EAS SDK 固定README：已有记录字段](https://raw.githubusercontent.com/ethereum-attestation-service/eas-sdk/9ebc43fc0345679c8a521a1f497592015b9deb17/README.md)
- [EAS SDK 固定Offchain源码](https://raw.githubusercontent.com/ethereum-attestation-service/eas-sdk/9ebc43fc0345679c8a521a1f497592015b9deb17/src/offchain/offchain.ts)
- [EAS SDK 固定EAS记录读取](https://raw.githubusercontent.com/ethereum-attestation-service/eas-sdk/9ebc43fc0345679c8a521a1f497592015b9deb17/src/eas.ts)
- [EAS SDK 固定SchemaRegistry](https://raw.githubusercontent.com/ethereum-attestation-service/eas-sdk/9ebc43fc0345679c8a521a1f497592015b9deb17/src/schema-registry.ts)
- [EAS SDK 固定SchemaEncoder解码](https://raw.githubusercontent.com/ethereum-attestation-service/eas-sdk/9ebc43fc0345679c8a521a1f497592015b9deb17/src/schema-encoder.ts)
- [EAS SDK 固定TypedData验签](https://raw.githubusercontent.com/ethereum-attestation-service/eas-sdk/9ebc43fc0345679c8a521a1f497592015b9deb17/src/offchain/typed-data-handler.ts)
- [EAS 合约固定实现：UID存在与状态](https://raw.githubusercontent.com/ethereum-attestation-service/eas-contracts/e6e970286ff18bbdfc5d8eff2742c5ece46040e4/contracts/EAS.sol)
- [EAS 合约固定包清单1.9.0](https://raw.githubusercontent.com/ethereum-attestation-service/eas-contracts/e6e970286ff18bbdfc5d8eff2742c5ece46040e4/package.json)
