Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 43 additions & 5 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ Description: Deploy your iApp on the iExec protocol in debug mode.
Options:

- use `--chain` Specify the blockchain on which the iApp will be deployed
(overrides defaultChain configuration which is `bellecour`). Possible values
are `bellecour|arbitrum-sepolia-testnet|arbitrum-mainnet`
(overrides `defaultChain` configuration which is declared in your
`iapp.config.json`). Possible values are
`arbitrum-sepolia-testnet|arbitrum-mainnet`

---

Expand Down Expand Up @@ -142,8 +143,9 @@ Options:
include the `--protectedData` option followed by the address of the protected
data.
- use `--chain` Specify the blockchain on which the iApp will be deployed
(overrides defaultChain configuration which is `bellecour`). Possible values
are `bellecour|arbitrum-sepolia-testnet|arbitrum-mainnet`
(overrides `defaultChain` configuration which is declared in your
`iapp.config.json`). Possible values are
`arbitrum-sepolia-testnet|arbitrum-mainnet`

---

Expand Down Expand Up @@ -185,4 +187,40 @@ Description: Manage wallet.
Options for `<action>` :

- `import` import a new wallet by providing a private key.
- `select` select a wallet from your personnal keystore.
- `select` select a wallet from your personal keystore.

---

### `chain select`

Command:

```sh
iapp chain select <chain>
```

Description: set the default chain to use for your iApp. This will update the
`defaultChain` field in your `iapp.config.json` file.

Options for `<chain>` :

- `arbitrum-sepolia-testnet`
- `arbitrum-mainnet`

## Migrate from v1

### `bellecour` chain removed

The `bellecour` chain is no longer supported.

If you were using `bellecour` as the default chain, you will need to update your
`iapp.config.json` file to set `defaultChain` to a supported chain (e.g.
`arbitrum-sepolia-testnet`).

### SCONE TEE framework removed

The SCONE TEE framework has been removed in favor of TDX. iApps deployed with
SCONE will no longer be executable and must be redeployed with TDX.

If your iApp was deployed using SCONE, redeploy it with TDX by running
`iapp deploy` with the latest version of the `iapp` CLI.
157 changes: 0 additions & 157 deletions cli/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@
"iexec": "^8.24.0",
"jszip": "^3.10.1",
"magic-bytes.js": "^1.10.0",
"msgpackr": "^1.11.2",
"ora": "^8.2.0",
"prompts": "^2.4.2",
"update-check": "^1.5.4",
"uuid": "^11.1.0",
"ws": "^8.18.1",
"yargs": "^17.7.2",
"yargs-parser": "^21.1.1",
"zod": "^3.24.2",
Expand Down
14 changes: 5 additions & 9 deletions cli/src/cli-helpers/warnBeforeTxFees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,12 @@ import { askForAcknowledgment } from './askForAcknowledgment.js';

export async function warnBeforeTxFees({
spinner,
chain,
}: {
spinner: Spinner;
chain: string;
}): Promise<void> {
if (chain !== 'bellecour') {
await askForAcknowledgment({
spinner,
message:
'This method requires sending blockchain transactions, transaction fees will be applied. Would you like to continue?',
});
}
await askForAcknowledgment({
spinner,
message:
'This method requires sending blockchain transactions, transaction fees will be applied. Would you like to continue?',
});
}
Loading
Loading