Skip to content

Commit 2f588b2

Browse files
committed
fix: update references to iExec explorer in documentation
1 parent 537af5f commit 2f588b2

File tree

4 files changed

+23
-10
lines changed

4 files changed

+23
-10
lines changed

src/guides/manage-data/handle-schemas-dataset-types.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ Think of schemas as **data fingerprints** - they tell iApp "this protected data
1616
contains an email address and a phone number" without revealing the actual
1717
values.
1818

19+
Use the
20+
<a :href="`${explorerUrl}/datasets`" target="_blank" rel="noopener">iExec
21+
explorer</a> to browse protected data and see their asset types. Make filtered
22+
searches based on schema to find data that fits your needs.
23+
1924
## How schemas work
2025

2126
When you protect data with DataProtector, the SDK automatically analyzes your
@@ -269,3 +274,16 @@ explore next:
269274
for running computations
270275
- **See it in action**: Try our [Hello World tutorial](/get-started/helloWorld)
271276
for a complete example
277+
278+
<script setup>
279+
import { computed } from 'vue';
280+
import useUserStore from '@/stores/useUser.store';
281+
import {getChainById} from '@/utils/chain.utils';
282+
283+
// Get current chain info
284+
const userStore = useUserStore();
285+
const selectedChain = computed(() => userStore.getCurrentChainId());
286+
287+
const chainData = computed(() => getChainById(selectedChain.value));
288+
const explorerUrl = computed(() => chainData.value.iexecExplorerUrl);
289+
</script>

src/references/dataProtector/dataProtectorCore/processProtectedData.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,7 @@ const processProtectedDataResponse =
208208

209209
Do not use this to provide any sensitive information to the application. All
210210
arguments passed this way are visible in plain text using the
211-
<a :href="explorerUrl" target="_blank" rel="noopener">iExec blockchain
212-
explorer</a> .
211+
<a :href="explorerUrl" target="_blank" rel="noopener">iExec explorer</a> .
213212

214213
:::
215214

@@ -448,8 +447,7 @@ import { type ProcessProtectedDataResponse } from '@iexec/dataprotector';
448447

449448
The ID of the transaction that happened on iExec's side chain. You may view
450449
details on the transaction using the
451-
<a :href="explorerUrl" target="_blank" rel="noopener">iExec blockchain
452-
explorer</a> .
450+
<a :href="explorerUrl" target="_blank" rel="noopener">iExec explorer</a> .
453451

454452
### dealId
455453

@@ -463,8 +461,7 @@ Identifies the specific deal associated with this transaction.
463461

464462
A unique identifier associated with a task currently running on the iExec
465463
protocol. You can monitor task execution using the
466-
<a :href="explorerUrl" target="_blank" rel="noopener">iExec blockchain
467-
explorer</a> .
464+
<a :href="explorerUrl" target="_blank" rel="noopener">iExec explorer</a> .
468465

469466
::: tip
470467

src/references/web3mail/methods/sendEmail.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,8 +313,7 @@ import { type SendEmailResponse } from '@iexec/web3mail';
313313

314314
This uniquely identifies the email task on the iExec side chain. You can view
315315
the status of the `sendEmail` method by monitoring the task on the
316-
<a :href="explorerUrl" target="_blank" rel="noopener">iExec blockchain
317-
explorer</a> .
316+
<a :href="explorerUrl" target="_blank" rel="noopener">iExec explorer</a> .
318317

319318
## Error Handling
320319

src/references/web3telegram/methods/sendTelegram.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,7 @@ import { type SendTelegramResponse } from '@iexec/web3telegram';
281281

282282
This uniquely identifies the telegram task on the iExec side chain. You can view
283283
the status of the `sendTelegram` method by monitoring the task on the
284-
<a :href="explorerUrl" target="_blank" rel="noopener">iExec blockchain
285-
explorer</a> .
284+
<a :href="explorerUrl" target="_blank" rel="noopener">iExec explorer</a> .
286285

287286
<script setup>
288287
import { computed } from 'vue';

0 commit comments

Comments
 (0)