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.4.0.tar.gz (75.0 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.4.0-py3-none-any.whl (107.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: multiversx_sdk_cli-11.4.0.tar.gz
  • Upload date:
  • Size: 75.0 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.4.0.tar.gz
Algorithm Hash digest
SHA256 e477e6a1cb2d80de3679b83930a244f369ccf0d5884c4350fc8ff710e8a0b16f
MD5 ad48c166da87d03b472bea3bbb2000ce
BLAKE2b-256 b60a2e449c2cd78bcc6653f4713be44e3e2289cbb4c8cf2a5e2a714312cd163a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for multiversx_sdk_cli-11.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 648d9ddb05fc4d046790f9decfe9be0eedda7a4d406b82d636d6fbc87a391036
MD5 09d68a15818badfa610ec2f979533513
BLAKE2b-256 1a576dbb4ad854ee97120d9c9fe0c3a0e64090d37eaced227cdffbafce1b7ce0

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