Skip to content

Commit 8686c30

Browse files
authored
Merge pull request #980 from multiversx/mxpy-v9-7-0
Added docs for contract interactions using abi file through mxpy
2 parents 956d3e0 + 0385237 commit 8686c30

File tree

8 files changed

+246
-235
lines changed

8 files changed

+246
-235
lines changed

docs/sdk-and-tools/overview.md

Lines changed: 38 additions & 40 deletions
Large diffs are not rendered by default.

docs/sdk-and-tools/sdk-py/configuring-mxpy.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

docs/sdk-and-tools/sdk-py/deriving-the-wallet-pem-file.md

Lines changed: 0 additions & 61 deletions
This file was deleted.

docs/sdk-and-tools/sdk-py/installing-mxpy.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,10 @@ Before installing **mxpy**, please make sure you have a working **Python 3** env
2121

2222
## **Install using pipx**
2323

24-
:::info
25-
Keep in mind that installing using **pipx** is only available for **mxpy v9.2.0** or later.
26-
:::
27-
2824
You'll need **pipx** installed on your machine. For more details on how to install **pipx** check out [**this page**](https://pipx.pypa.io/stable/#install-pipx).
2925

3026
:::note
31-
If you've previously installed **mxpy** using **mxpy-up** and you'd like to switch to **pipx**, make sure to remove the old `mxpy` shortcut and virtual Python environment beforehand:
27+
If you've previously installed **mxpy** using **mxpy-up**, we advise you to switch to **pipx**, but make sure to remove the old `mxpy` shortcut and virtual Python environment beforehand:
3228

3329
```sh
3430
rm ~/multiversx-sdk/mxpy
@@ -63,27 +59,18 @@ To check that **mxpy** installed successfully you can run the following command:
6359
mxpy --version
6460
```
6561

66-
[comment]: # (mx-context-auto)
67-
68-
## **Upgrade mxpy using pipx**
69-
70-
To upgrade **mxpy** to a newer version you can simply run the following command:
62+
Additionally, if you'd like to have shell completion for `bash` and `zsh`, run the following command, then restart the shell:
7163

7264
```sh
73-
pipx upgrade multiversx-sdk-cli
65+
activate-global-python-argcomplete
7466
```
7567

7668
[comment]: # (mx-context-auto)
7769

78-
## **Install using mxpy-up**
79-
80-
Installing **mxpy** using **mxpy-up** is not recommended anymore. We recommend using **pipx** instead.
70+
## **Upgrade mxpy using pipx**
8171

82-
If you've previously installed **mxpy** using the legacy **mxpy-up**, you should switch to the **pipx** approach. Make sure to remove the old `mxpy` shortcut and virtual Python environment beforehand:
72+
To upgrade **mxpy** to a newer version, you can simply run the following command:
8373

8474
```sh
85-
rm ~/multiversx-sdk/mxpy
86-
rm -rf ~/multiversx-sdk/mxpy-venv
75+
pipx upgrade multiversx-sdk-cli
8776
```
88-
89-
Additionally, you might want to cleanup the shell profile files, to not alter anymore the `PATH` variable with respect to `~/multiversx-sdk`: `~/.profile`, `~/.bashrc` and / or `~/.zshrc`.

0 commit comments

Comments
 (0)