From 072d88598a0223a182c0bfa98657f6dc5fb283bb Mon Sep 17 00:00:00 2001 From: Ion V Date: Mon, 8 Sep 2025 16:04:15 +0300 Subject: [PATCH] Update mxpy-cli.md Changed outdated flag `--ledger-address-index` to `--sender-wallet-index` --- docs/sdk-and-tools/mxpy/mxpy-cli.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/sdk-and-tools/mxpy/mxpy-cli.md b/docs/sdk-and-tools/mxpy/mxpy-cli.md index 8682b044..43893d49 100644 --- a/docs/sdk-and-tools/mxpy/mxpy-cli.md +++ b/docs/sdk-and-tools/mxpy/mxpy-cli.md @@ -840,13 +840,13 @@ mxpy tx new --proxy https://devnet-gateway.multiversx.com \ --send ``` -By default, the first MultiversX address managed by the device is used as the sender (signer) of the transaction. In order to select a different address, you can use the `--ledger-address-index` CLI parameter: +By default, the first MultiversX address managed by the device is used as the sender (signer) of the transaction. In order to select a different address, you can use the `--sender-wallet-index` CLI parameter: ```sh mxpy tx new --proxy https://devnet-gateway.multiversx.com \ --receiver erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th \ --gas-limit 50000 --value 1000000000000000000 \ - --ledger --ledger-address-index=42 \ + --ledger --sender-wallet-index=42 \ --send ``` @@ -859,7 +859,7 @@ Now let's deploy a smart contract using the Ledger: ```sh mxpy contract deploy --proxy=https://devnet-gateway.multiversx.com \ --bytecode=adder.wasm --gas-limit=5000000 \ - --ledger --ledger-address-index=42 \ + --ledger --sender-wallet-index=42 \ --send ``` @@ -869,7 +869,7 @@ Then, perform a contract call: mxpy contract call erd1qqqqqqqqqqqqqpgqwwef37kmegph97egvvrxh3nccx7xuygez8ns682zz0 \ --proxy=https://devnet-gateway.multiversx.com \ --function add --arguments 42 --gas-limit 5000000 \ - --ledger --ledger-address-index=42 \ + --ledger --sender-wallet-index=42 \ --send ```