Skip to main content

sdk-py

MultiversX SDK for Python

This SDK consists of a CLI tool, namely mxpy, and Python helpers and utilities for interacting with the Blockchain (in general) and with Smart Contracts (in particular).

mxpy: the CLI tool

mxpy (the CLI tool) can be found here: mx-sdk-py-cli. It targets a broad audience of users and developers, as depicted below:

FeatureAudience
Compile Smart Contracts (Rust, C, C++) to WASMSmart Contract developers
Deploy, execute (call), query Smart ContractsSmart Contract developers, application developers, tech enthusiasts
Run scenarios (JSON tests) against Smart ContractsSmart Contract developers
Sign & send System Smart Contract transactionsValidator owners
Sign & send regular transactionsApplication developers, tech enthusiasts
Query Network status, transactions status / detailsApplication developers, tech enthusiasts
Query account detailsApplication developers, tech enthusiasts
Generate PEM files, recover private key from mnemonicTech enthusiasts
Miscellaneous support features (e.g. bech32 conversion)Tech enthusiasts

sdk-py: the Python libraries

note

The multiversx-sdk package is a unification of the previous packages (multiversx-sdk-core, multiversx-sdk-wallet and multiversx-sdk-network-providers). This is the package that should be used from now on. All the upcoming updates will come only to this package. The older packages will no longer receive updates and will soon be deprecated.

PackageSource codeDescription
multiversx-sdkmx-sdk-pyThe all in one Python SDK for interacting with MultiversX.
multiversx-sdk-coremx-sdk-py-coreBasic components for interacting with the blockchain and with smart contracts. Will soon be deprecated.
multiversx-sdk-walletmx-sdk-py-walletCore wallet components (generation, signing). Will soon be deprecated.
multiversx-sdk-network-providersmx-sdk-py-network-providersNetwork providers (API, Gateway). Will soon be deprecated.