Skip to content

Commit

Permalink
Use generic call-outs
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoch authored Oct 1, 2024
1 parent e83bf65 commit cb1464c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions packages/idos-sdk-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,16 @@ const isValid = await idOS.verifiableCredentials
.catch((e) => false);
```

> [!NOTE]
> πŸ›ˆ Note
>
> For more examples and data queries, see:
>
> - the [quick reference](#quick-reference) below
> - [`πŸ“ idos-example-dapp`](https://github.com/idos-network/idos-sdk-js/tree/main/apps/idos-example-dapp) for a simple implementation
> - [`πŸ“ idos-data-dashboard`](https://github.com/idos-network/idos-sdk-js/tree/main/apps/idos-data-dashboard) for a thorough example
> [!TIP]
> πŸ’‘ Tip
>
> Need support? Please follow [this process](https://github.com/idos-network/.github/blob/main/profile/README.md).
## Diving deeper
Expand Down Expand Up @@ -359,7 +361,8 @@ await sdk.grants.shareMatchingEntry(
});
```

> [!TIP]
> πŸ’‘ Tip
>
> See a working example [idos-example-dapp](https://github.com/idos-network/idos-sdk-js/tree/main/apps/idos-example-dapp)
### Delegated Access Grants
Expand All @@ -368,7 +371,8 @@ A delegated Access Grant (dAG) is a way of creating / revoking an Access Grant b

The message building is exposed as the `idos.grants.messageForCreateBySignature`. Submitting the resulting messages and its user signature is exposed as `idosGrantee.createBySignature`.

> [!CAUTION]
> πŸ›‘ Caution
>
> This is not implemented for NEAR yet. If you want to use dAGs today, you'll have to call the right contract directly.
This is especially relevant for dApps who want to subsidise the cost of transaction necessary to create an AG.
Expand Down

0 comments on commit cb1464c

Please sign in to comment.