Skip to content

Commit 85bfb21

Browse files
authored
Merge pull request #1112 from multiversx/TOOL-601-update-docs-for-mxpy
Tool 601 update docs for mxpy
2 parents cd57bcc + a9c4833 commit 85bfb21

18 files changed

+44
-62
lines changed

docs/developers/data/code-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ When deploying (or upgrading) a smart contract using **mxpy**, its default _code
3131
- `--metadata-payable` - mark the contract as `payable`
3232
- `--metadata-payable-by-sc` - mark the contract as `payable by smart contracts`
3333

34-
For more information, please follow [mxpy CLI](/sdk-and-tools/sdk-py/mxpy-cli).
34+
For more information, please follow [mxpy CLI](/sdk-and-tools/mxpy/mxpy-cli).
3535

3636
[comment]: # (mx-context-auto)
3737

docs/developers/relayed-transactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Here's an example of a relayed v3 transaction. Its intent is to call the `add` m
114114
### Preparing relayed transactions using the SDKs
115115

116116
The SDKs have built-in support for relayed transactions. Please follow:
117-
- [mxpy support](/sdk-and-tools/sdk-py/mxpy-cli/#relayed-transactions-v3)
117+
- [mxpy support](/sdk-and-tools/mxpy/mxpy-cli/#relayed-transactions-v3)
118118
- [sdk-py support](/sdk-and-tools/sdk-py/sdk-py-cookbook/#relayed-transactions)
119119
- [sdk-js v14 support](/sdk-and-tools/sdk-js/sdk-js-cookbook#relayed-transactions)
120120
- [sdk-js v13 support (legacy)](/sdk-and-tools/sdk-js/sdk-js-cookbook-v13#preparing-a-relayed-transaction)

docs/developers/reproducible-contract-builds.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ A more straightforward alternative to the previous bash script is to use **mxpy*
174174

175175
First, make sure you have the:
176176

177-
- latest [mxpy](/sdk-and-tools/sdk-py/installing-mxpy) installed,
177+
- latest [mxpy](/sdk-and-tools/mxpy/installing-mxpy) installed,
178178
- latest [docker engine](https://docs.docker.com/engine/install/) installed.
179179

180180
Then, use the `reproducible-build` command (below, the image tag is just an example):
@@ -227,11 +227,11 @@ Please note that as a **Beta** feature still in development, certain steps descr
227227
:::
228228

229229
:::tip
230-
Make sure that you have the latest `mxpy` installed. In order to install mxpy, follow the instructions at [install mxpy](/sdk-and-tools/sdk-py/installing-mxpy).
230+
Make sure that you have the latest `mxpy` installed. In order to install mxpy, follow the instructions at [install mxpy](/sdk-and-tools/mxpy/installing-mxpy).
231231
:::
232232

233233
1. The contract must be deterministically built as described [above](/developers/reproducible-contract-builds#building-via-docker-reproducible-build).
234-
2. To start with the verification process, we need to first deploy the smart contract. For deploying contracts have a look [here](/sdk-and-tools/sdk-py/smart-contract-interactions/#deploy--upgrade).
234+
2. To start with the verification process, we need to first deploy the smart contract. For deploying contracts have a look [here](/sdk-and-tools/mxpy/mxpy-cli#deploying-a-smart-contract).
235235
3. Upon deploying, the output will not only provide information such as the transaction hash and data, but also the address of the newly deployed contract.
236236
4. In order to verify your contract the command you have to use is (below, the image tag is just an example):
237237

docs/developers/sc-calls-format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ There are multiple tools that one can use in order to convert an address into he
128128

129129
### Converting addresses using mxpy
130130

131-
Make sure you have `mxpy` [installed](/sdk-and-tools/sdk-py/installing-mxpy).
131+
Make sure you have `mxpy` [installed](/sdk-and-tools/mxpy/installing-mxpy).
132132

133133
```bash
134134
mxpy wallet bech32 --decode erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th

docs/developers/setup-local-testnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If not specified otherwise, the localnet starts with two shards plus the metacha
1919

2020
## Prerequisites: mxpy
2121

22-
In order to install **mxpy**, follow [these instructions](/sdk-and-tools/sdk-py/installing-mxpy).
22+
In order to install **mxpy**, follow [these instructions](/sdk-and-tools/mxpy/installing-mxpy).
2323

2424
:::note
2525
This guide assumes you are using `mxpy v9.7.1` or newer.
File renamed without changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ title: mxpy CLI cookbook
55

66
[comment]: # (mx-abstract)
77

8+
9+
810
## mxpy (Command Line Interface)
911

1012
**mxpy**, as a command-line tool, can be used to simplify and automate the interaction with the MultiversX network - it can be easily used in shell scripts, as well. It implements a set of **commands**, organized within **groups**.
1113

14+
:::important
15+
In order to migrate to the newer `mxpy`, please follow [the migration guide](https://github.com/multiversx/mx-sdk-py-cli/issues?q=label:migration).
16+
:::
17+
1218
The complete Command Line Interface is listed [**here**](https://github.com/multiversx/mx-sdk-py-cli/blob/main/CLI.md). Command usage and description are available through the `--help` or `-h` flags.
1319

1420
For example:

docs/sdk-and-tools/sdk-py/smart-contract-interactions.md renamed to docs/sdk-and-tools/mxpy/smart-contract-interactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Let's take the following example:
2828

2929
### mxpy
3030

31-
We're going to use [**mxpy**](/sdk-and-tools/sdk-py/mxpy-cli) to deploy the contract. Follow the installation guide [here](/sdk-and-tools/sdk-py/installing-mxpy) - make sure to use the latest version available.
31+
We're going to use [**mxpy**](/sdk-and-tools/mxpy/mxpy-cli) to deploy the contract. Follow the installation guide [here](/sdk-and-tools/mxpy/installing-mxpy) - make sure to use the latest version available.
3232

3333
[comment]: # (mx-context-auto)
3434

docs/sdk-and-tools/overview.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ Note that Rust is also the recommended programming language for writing Smart Co
3333
| [sdk-js cookbook](/sdk-and-tools/sdk-js/sdk-js-cookbook) | Learn how to handle common tasks by using sdk-js. |
3434
| [Extending sdk-js](/sdk-and-tools/sdk-js/extending-sdk-js) | How to extend and tailor certain modules of sdk-js. |
3535
| [Writing and testing sdk-js interactions](/sdk-and-tools/sdk-js/writing-and-testing-sdk-js-interactions) | Write sdk-js interactions for Visual Studio Code |
36-
| [sdk-js migration guides](/sdk-and-tools/sdk-js/sdk-js-migration-guides) | Migrate from sdk-js v9.x to v10+ |
3736
| [sdk-js signing providers](/sdk-and-tools/sdk-js/sdk-js-signing-providers) | Integrate sdk-js signing providers. |
3837

3938
In addition to sdk-js, one could use the following Javascript library for performing wallet operations via CLI:
@@ -66,10 +65,8 @@ You might also want to have a look over [**xSuite**](https://xsuite.dev), a tool
6665

6766
| Name | Description |
6867
| -------------------------------------------------------------------------------- | ----------------------------------------- |
69-
| [mxpy](/sdk-and-tools/sdk-py/) | High level overview about mxpy. |
70-
| [Installing mxpy](/sdk-and-tools/sdk-py/installing-mxpy) | How to install and get started with mxpy. |
71-
| [mxpy cli](/sdk-and-tools/sdk-py/mxpy-cli) | How to use the Command Line Interface. |
72-
| [Smart contract interactions](/sdk-and-tools/sdk-py/smart-contract-interactions) | Interact with Smart Contract. |
68+
| [Installing mxpy](/sdk-and-tools/mxpy/installing-mxpy) | How to install and get started with mxpy. |
69+
| [mxpy cli](/sdk-and-tools/mxpy/mxpy-cli) | How to use the Command Line Interface. |
7370

7471
[comment]: # (mx-context-auto)
7572

docs/sdk-and-tools/sdk-js/migration-guides.md

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

0 commit comments

Comments
 (0)