Skip to content

Commit

Permalink
Update hook
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Sep 23, 2024
1 parent 4202b06 commit 1131de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ensips/x.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ As well as allow for setting/removing/revoking credentials.
From the front-end developer perspective reading verifiable credentials is as simple as (name, predicate):

```tsx
const { credentials } = useVC('luc.eth', (c) => c.type == 'TelegramCredential');
const { credentials } = useCredentials('luc.eth', (c) => c.type == 'TelegramCredential');
```

Under the hood this will resolve to the `verifications` record, which is a `string[]` abi encoded.
Expand Down

0 comments on commit 1131de4

Please sign in to comment.