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

fix README.md #118

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ console.log('Transaction receipt:', transaction.receipt);

The `revoke` function allows you to revoke an on-chain attestation. This function takes an object with the following properties:

- `schema`: The UID of the schema for which the attestation is being revoke.
- `schema`: The UID of the schema for which the attestation is being revoked.
- `data`: An object containing the following properties:
- `uid`: The UID of the attestation to revoke.
- `value`: (Optional) The ETH value that is being sent with the revocation.
Expand Down Expand Up @@ -374,7 +374,7 @@ console.log('Transaction receipt:', transaction.receipt);

The `revokeByDelegation` function allows you to create a delegated on-chain revocation for a specific attestation. This function takes an object with the following properties:

- `schema`: The UID of the schema for which the attestation is being revoke.
- `schema`: The UID of the schema for which the attestation is being revoked.
- `data`: An object containing the following properties:
- `uid`: The UID of the attestation to revoke.
- `value`: (Optional) The ETH value that is being sent with the revocation.
Expand Down Expand Up @@ -446,7 +446,7 @@ const transaction = await eas.timestamp(uid);
await transaction.wait();
```

To create a timestamp for a any piece of data, you can use the `timestamp` function provided by the EAS SDK. Here's an example:
To create a timestamp for any piece of data, you can use the `timestamp` function provided by the EAS SDK. Here's an example:

```javascript
import { EAS } from '@ethereum-attestation-service/eas-sdk';
Expand Down
Loading