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.2.3.tar.gz (73.2 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.2.3-py3-none-any.whl (105.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for multiversx_sdk_cli-11.2.3.tar.gz
Algorithm Hash digest
SHA256 86dec8a98ceaced97d020fa7ae470f965e9ed285c79e6e630a6c1ba848a58484
MD5 eb2ff751fd5849a1f01142936e6602cd
BLAKE2b-256 7c4211c8c43d24ce8bfc161bd1cf6b88ff84028e7961a7b1abd79069b913b90d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multiversx_sdk_cli-11.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 102811d4cf131497b60a20d74d1757f658a2ca1ce335f5cc42d7b9c1a5e63512
MD5 d2b3921645ea0331ddd8e255a942d52e
BLAKE2b-256 ce528099ae1d1ca524554bd7e30906d2b1e392261488f2e46563dcbd0cff303a

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