Skip to content

Commit f13ac50

Browse files
committed
docs: add ChainNotSupportedBadge to payment guides and methods
Updated the payment guides for Web3Mail, Web3Telegram, and execution methods to include the ChainNotSupportedBadge for the useVoucher section. Enhanced clarity by importing the badge component in relevant script sections.
1 parent 57eee4b commit f13ac50

File tree

6 files changed

+14
-7
lines changed

6 files changed

+14
-7
lines changed

src/guides/use-iapp/how-to-pay-executions.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ iexec account show
8686
iexec account deposit 100
8787
```
8888

89-
## Method 2: Paying with Vouchers
89+
## Method 2: Paying with Vouchers <ChainNotSupportedBadge />
9090

9191
Vouchers are pre-funded payment instruments that simplify the payment process
9292
and can be shared with others.
@@ -493,3 +493,7 @@ Now that you understand payment methods:
493493
- Learn about [Adding Inputs to Execution](./add-inputs-to-execution.md)
494494
- Explore [Using iApps with Protected Data](./use-iapp-with-protected-data.md)
495495
- Review the pricing information above for detailed cost analysis
496+
497+
<script setup>
498+
import ChainNotSupportedBadge from '@/components/ChainNotSupportedBadge.vue'
499+
</script>

src/guides/use-iapp/how-to-pay/how-to-pay-for-web3mail.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ messages, ensuring secure and decentralized email exchanges.
1616
This guide explains how to pay for Web3Mail's computing power using **vouchers**
1717
and **xRLC**, detailing the steps for each method.
1818

19-
## Using Vouchers for Web3Mail
19+
## Using Vouchers for Web3Mail <ChainNotSupportedBadge />
2020

2121
### Step 1: Obtain a Voucher
2222

@@ -162,4 +162,5 @@ iexec.account.withdraw(RLC_amount);
162162
<script setup>
163163
// Assets
164164
import builderDashboardImage from '@/assets/tooling-&-explorers/builder-dashboard/builder-dashboard.png';
165+
import ChainNotSupportedBadge from '@/components/ChainNotSupportedBadge.vue'
165166
</script>

src/guides/use-iapp/how-to-pay/how-to-pay-for-web3telegram.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ send messages, ensuring secure and decentralized email exchanges.
1717
This guide explains how to pay for Web3Telegram's computing power using
1818
**vouchers** and **xRLC**, detailing the steps for each method.
1919

20-
## Using Vouchers for Web3Telegram
20+
## Using Vouchers for Web3Telegram <ChainNotSupportedBadge />
2121

2222
### Step 1: Obtain a Voucher
2323

@@ -175,4 +175,5 @@ iexec.account.withdraw(RLC_amount);
175175
<script setup>
176176
// Assets
177177
import builderDashboardImage from '@/assets/tooling-&-explorers/builder-dashboard/builder-dashboard.png';
178+
import ChainNotSupportedBadge from '@/components/ChainNotSupportedBadge.vue'
178179
</script>

src/references/dataProtector/dataProtectorCore/getResultFromCompletedTask.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,4 @@ The actual content of the protected file.
141141
import RequiredBadge from '@/components/RequiredBadge.vue'
142142
import OptionalBadge from '@/components/OptionalBadge.vue'
143143
</script>
144+
```

src/references/web3mail/methods/sendEmail.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const sendEmail = await web3mail.sendEmail({
112112
});
113113
```
114114

115-
### useVoucher <OptionalBadge />
115+
### useVoucher <ChainNotSupportedBadge /><OptionalBadge />
116116

117117
**Type:** `boolean`
118118
**Default:** `false`
@@ -394,4 +394,5 @@ For any other errors, you'll get a `WorkflowError` error in the form of:
394394
<script setup>
395395
import RequiredBadge from '@/components/RequiredBadge.vue'
396396
import OptionalBadge from '@/components/OptionalBadge.vue'
397+
import ChainNotSupportedBadge from '@/components/ChainNotSupportedBadge.vue'
397398
</script>

src/references/web3telegram/methods/sendTelegram.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const sendTelegram = await web3telegram.sendTelegram({
117117
});
118118
```
119119

120-
### useVoucher <OptionalBadge />
120+
### useVoucher <ChainNotSupportedBadge /> <OptionalBadge />
121121

122122
**Type:** `boolean`
123123
**Default:** `false`
@@ -294,8 +294,7 @@ This uniquely identifies the telegram task on the iExec side chain. You can view
294294
the status of the `sendTelegram` method by monitoring the task on the
295295
[iExec Explorer](https://explorer.iex.ec/bellecour).
296296

297-
```
298-
299297
<script setup>
300298
import OptionalBadge from '@/components/OptionalBadge.vue'
299+
import ChainNotSupportedBadge from '@/components/ChainNotSupportedBadge.vue'
301300
</script>

0 commit comments

Comments
 (0)