Skip to content

Commit 697d33b

Browse files
authored
Merge branch 'main' into feature/dynamic-robot-file
2 parents 8729975 + ee3533e commit 697d33b

File tree

14 files changed

+414
-56
lines changed

14 files changed

+414
-56
lines changed

package-lock.json

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"format": "prettier --ignore-path .gitignore --write ."
1212
},
1313
"dependencies": {
14-
"@iexec/dataprotector": "^2.0.0-beta.19",
14+
"@iexec/dataprotector": "^2.0.0-beta.20",
1515
"@iexec/dataprotector-deserializer": "^0.1.1",
16-
"@iexec/web3mail": "^1.5.0",
16+
"@iexec/web3mail": "^1.6.0",
1717
"@iexec/web3telegram": "^0.1.0-alpha.4",
1818
"@reown/appkit": "^1.7.17",
1919
"@reown/appkit-adapter-wagmi": "^1.7.17",

src/components/ChainNotSupportedBadge.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import useUserStore from '@/stores/useUser.store';
55
66
const userStore = useUserStore();
77
8-
// Check if Arbitrum is selected (Arbitrum chain ID is 42161)
8+
// Check if Arbitrum or Arbitrum Sepolia is selected (chain IDs are 42161 and 421614)
99
const isArbitrumSelected = computed(() => {
10-
return userStore.chainId === 42161;
10+
return userStore.chainId === 42161 || userStore.chainId === 421614;
1111
});
1212
1313
// Only show the badge when Arbitrum is selected

src/get-started/helloWorld/3-buildIApp.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,19 @@ Once you have your token, you can deploy your iApp.
351351
/>
352352
</template>
353353

354+
<template v-else-if="selectedChain === 421614">
355+
<CLIDemo
356+
initialCommand="iapp deploy --chain arbitrum-sepolia-testnet"
357+
asciiText="Deploy"
358+
:steps="arbitrumSepoliaSteps"
359+
:completionStep="15"
360+
:completionMessage="'Deployment of your iApp completed successfully:'"
361+
:completionItems="arbitrumSepoliaCompletionItems"
362+
:successMessage="'Run iapp run 0x1f80DCebc2EAAff0Db7156413C43B7e88D189923 to execute your iApp on an iExec TEE worker'"
363+
:autoRestart="true"
364+
/>
365+
</template>
366+
354367
<template v-else>
355368
<CLIDemo
356369
initialCommand="iapp deploy"
@@ -594,4 +607,90 @@ const bellecourCompletionItems = [
594607
'└ Docker image: bob/hello-world:0.0.1-tee-scone-5.9.1-v16-ce3a01d9c5d7',
595608
'└ iApp address: 0x1f80DCebc2EAAff0Db7156413C43B7e88D189923'
596609
];
610+
611+
const arbitrumSepoliaSteps = [
612+
{
613+
showAt: 2,
614+
question: 'Using chain arbitrum-sepolia',
615+
answer: '',
616+
showTyping: false,
617+
isComplete: true
618+
},
619+
{
620+
showAt: 3,
621+
question: 'This method requires sending blockchain transactions, transaction fees will be applied. Would you like to continue?',
622+
answer: 'Yes',
623+
options: [
624+
{ label: 'Yes', selected: true },
625+
{ label: 'no', selected: false }
626+
],
627+
highlighted: false,
628+
showTyping: false,
629+
isComplete: false
630+
},
631+
{
632+
showAt: 4,
633+
question: 'Using saved walletPrivateKey (from iapp.config.json)',
634+
answer: '',
635+
showTyping: false,
636+
isComplete: true
637+
},
638+
{
639+
showAt: 5,
640+
completeAt: 7,
641+
question: 'What is your username on DockerHub? (It will be used to properly tag the Docker image)',
642+
answer: 'bob',
643+
showTyping: true,
644+
isComplete: false
645+
},
646+
{
647+
showAt: 7,
648+
completeAt: 9,
649+
question: 'What is your DockerHub access token?',
650+
answer: '**********************',
651+
showTyping: true,
652+
isComplete: false
653+
},
654+
{
655+
showAt: 9,
656+
completeAt: 11,
657+
question: 'What is the version of your iApp?',
658+
answer: '0.0.1',
659+
showTyping: true,
660+
isComplete: false
661+
},
662+
{
663+
showAt: 11,
664+
question: 'Docker image built (sha256:a53fc4c480f482c384a13266ea2cb6cc5572733c866c44a5f604f4bfab3a744a) and tagged bob/hello-world:0.0.1',
665+
answer: '',
666+
showTyping: false,
667+
isComplete: true
668+
},
669+
{
670+
showAt: 12,
671+
question: 'Pushed image bob/hello-world:0.0.1 on dockerhub',
672+
answer: '',
673+
showTyping: false,
674+
isComplete: true
675+
},
676+
{
677+
showAt: 13,
678+
question: 'Pushed TEE image bob/hello-world:0.0.1-tee-scone-5.9.1-v16-ce3a01d9c5d7 on dockerhub',
679+
answer: '',
680+
showTyping: false,
681+
isComplete: true
682+
},
683+
{
684+
showAt: 14,
685+
question: 'TEE app deployed',
686+
answer: '',
687+
showTyping: false,
688+
isComplete: true
689+
}
690+
];
691+
692+
const arbitrumSepoliaCompletionItems = [
693+
'└ Docker image: bob/hello-world:0.0.1-tee-scone-5.9.1-v16-ce3a01d9c5d7',
694+
'└ iApp address: 0x1f80DCebc2EAAff0Db7156413C43B7e88D189923'
695+
];
597696
</script>

src/get-started/helloWorld/5-bonusChapter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Community</a>** for support!
4141

4242
</Container>
4343

44-
<template v-if="selectedChain !== 42161">
44+
<template v-if="selectedChain !== 42161 && selectedChain !== 421614">
4545

4646
## 🎁 Claim your Voucher
4747

src/get-started/tooling-and-explorers/blockchain-explorer.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description:
77

88
# 🔍 Blockchain Explorers
99

10-
Monitor iExec protocol smart contracts on both supported networks through
10+
Monitor iExec protocol smart contracts on all supported networks through
1111
verified blockchain explorers. All protocol contracts have been verified and are
1212
publicly auditable.
1313

@@ -25,6 +25,17 @@ publicly auditable.
2525
demo-label="Visit Arbiscan"
2626
/>
2727

28+
<UseCaseCard
29+
title="🔷 Arbitrum Sepolia"
30+
description="Test network for development and testing with verified smart contracts and comprehensive transaction tracking."
31+
:image-url="arbitrumExplorerImage"
32+
image-alt="Arbitrum Sepolia Explorer"
33+
:features="['Verified Contracts', 'Transaction History', 'Token Tracking', 'Contract Interactions']"
34+
demo-url="https://sepolia.arbiscan.io/"
35+
demo-icon="mdi:eye"
36+
demo-label="Visit Arbiscan"
37+
/>
38+
2839
<UseCaseCard
2940
title="⚡ Bellecour"
3041
description="iExec's dedicated sidechain for optimized performance with native integration and enhanced protocol analytics."
@@ -39,8 +50,8 @@ publicly auditable.
3950

4051
::: tip 💡 Dev Tip
4152

42-
Use **Bellecour** for development and testing as it's a gas-free blockchain,
43-
then deploy to **Arbitrum** for production workloads.
53+
Use **Arbitrum Sepolia** for development and testing then deploy to **Arbitrum**
54+
for production workloads.
4455

4556
:::
4657

src/get-started/tooling-and-explorers/subgraph-explorer.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: The Graph Explorer
33
description:
44
Explore and query blockchain data using The Graph's decentralized indexing
5-
protocol. Access iExec subgraphs on Arbitrum and Bellecour networks.
5+
protocol. Access iExec subgraphs on Arbitrum, Arbitrum Sepolia, and Bellecour
6+
networks.
67
---
78

89
# 🔍 The Graph Explorer
@@ -70,6 +71,28 @@ protocol.
7071
button-rel="noreferrer"
7172
/>
7273

74+
<ProjectCard
75+
title="iExec PoCo - Arbitrum Sepolia"
76+
description="Indexes Proof of Contribution (PoCo) data on Arbitrum Sepolia testnet, including apps, deals, tasks and workerpools"
77+
:icon-image="arbitrumIcon"
78+
status="available"
79+
status-label="Live"
80+
button-label="Explore Subgraph"
81+
button-href="https://thegraph.com/explorer/subgraphs/2GCj8gzLCihsiEDq8cYvC5nUgK6VfwZ6hm3Wj8A3kcxz?view=Query&chain=arbitrum-one"
82+
button-rel="noreferrer"
83+
/>
84+
85+
<ProjectCard
86+
title="iExec DataProtector - Arbitrum Sepolia"
87+
description="Comprehensive indexing service for iExec DataProtector on Arbitrum Sepolia testnet, tracking protected data assets, their schemas and owner"
88+
:icon-image="arbitrumIcon"
89+
status="available"
90+
status-label="Live"
91+
button-label="Explore Subgraph"
92+
button-href="https://thegraph.com/explorer/subgraphs/5YjRPLtjS6GH6bB4yY55Qg4HzwtRGQ8TaHtGf9UBWWd?view=Query&chain=arbitrum-one"
93+
button-rel="noreferrer"
94+
/>
95+
7396
<ProjectCard
7497
title="iExec PoCo - Bellecour"
7598
description="Indexes Proof of Contribution (PoCo) data on Bellecour mainnet, including apps, deals, tasks and workerpools"

src/guides/build-iapp/advanced/result-callback.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ contract IExecCallbackReceiver {
5959

6060
::: tip Important
6161

62-
The callback transaction is subject to a gas limit of {{ gasLimit }}.
62+
The callback transaction is subject to a maximum gas limit of 200,000 enforced
63+
by the protocol.
6364
Ensure your callback logic fits within this limit to avoid out-of-gas errors.
6465

6566
:::
@@ -163,22 +164,3 @@ const taskId = await iexec.order.matchOrders({
163164
| Automation | Workflow step completion signal |
164165
| Dynamic parameters | Adjust rates / thresholds / quorums |
165166
| Logical bridge | Sync external (IoT / legacy) state |
166-
167-
<script setup>
168-
import { computed } from 'vue';
169-
import useUserStore from '@/stores/useUser.store';
170-
import { getChainById } from '@/utils/chain.utils';
171-
172-
// Get current chain info
173-
const userStore = useUserStore();
174-
const selectedChain = computed(() => userStore.getCurrentChainId());
175-
const chainData = computed(() => getChainById(selectedChain.value));
176-
const chainName = computed(() => chainData.value.chainName);
177-
178-
const gasLimit = computed(() => {
179-
const chainId = selectedChain.value;
180-
if (chainId === 42161) return '100,000'; // Arbitrum One
181-
if (chainId === 134) return '200,000'; // Bellecour
182-
return '100,000'; // default
183-
});
184-
</script>

0 commit comments

Comments
 (0)