Skip to content

Commit

Permalink
docs: add warnings to experimental actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Apr 3, 2024
1 parent 5c6e6f0 commit c849056
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions site/pages/experimental/actions/getCallsStatus.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Returns the status and receipts of a call batch that was sent via `sendCalls`.

[Read more.](https://github.com/ethereum/EIPs/blob/1d759f24e6552a516091bb1fe3361d9ca44d085c/EIPS/eip-5792.md#wallet_getcallsstatus)

:::warning[Warning]
This is an experimental action that is not supported in most wallets. It is recommended to have a fallback mechanism if using this in production.
:::

## Usage

:::code-group
Expand Down
6 changes: 6 additions & 0 deletions site/pages/experimental/actions/getCapabilities.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Extract capabilities (grouped by chain ID) that a connected wallet supports (e.g

[Read more.](https://github.com/ethereum/EIPs/blob/1d759f24e6552a516091bb1fe3361d9ca44d085c/EIPS/eip-5792.md#wallet_getcapabilities)

:::warning[Warning]
This is an experimental action that is not supported in most wallets. It is recommended to have a fallback mechanism if using this in production.
:::

## Usage

:::code-group

```ts twoslash [example.ts]
Expand Down
4 changes: 4 additions & 0 deletions site/pages/experimental/actions/sendCalls.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Requests for the wallet to sign and broadcast a batch of calls (transactions) to

[Read more.](https://github.com/ethereum/EIPs/blob/1d759f24e6552a516091bb1fe3361d9ca44d085c/EIPS/eip-5792.md#wallet_sendcalls)

:::warning[Warning]
This is an experimental action that is not supported in most wallets. It is recommended to have a fallback mechanism if using this in production.
:::

## Usage

:::code-group
Expand Down
4 changes: 4 additions & 0 deletions site/pages/experimental/actions/writeContracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Requests for the wallet to sign and broadcast a batch of write contract calls (t

[Read more.](https://github.com/ethereum/EIPs/blob/1d759f24e6552a516091bb1fe3361d9ca44d085c/EIPS/eip-5792.md#wallet_sendcalls)

:::warning[Warning]
This is an experimental action that is not supported in most wallets. It is recommended to have a fallback mechanism if using this in production.
:::

## Usage

:::code-group
Expand Down

0 comments on commit c849056

Please sign in to comment.