v9.7.0
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
- Add shell completions by @popenta in #406
- Integrated new sdk-py package by @popenta in #429
- Remove missleading flag by @popenta in #430
- Make delegation contract from validator data by @popenta in #431
- Added commands for managing delegated funds by @popenta in #432
- Add support for esdt transfers by @popenta in #433
- Support for abi files for contract operations by @popenta in #435
- Generate wallet in specific shard by @popenta in #437
- Added suport for contract queries using abi file by @popenta in #436
- Modify contract test command to use sc-meta by @popenta in #411
- Marked
mxpy-up.py
as deprecated by @popenta in #441 - Use value parameter for unjailing nodes by @popenta in #442
- Display message for user to install sc-meta dependencies by @popenta in #443
- Deprecated contract report command by @popenta in #444
- Relayed V3 by @popenta in #434
- Added warning to advise users to use sc-meta for building contracts by @popenta in #445
- Implemented a native auth client and faucet functionality by @popenta in #418
Full Changelog: v9.6.3...v9.7.0