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

docs(libs-credentials): update credentials doc to reflect EAS criteria changes #572

Merged
merged 4 commits into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions libs/credentials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ Validates the EAS attestations of a user.
- **id**: The id for the EAS attestations validation.
- **criteria**:
- **minAttestations**: The minimum number of attestations required.
- **recipient**: The recipient of the attestation.
- **attester** (_optional_): The attester of the attestation.
- **schemaId** (_optional_): The schema id of the attestation.
- **revocable** (_optional_): The revocable option of the attestation.
Expand All @@ -193,17 +192,16 @@ validateCredentials(
id: easAttestations.id,
criteria: {
minAttestations: 1,
recipient: "0x0",
schemaId: "0x",
attester: "0x1",
schemaId: "0x2",
revocable: false,
revoked: false,
isOffchain: false
}
},
{
network: EASNetworks.ETHEREUM_SEPOLIA,
address: "0x1"
address: "0x2"
}
)
```
Expand Down
Loading