Skip to content
Open
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
8 changes: 4 additions & 4 deletions docs/sdk-and-tools/mxpy/mxpy-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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
```

Expand All @@ -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
```

Expand Down