Skip to content
Closed
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
2 changes: 1 addition & 1 deletion docs/developers/data/code-metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ When deploying (or upgrading) a smart contract using **mxpy**, its default _code
- `--metadata-payable` - mark the contract as `payable`
- `--metadata-payable-by-sc` - mark the contract as `payable by smart contracts`

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

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

Expand Down
4 changes: 2 additions & 2 deletions docs/developers/relayed-transactions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Here's an example of a relayed v3 transaction. Its intent is to call the `add` m
### Preparing relayed transactions using the SDKs

The SDKs have built-in support for relayed transactions. Please follow:
- [mxpy support](/sdk-and-tools/sdk-py/mxpy-cli/#relayed-transactions-v3)
- [sdk-py support](/sdk-and-tools/sdk-py/sdk-py-cookbook/#relayed-transactions)
- [mxpy support](/sdk-and-tools/mxpy/mxpy-cli/#relayed-transactions-v3)
- [sdk-py support](/sdk-and-tools/sdk-py/#relayed-transactions)
- [sdk-js v14 support](/sdk-and-tools/sdk-js/sdk-js-cookbook#relayed-transactions)
- [sdk-js v13 support (legacy)](/sdk-and-tools/sdk-js/sdk-js-cookbook-v13#preparing-a-relayed-transaction)
6 changes: 3 additions & 3 deletions docs/developers/reproducible-contract-builds.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ A more straightforward alternative to the previous bash script is to use **mxpy*

First, make sure you have the:

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

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

:::tip
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).
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).
:::

1. The contract must be deterministically built as described [above](/developers/reproducible-contract-builds#building-via-docker-reproducible-build).
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).
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).
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.
4. In order to verify your contract the command you have to use is (below, the image tag is just an example):

Expand Down
2 changes: 1 addition & 1 deletion docs/developers/sc-calls-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ There are multiple tools that one can use in order to convert an address into he

### Converting addresses using mxpy

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

```bash
mxpy wallet bech32 --decode erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th
Expand Down
2 changes: 1 addition & 1 deletion docs/developers/setup-local-testnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If not specified otherwise, the localnet starts with two shards plus the metacha

## Prerequisites: mxpy

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

:::note
This guide assumes you are using `mxpy v9.7.1` or newer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ title: Signing programmatically
In order to sign a transaction (or a message) using one of the SDKs, follow:

- [Signing objects using **sdk-js**](/sdk-and-tools/sdk-js/sdk-js-cookbook#signing-objects)
- [Signing objects using **sdk-py**](/sdk-and-tools/sdk-py/sdk-py-cookbook#signing-objects)
- [Signing objects using **sdk-py**](/sdk-and-tools/sdk-py#signing-objects)
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Let's take the following example:

### mxpy

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.
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.

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

Expand Down
6 changes: 2 additions & 4 deletions docs/sdk-and-tools/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@ You might also want to have a look over [**xSuite**](https://xsuite.dev), a tool

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ title: Writing and testing interactions

Generally speaking, we recommended to use [sc-meta CLI](/developers/meta/sc-meta-cli) to [generate the boilerplate code for your contract interactions](/developers/meta/sc-meta-cli/#calling-snippets).

Though, for writing contract interaction snippets in **JavaScript** or **TypeScript**, please refer to the [`sdk-js` cookbook](/sdk-and-tools/sdk-js/sdk-js-cookbook). If you'd like these snippets to function as system tests of your contract, a choice would be to structure them as Mocha or Jest tests - take the `*.local.net.spec.ts` tests in [`mx-sdk-js-core`](https://github.com/multiversx/mx-sdk-js-core) as examples. For writing contract interaction snippets in **Python**, please refer to the [`sdk-py` cookbook](/sdk-and-tools/sdk-py/sdk-py-cookbook) - if desired, you can shape them as simple scripts, as Python unit tests, or as Jupyter notebooks.
Though, for writing contract interaction snippets in **JavaScript** or **TypeScript**, please refer to the [`sdk-js` cookbook](/sdk-and-tools/sdk-js/sdk-js-cookbook). If you'd like these snippets to function as system tests of your contract, a choice would be to structure them as Mocha or Jest tests - take the `*.local.net.spec.ts` tests in [`mx-sdk-js-core`](https://github.com/multiversx/mx-sdk-js-core) as examples. For writing contract interaction snippets in **Python**, please refer to the [`sdk-py` cookbook](/sdk-and-tools/sdk-py) - if desired, you can shape them as simple scripts, as Python unit tests, or as Jupyter notebooks.

You might also want to have a look over [**xSuite**](https://xsuite.dev), a toolkit to init, build, test, deploy contracts using JavaScript, made by the [Arda team](https://arda.run).
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
id: sdk-py-cookbook
title: Cookbook (v1)
pagination_prev: sdk-and-tools/sdk-py/sdk-py-cookbook-v0
pagination_next: sdk-and-tools/sdk-py/installing-mxpy
id: sdk-py
title: Python SDK
pagination_prev: developers/testing/testing-in-go
pagination_next: sdk-and-tools/mxpy/installing-mxpy
---

[comment]: # (mx-abstract)
Expand Down
Loading
Loading