Skip to content

v9.7.0

Compare
Choose a tag to compare
@popenta popenta released this 30 Sep 10:48
· 96 commits to main since this release
2d6e151

What's Changed

mxpy staking-provider

The mxpy staking-provider command group has been enriched, it now contains more commands, such as mxpy staking-provider make-delegation-contract-from-validator and a set of new command for managing delegated funds. To see the full list of supported commands, use mxpy staking-provider -h.

When unjailing nodes, the value was not passed when creating the transaction and that should be now fixed.

Relevant PRs:

mxpy tx new

Previously, there was no easy way to send ESDT/SFT/NFT tokens. An argument called --token-transfers has been added and can be provided along the usual arguments:

mxpy tx new --token-transfers NFT-123456-01 1 ESDT-987654 100

Relevant PR:

Relayed V3 transactions

Support for Relayed V3 transactions has been added. Added the --relayer argument for specifying the relayer of the transaction. Added the --inner-transactions-outfile argument for saving the created relayed transactions. If the file contains transactions it will append to the rest of the transactions. Added the --inner-transactions argument to specify the inner transactions that will be sent by the relayer.

Relevant PR:

contract interactions using the ABI file

By providing the ABI file, mxpy can now encode and decode arguments for contract interactions. The --abi argument can be used to provide the ABI file and --arguments-file can be used for passing the arguments. The arguments should come from a json file and should be placed inside a list. The Address type can be provided using a dictionary, that should look like this:

{
  "bech32": "erd1..."
}

Bytes values can be provided using a dictionary, that should look like this:

{
 "hex": "some_hex_encoded_value"
}

For more information on how this feature can be used, check out the available documentation.

Relevant PRs:

mxpy wallet new

A new argument called --shard can be provided when generating a new wallet. The argument is used to generate the wallet in a specific shard.

Relevant PR:

mxpy faucet request

A new command has been added. It is used to get xEGLD on Devnet or Testnet. It opens the web-wallet in a browser and the user should complete the reCAPTCHA and click the Request Tokens button.

mxpy deps install

When running mxpy deps install rust the dependencies of sc-meta are no longer installed by default, the user is asked to manually run sc-meta install all.

Relevant PR:

mxpy contract build

This feature remains unchanged from the previous release, the user is advised to directly use sc-meta for building smart contracts.

Relevant PR:

Deprecations

mxpy contract report

The mxpy contract report is now deprecated, should be replaced with sc-meta report.

Relevant PR:

mxpy-up.py

Installing mxpy by running the mxpy-up.py installation script is now deprecated, and pipx should be used from now on for installing mxpy.

Relevant PR:
-#441

What's Changed

Full Changelog: v9.6.3...v9.7.0