Skip to content

Commit

Permalink
Merge pull request #572 from bandada-infra/docs/libs-credentials
Browse files Browse the repository at this point in the history
docs(libs-credentials): update credentials doc to reflect EAS criteria changes
  • Loading branch information
vplasencia authored Oct 9, 2024
2 parents a59f0c4 + eabfc56 commit fc55309
Showing 1 changed file with 2 additions and 4 deletions.
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

0 comments on commit fc55309

Please sign in to comment.