Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generic Attestation discount validator #36

Merged
merged 8 commits into from
Jun 18, 2024

Conversation

stevieraykatz
Copy link
Collaborator

@stevieraykatz stevieraykatz commented Jun 17, 2024

Adds a discount validator for the attestations issued by the Coinbase Verification system: https://github.com/coinbase/verifications/tree/main

Two validation steps are completed per call:

  1. The attestation for the claimer is fetched from the Coinbase attestation indexer and then validated agains EAS.
  2. The validationData is unpacked and signature validation is performed against the encoded signature to ensure that the Coinbase sybil resistance service has signed off on this discount.

@stevieraykatz stevieraykatz changed the title Add Verified Account attestation discount validator Add generic Attestation discount validator Jun 17, 2024
@stevieraykatz stevieraykatz marked this pull request as ready for review June 18, 2024 17:13
@stevieraykatz stevieraykatz merged commit 082ed1b into main Jun 18, 2024
1 of 3 checks passed
@stevieraykatz stevieraykatz deleted the attestation-validator branch June 18, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant