Skip to main content

MultiversX Smart Contracts Tools

Project description

Description

Python Command Line Tools for interacting with MultiversX.

Documentation

docs.multiversx.com

CLI

CLI

Distribution

pipx (PyPi)

Development setup

Clone this repository and cd into it:

git clone https://github.com/multiversx/mx-sdk-py-cli.git
cd mx-sdk-py-cli

Virtual environment

Create a virtual environment and install the dependencies:

python3 -m venv ./venv
source ./venv/bin/activate
pip install -r ./requirements.txt --upgrade

Install development dependencies, as well:

pip install -r ./requirements-dev.txt --upgrade

Allow pre-commit to automatically run on git commit:

pre-commit install

Above, requirements.txt should mirror the dependencies section of pyproject.toml.

If using VSCode, restart it or follow these steps:

  • Ctrl + Shift + P
  • Select Interpreter
  • Choose ./venv/bin/python.

Using your local mxpy

If you want to test the modifications you locally made to mxpy, set PYTHONPATH with the path to your local repository path.

For example, if you cloned the repository at ~/mx-sdk-py-cli, run:

export PYTHONPATH="~/mx-sdk-py-cli"

Then mxpy will use the code in your local repository.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

multiversx_sdk_cli-11.3.0.tar.gz (73.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

multiversx_sdk_cli-11.3.0-py3-none-any.whl (106.3 kB view details)

Uploaded Python 3

File details

Details for the file multiversx_sdk_cli-11.3.0.tar.gz.

File metadata

  • Download URL: multiversx_sdk_cli-11.3.0.tar.gz
  • Upload date:
  • Size: 73.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for multiversx_sdk_cli-11.3.0.tar.gz
Algorithm Hash digest
SHA256 345ee7671f1f4d1660071c879f84e491f11730517c49217e09a13cc625e61120
MD5 7e1d53638b5341f44db4338ac5ffcef9
BLAKE2b-256 fe2ed56e8f93bc16fd1bf634f98081a35ecc7c40811638b3bff63300d7d93c86

See more details on using hashes here.

File details

Details for the file multiversx_sdk_cli-11.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for multiversx_sdk_cli-11.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 834a79f9046bcbc0d24fda02ac3977475f7daa0ddd1a74ac076a7993f07377f9
MD5 f446bf520a2dba1e40f149ae9a123c20
BLAKE2b-256 1b86cb19d2c2d69ff8e185f8fd725bd9191df4a00c68705abb67328dd8072fda

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page