
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@ethereum-attestation-service/eas-contracts
Advanced tools
The Ethereum Attestation Service is a free and open protocol for on-chain attestations on EVM compatible blockchains. It is a generalized service that allows anyone to register a schema for their particular use case, and then make attestations following their schema.
Schemas can be registered using the SchemaRegistry.sol contract, and attestations are made using the EAS.sol contract.
In addition, we provide a resolver contract for advanced use cases, such as on-chain verification of attestation data, and also attaching payments to attestations (which makes a new suite of powerful web3 applications possible).
We also provide an SDK for developers.
On-chain attestations will enable a powerful new range of web3 applications, including:
Please note that you can also import and use the addresses directly in your code using the @ethereum-attestation-service/eas-contracts/deployments deployment artifacts corresponding to your desired network.
Version 0.26:
Version 1.0.1:
Version 1.2.0:
Version 1.0.1:
Version 1.2.0:
Version 0.26:
Version 1.3.0:
Version 1.3.0:
Version 1.3.0:
Version 1.3.0:
Version 1.3.0:
Version 1.3.0:
Version 1.2.0:
Version 0.26:
Version 1.2.0:
Version 1.0.2:
Version 1.3.0:
Version 1.0.1:
Version 1.2.0:
Version 1.2.0:
Version 1.3.0:
Version 1.0.1:
Version 1.2.0:
Version 1.1.0:
Version 1.3.0:
Version 1.3.0:
Version 1.2.0:
pnpm add @ethereum-attestation-service/eas-contracts
Testing the protocol is possible via multiple approaches:
You can run the full test suite via:
pnpm test
----------------------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
----------------------------------|----------|----------|----------|----------|----------------|
contracts/ | 100 | 100 | 100 | 100 | |
Common.sol | 100 | 100 | 100 | 100 | |
EAS.sol | 100 | 100 | 100 | 100 | |
IEAS.sol | 100 | 100 | 100 | 100 | |
ISchemaRegistry.sol | 100 | 100 | 100 | 100 | |
Indexer.sol | 100 | 100 | 100 | 100 | |
SchemaRegistry.sol | 100 | 100 | 100 | 100 | |
Semver.sol | 100 | 100 | 100 | 100 | |
contracts/eip1271/ | 100 | 100 | 100 | 100 | |
EIP1271Verifier.sol | 100 | 100 | 100 | 100 | |
contracts/eip712/proxy/ | 100 | 100 | 100 | 100 | |
EIP712Proxy.sol | 100 | 100 | 100 | 100 | |
contracts/eip712/proxy/examples/ | 100 | 100 | 100 | 100 | |
PermissionedEIP712Proxy.sol | 100 | 100 | 100 | 100 | |
contracts/resolver/ | 100 | 100 | 100 | 100 | |
ISchemaResolver.sol | 100 | 100 | 100 | 100 | |
SchemaResolver.sol | 100 | 100 | 100 | 100 | |
contracts/resolver/examples/ | 100 | 100 | 100 | 100 | |
AttestationResolver.sol | 100 | 100 | 100 | 100 | |
AttesterResolver.sol | 100 | 100 | 100 | 100 | |
DataResolver.sol | 100 | 100 | 100 | 100 | |
ExpirationTimeResolver.sol | 100 | 100 | 100 | 100 | |
PayingResolver.sol | 100 | 100 | 100 | 100 | |
RecipientResolver.sol | 100 | 100 | 100 | 100 | |
RevocationResolver.sol | 100 | 100 | 100 | 100 | |
TokenResolver.sol | 100 | 100 | 100 | 100 | |
ValueResolver.sol | 100 | 100 | 100 | 100 | |
----------------------------------|----------|----------|----------|----------|----------------|
All files | 100 | 100 | 100 | 100 | |
----------------------------------|----------|----------|----------|----------|----------------|
In order to audit the test coverage of the full test suite, run:
pnpm test:coverage
You can profile the gas costs of all of the user-focused flows via:
pnpm test:profile
EAS is open source and distributed under the MIT License (see LICENSE).
FAQs
Ethereum Attestation Service
The npm package @ethereum-attestation-service/eas-contracts receives a total of 3,989 weekly downloads. As such, @ethereum-attestation-service/eas-contracts popularity was classified as popular.
We found that @ethereum-attestation-service/eas-contracts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.