mxpy exposes a number of CLI commands, organized within groups.
$ mxpy --help
usage: mxpy [-h] [-v] [--verbose] COMMAND-GROUP [-h] COMMAND ...
-----------
DESCRIPTION
-----------
mxpy is part of the multiversx-sdk and consists of Command Line Tools and Python SDK
for interacting with the Blockchain (in general) and with Smart Contracts (in particular).
mxpy targets a broad audience of users and developers.
See:
- https://docs.multiversx.com/sdk-and-tools/sdk-py
- https://docs.multiversx.com/sdk-and-tools/sdk-py/mxpy-cli
COMMAND GROUPS:
{contract,tx,validator,ledger,wallet,validator-wallet,deps,config,localnet,data,staking-provider,dns,faucet}
TOP-LEVEL OPTIONS:
-h, --help show this help message and exit
-v, --version show program's version number and exit
--verbose
----------------------
COMMAND GROUPS summary
----------------------
contract Deploy, upgrade and interact with Smart Contracts
tx Create and broadcast Transactions
validator Stake, UnStake, UnBond, Unjail and other actions useful for Validators
ledger Get Ledger App addresses and version
wallet Create wallet, derive secret key from mnemonic, bech32 address helpers etc.
validator-wallet Create a validator wallet, sign and verify messages and convert a validator wallet to a hex secret key.
deps Manage dependencies or multiversx-sdk modules
config Configure multiversx-sdk (default values etc.)
localnet Set up, start and control localnets
data Data manipulation omnitool
staking-provider Staking provider omnitool
dns Operations related to the Domain Name Service
faucet Get xEGLD on Devnet or Testnet
$ mxpy contract --help
usage: mxpy contract COMMAND [-h] ...
Deploy, upgrade and interact with Smart Contracts
COMMANDS:
{deploy,call,upgrade,query,verify,reproducible-build,build}
OPTIONS:
-h, --help show this help message and exit
----------------
COMMANDS summary
----------------
deploy Deploy a Smart Contract.
call Interact with a Smart Contract (execute function).
upgrade Upgrade a previously-deployed Smart Contract.
query Query a Smart Contract (call a pure function)
verify Verify the authenticity of the code of a deployed Smart Contract
reproducible-build Build a Smart Contract and get the same output as a previously built Smart Contract
build Build a Smart Contract project. This command is DISABLED.
$ mxpy contract deploy --help
usage: mxpy contract deploy [-h] ...
Deploy a Smart Contract.
Output example:
===============
{
"emittedTransaction": {
"nonce": 42,
"sender": "alice",
"receiver": "bob",
"...": "..."
},
"emittedTransactionData": "the transaction data, not encoded",
"emittedTransactionHash": "the transaction hash",
"contractAddress": "the address of the contract",
"transactionOnNetwork": {
"nonce": 42,
"sender": "alice",
"receiver": "bob",
"...": "..."
},
"simulation": {
"execution": {
"...": "..."
},
"cost": {
"...": "..."
}
}
}
options:
-h, --help show this help message and exit
--bytecode BYTECODE the file containing the WASM bytecode
--abi ABI the ABI file of the Smart Contract
--metadata-not-upgradeable ‼ mark the contract as NOT upgradeable (default: upgradeable)
--metadata-not-readable ‼ mark the contract as NOT readable (default: readable)
--metadata-payable ‼ mark the contract as payable (default: not payable)
--metadata-payable-by-sc ‼ mark the contract as payable by SC (default: not payable by SC)
--outfile OUTFILE where to save the output (default: stdout)
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--proxy PROXY 🔗 the URL of the proxy
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--arguments ARGUMENTS [ARGUMENTS ...] arguments for the contract transaction, as [number, bech32-address,
ascii string, boolean] or hex-encoded. E.g. --arguments 42 0x64 1000
0xabba str:TOK-a1c2ef true addr:erd1[..]
--arguments-file ARGUMENTS_FILE a json file containing the arguments. ONLY if abi file is provided.
E.g. [{ 'to': 'erd1...', 'amount': 10000000000 }]
--wait-result signal to wait for the transaction result - only valid if --send is set
--timeout TIMEOUT max num of seconds to wait for result - only valid if --wait-result is
set
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy contract call --help
usage: mxpy contract call [-h] ...
Interact with a Smart Contract (execute function).
Output example:
===============
{
"emittedTransaction": {
"nonce": 42,
"sender": "alice",
"receiver": "bob",
"...": "..."
},
"emittedTransactionData": "the transaction data, not encoded",
"emittedTransactionHash": "the transaction hash",
"contractAddress": "the address of the contract",
"transactionOnNetwork": {
"nonce": 42,
"sender": "alice",
"receiver": "bob",
"...": "..."
},
"simulation": {
"execution": {
"...": "..."
},
"cost": {
"...": "..."
}
}
}
positional arguments:
contract 🖄 the bech32 address of the Smart Contract
options:
-h, --help show this help message and exit
--abi ABI the ABI file of the Smart Contract
--outfile OUTFILE where to save the output (default: stdout)
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--proxy PROXY 🔗 the URL of the proxy
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--function FUNCTION the function to call
--arguments ARGUMENTS [ARGUMENTS ...] arguments for the contract transaction, as [number, bech32-address,
ascii string, boolean] or hex-encoded. E.g. --arguments 42 0x64 1000
0xabba str:TOK-a1c2ef true addr:erd1[..]
--arguments-file ARGUMENTS_FILE a json file containing the arguments. ONLY if abi file is provided.
E.g. [{ 'to': 'erd1...', 'amount': 10000000000 }]
--token-transfers TOKEN_TRANSFERS [TOKEN_TRANSFERS ...]
token transfers for transfer & execute, as [token, amount] E.g.
--token-transfers NFT-123456-0a 1 ESDT-987654 100000000
--wait-result signal to wait for the transaction result - only valid if --send is
set
--timeout TIMEOUT max num of seconds to wait for result - only valid if --wait-result is
set
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy contract upgrade --help
usage: mxpy contract upgrade [-h] ...
Upgrade a previously-deployed Smart Contract.
Output example:
===============
{
"emittedTransaction": {
"nonce": 42,
"sender": "alice",
"receiver": "bob",
"...": "..."
},
"emittedTransactionData": "the transaction data, not encoded",
"emittedTransactionHash": "the transaction hash",
"contractAddress": "the address of the contract",
"transactionOnNetwork": {
"nonce": 42,
"sender": "alice",
"receiver": "bob",
"...": "..."
},
"simulation": {
"execution": {
"...": "..."
},
"cost": {
"...": "..."
}
}
}
positional arguments:
contract 🖄 the bech32 address of the Smart Contract
options:
-h, --help show this help message and exit
--abi ABI the ABI file of the Smart Contract
--outfile OUTFILE where to save the output (default: stdout)
--bytecode BYTECODE the file containing the WASM bytecode
--metadata-not-upgradeable ‼ mark the contract as NOT upgradeable (default: upgradeable)
--metadata-not-readable ‼ mark the contract as NOT readable (default: readable)
--metadata-payable ‼ mark the contract as payable (default: not payable)
--metadata-payable-by-sc ‼ mark the contract as payable by SC (default: not payable by SC)
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--proxy PROXY 🔗 the URL of the proxy
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--arguments ARGUMENTS [ARGUMENTS ...] arguments for the contract transaction, as [number, bech32-address,
ascii string, boolean] or hex-encoded. E.g. --arguments 42 0x64 1000
0xabba str:TOK-a1c2ef true addr:erd1[..]
--arguments-file ARGUMENTS_FILE a json file containing the arguments. ONLY if abi file is provided.
E.g. [{ 'to': 'erd1...', 'amount': 10000000000 }]
--wait-result signal to wait for the transaction result - only valid if --send is set
--timeout TIMEOUT max num of seconds to wait for result - only valid if --wait-result is
set
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy contract query --help
usage: mxpy contract query [-h] ...
Query a Smart Contract (call a pure function)
positional arguments:
contract 🖄 the bech32 address of the Smart Contract
options:
-h, --help show this help message and exit
--abi ABI the ABI file of the Smart Contract
--proxy PROXY 🔗 the URL of the proxy
--function FUNCTION the function to call
--arguments ARGUMENTS [ARGUMENTS ...] arguments for the contract transaction, as [number, bech32-address, ascii
string, boolean] or hex-encoded. E.g. --arguments 42 0x64 1000 0xabba
str:TOK-a1c2ef true addr:erd1[..]
--arguments-file ARGUMENTS_FILE a json file containing the arguments. ONLY if abi file is provided. E.g. [{
'to': 'erd1...', 'amount': 10000000000 }]
$ mxpy contract verify --help
usage: mxpy contract verify [-h] ...
Verify the authenticity of the code of a deployed Smart Contract
positional arguments:
contract 🖄 the bech32 address of the Smart Contract
options:
-h, --help show this help message and exit
--packaged-src PACKAGED_SRC JSON file containing the source code of the contract
--verifier-url VERIFIER_URL the url of the service that validates the contract
--docker-image DOCKER_IMAGE the docker image used for the build
--contract-variant CONTRACT_VARIANT in case of a multicontract, specify the contract variant you want to verify
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type mnemonic
or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
$ mxpy contract reproducible-build --help
usage: mxpy contract reproducible-build [-h] ...
Build a Smart Contract and get the same output as a previously built Smart Contract
positional arguments:
project the project directory (default: current directory)
options:
-h, --help show this help message and exit
--debug set debug flag (default: False)
--no-optimization bypass optimizations (for clang) (default: False)
--no-wasm-opt do not optimize wasm files after the build (default: False)
--cargo-target-dir CARGO_TARGET_DIR for rust projects, forward the parameter to Cargo
--wasm-symbols for rust projects, does not strip the symbols from the wasm output. Useful for
analysing the bytecode. Creates larger wasm files. Avoid in production (default:
False)
--wasm-name WASM_NAME for rust projects, optionally specify the name of the wasm bytecode output file
--wasm-suffix WASM_SUFFIX for rust projects, optionally specify the suffix of the wasm bytecode output file
--docker-image DOCKER_IMAGE the docker image tag used to build the contract
--contract CONTRACT contract to build (contract name, as found in Cargo.toml)
--no-docker-interactive
--no-docker-tty
--no-default-platform do not set DOCKER_DEFAULT_PLATFORM environment variable to 'linux/amd64'
$ mxpy tx --help
usage: mxpy tx COMMAND [-h] ...
Create and broadcast Transactions
COMMANDS:
{new,send,sign,relay}
OPTIONS:
-h, --help show this help message and exit
----------------
COMMANDS summary
----------------
new Create a new transaction.
send Send a previously saved transaction.
sign Sign a previously saved transaction.
relay Relay a previously saved transaction.
$ mxpy tx new --help
usage: mxpy tx new [-h] ...
Create a new transaction.
Output example:
===============
{
"emittedTransaction": {
"nonce": 42,
"sender": "alice",
"receiver": "bob",
"...": "..."
},
"emittedTransactionData": "the transaction data, not encoded",
"emittedTransactionHash": "the transaction hash"
}
options:
-h, --help show this help message and exit
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--receiver RECEIVER 🖄 the address of the receiver
--receiver-username RECEIVER_USERNAME 🖄 the username of the receiver
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--data DATA the payload, or 'memo' of the transaction (default: )
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--data-file DATA_FILE a file containing transaction data
--token-transfers TOKEN_TRANSFERS [TOKEN_TRANSFERS ...]
token transfers for transfer & execute, as [token, amount] E.g.
--token-transfers NFT-123456-0a 1 ESDT-987654 100000000
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--proxy PROXY 🔗 the URL of the proxy
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--wait-result signal to wait for the transaction result - only valid if --send is
set
--timeout TIMEOUT max num of seconds to wait for result - only valid if --wait-result is
set
$ mxpy tx send --help
usage: mxpy tx send [-h] ...
Send a previously saved transaction.
Output example:
===============
{
"emittedTransaction": {
"nonce": 42,
"sender": "alice",
"receiver": "bob",
"...": "..."
},
"emittedTransactionData": "the transaction data, not encoded",
"emittedTransactionHash": "the transaction hash"
}
options:
-h, --help show this help message and exit
--infile INFILE input file (a previously saved transaction)
--outfile OUTFILE where to save the output (the hash) (default: stdout)
--proxy PROXY 🔗 the URL of the proxy
$ mxpy tx sign --help
usage: mxpy tx sign [-h] ...
Sign a previously saved transaction.
Output example:
===============
{
"emittedTransaction": {
"nonce": 42,
"sender": "alice",
"receiver": "bob",
"...": "..."
},
"emittedTransactionData": "the transaction data, not encoded",
"emittedTransactionHash": "the transaction hash"
}
options:
-h, --help show this help message and exit
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--infile INFILE input file (a previously saved transaction)
--outfile OUTFILE where to save the output (the signed transaction) (default: stdout)
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--proxy PROXY 🔗 the URL of the proxy
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy tx relay --help
usage: mxpy tx relay [-h] ...
Relay a previously saved transaction.
Output example:
===============
{
"emittedTransaction": {
"nonce": 42,
"sender": "alice",
"receiver": "bob",
"...": "..."
},
"emittedTransactionData": "the transaction data, not encoded",
"emittedTransactionHash": "the transaction hash"
}
options:
-h, --help show this help message and exit
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type mnemonic
or Ledger devices (default: 0)
--infile INFILE input file (a previously saved transaction)
--outfile OUTFILE where to save the output (the relayer signed transaction) (default:
stdout)
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--proxy PROXY 🔗 the URL of the proxy
$ mxpy validator --help
usage: mxpy validator COMMAND [-h] ...
Stake, UnStake, UnBond, Unjail and other actions useful for Validators
COMMANDS:
{stake,unstake,unjail,unbond,change-reward-address,claim,unstake-nodes,unstake-tokens,unbond-nodes,unbond-tokens,clean-registered-data,restake-unstaked-nodes}
OPTIONS:
-h, --help show this help message and exit
----------------
COMMANDS summary
----------------
stake Stake value into the Network
unstake Unstake value
unjail Unjail a Validator Node
unbond Unbond tokens for a bls key
change-reward-address Change the reward address
claim Claim rewards
unstake-nodes Unstake-nodes will unstake nodes for provided bls keys
unstake-tokens This command will un-stake the given amount (if value is greater than the existing topUp value, it will unStake one or several nodes)
unbond-nodes It will unBond nodes
unbond-tokens It will unBond tokens, if provided value is bigger that topUp value will unBond nodes
clean-registered-data Deletes duplicated keys from registered data
restake-unstaked-nodes It will reStake UnStaked nodes
$ mxpy validator stake --help
usage: mxpy validator stake [-h] ...
Stake value into the Network
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--reward-address REWARD_ADDRESS the reward address
--validators-pem VALIDATORS_PEM a PEM file describing the nodes; can contain multiple nodes
--top-up Stake value for top up
$ mxpy validator unstake --help
usage: mxpy validator unstake [-h] ...
Unstake value
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--nodes-public-keys NODES_PUBLIC_KEYS the public keys of the nodes as CSV (addrA,addrB)
$ mxpy validator unjail --help
usage: mxpy validator unjail [-h] ...
Unjail a Validator Node
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--nodes-public-keys NODES_PUBLIC_KEYS the public keys of the nodes as CSV (addrA,addrB)
$ mxpy validator unbond --help
usage: mxpy validator unbond [-h] ...
Unbond tokens for a bls key
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--nodes-public-keys NODES_PUBLIC_KEYS the public keys of the nodes as CSV (addrA,addrB)
$ mxpy validator change-reward-address --help
usage: mxpy validator change-reward-address [-h] ...
Change the reward address
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--reward-address REWARD_ADDRESS the new reward address
$ mxpy validator claim --help
usage: mxpy validator claim [-h] ...
Claim rewards
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy validator unstake-nodes --help
usage: mxpy validator unstake-nodes [-h] ...
Unstake-nodes will unstake nodes for provided bls keys
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--nodes-public-keys NODES_PUBLIC_KEYS the public keys of the nodes as CSV (addrA,addrB)
$ mxpy validator unstake-tokens --help
usage: mxpy validator unstake-tokens [-h] ...
This command will un-stake the given amount (if value is greater than the existing topUp value, it will unStake one or several nodes)
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--unstake-value UNSTAKE_VALUE the unstake value
$ mxpy validator unbond-nodes --help
usage: mxpy validator unbond-nodes [-h] ...
It will unBond nodes
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--nodes-public-keys NODES_PUBLIC_KEYS the public keys of the nodes as CSV (addrA,addrB)
$ mxpy validator unbond-tokens --help
usage: mxpy validator unbond-tokens [-h] ...
It will unBond tokens, if provided value is bigger that topUp value will unBond nodes
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--unbond-value UNBOND_VALUE the unbond value
$ mxpy validator clean-registered-data --help
usage: mxpy validator clean-registered-data [-h] ...
Deletes duplicated keys from registered data
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy validator restake-unstaked-nodes --help
usage: mxpy validator restake-unstaked-nodes [-h] ...
It will reStake UnStaked nodes
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--nodes-public-keys NODES_PUBLIC_KEYS the public keys of the nodes as CSV (addrA,addrB)
$ mxpy staking-provider --help
usage: mxpy staking-provider COMMAND [-h] ...
Staking provider omnitool
COMMANDS:
{create-new-delegation-contract,get-contract-address,add-nodes,remove-nodes,stake-nodes,unbond-nodes,unstake-nodes,unjail-nodes,delegate,claim-rewards,redelegate-rewards,undelegate,withdraw,change-service-fee,modify-delegation-cap,automatic-activation,redelegate-cap,set-metadata,make-delegation-contract-from-validator}
OPTIONS:
-h, --help show this help message and exit
----------------
COMMANDS summary
----------------
create-new-delegation-contract Create a new delegation system smart contract, transferred value must be greater than baseIssuingCost + min deposit value
get-contract-address Get create contract address by transaction hash
add-nodes Add new nodes must be called by the contract owner
remove-nodes Remove nodes must be called by the contract owner
stake-nodes Stake nodes must be called by the contract owner
unbond-nodes Unbond nodes must be called by the contract owner
unstake-nodes Unstake nodes must be called by the contract owner
unjail-nodes Unjail nodes must be called by the contract owner
delegate Delegate funds to a delegation contract
claim-rewards Claim the rewards earned for delegating
redelegate-rewards Redelegate the rewards earned for delegating
undelegate Undelegate funds from a delegation contract
withdraw Withdraw funds from a delegation contract
change-service-fee Change service fee must be called by the contract owner
modify-delegation-cap Modify delegation cap must be called by the contract owner
automatic-activation Automatic activation must be called by the contract owner
redelegate-cap Redelegate cap must be called by the contract owner
set-metadata Set metadata must be called by the contract owner
make-delegation-contract-from-validator Create a delegation contract from validator data. Must be called by the node operator
$ mxpy staking-provider create-new-delegation-contract --help
usage: mxpy staking-provider create-new-delegation-contract [-h] ...
Create a new delegation system smart contract, transferred value must be greater than baseIssuingCost + min deposit value
options:
-h, --help show this help message and exit
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--total-delegation-cap TOTAL_DELEGATION_CAP the total delegation contract capacity
--service-fee SERVICE_FEE the delegation contract service fee
$ mxpy staking-provider get-contract-address --help
usage: mxpy staking-provider get-contract-address [-h] ...
Get create contract address by transaction hash
options:
-h, --help show this help message and exit
--create-tx-hash CREATE_TX_HASH the hash
--proxy PROXY 🔗 the URL of the proxy
$ mxpy staking-provider add-nodes --help
usage: mxpy staking-provider add-nodes [-h] ...
Add new nodes must be called by the contract owner
options:
-h, --help show this help message and exit
--validators-pem VALIDATORS_PEM a PEM file holding the BLS keys; can contain multiple nodes
--delegation-contract DELEGATION_CONTRACT bech32 address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider remove-nodes --help
usage: mxpy staking-provider remove-nodes [-h] ...
Remove nodes must be called by the contract owner
options:
-h, --help show this help message and exit
--bls-keys BLS_KEYS a list with the bls keys of the nodes as CSV (addrA,addrB)
--validators-pem VALIDATORS_PEM a PEM file holding the BLS keys; can contain multiple nodes
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider stake-nodes --help
usage: mxpy staking-provider stake-nodes [-h] ...
Stake nodes must be called by the contract owner
options:
-h, --help show this help message and exit
--bls-keys BLS_KEYS a list with the bls keys of the nodes as CSV (addrA,addrB)
--validators-pem VALIDATORS_PEM a PEM file holding the BLS keys; can contain multiple nodes
--delegation-contract DELEGATION_CONTRACT bech32 address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider unbond-nodes --help
usage: mxpy staking-provider unbond-nodes [-h] ...
Unbond nodes must be called by the contract owner
options:
-h, --help show this help message and exit
--bls-keys BLS_KEYS a list with the bls keys of the nodes as CSV (addrA,addrB)
--validators-pem VALIDATORS_PEM a PEM file holding the BLS keys; can contain multiple nodes
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider unstake-nodes --help
usage: mxpy staking-provider unstake-nodes [-h] ...
Unstake nodes must be called by the contract owner
options:
-h, --help show this help message and exit
--bls-keys BLS_KEYS a list with the bls keys of the nodes as CSV (addrA,addrB)
--validators-pem VALIDATORS_PEM a PEM file holding the BLS keys; can contain multiple nodes
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider unjail-nodes --help
usage: mxpy staking-provider unjail-nodes [-h] ...
Unjail nodes must be called by the contract owner
options:
-h, --help show this help message and exit
--bls-keys BLS_KEYS a list with the bls keys of the nodes as CSV (addrA,addrB)
--validators-pem VALIDATORS_PEM a PEM file holding the BLS keys; can contain multiple nodes
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider delegate --help
usage: mxpy staking-provider delegate [-h] ...
Delegate funds to a delegation contract
options:
-h, --help show this help message and exit
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider claim-rewards --help
usage: mxpy staking-provider claim-rewards [-h] ...
Claim the rewards earned for delegating
options:
-h, --help show this help message and exit
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider redelegate-rewards --help
usage: mxpy staking-provider redelegate-rewards [-h] ...
Redelegate the rewards earned for delegating
options:
-h, --help show this help message and exit
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider undelegate --help
usage: mxpy staking-provider undelegate [-h] ...
Undelegate funds from a delegation contract
options:
-h, --help show this help message and exit
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider withdraw --help
usage: mxpy staking-provider withdraw [-h] ...
Withdraw funds from a delegation contract
options:
-h, --help show this help message and exit
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider change-service-fee --help
usage: mxpy staking-provider change-service-fee [-h] ...
Change service fee must be called by the contract owner
options:
-h, --help show this help message and exit
--service-fee SERVICE_FEE new service fee value
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider modify-delegation-cap --help
usage: mxpy staking-provider modify-delegation-cap [-h] ...
Modify delegation cap must be called by the contract owner
options:
-h, --help show this help message and exit
--delegation-cap DELEGATION_CAP new delegation contract capacity
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider automatic-activation --help
usage: mxpy staking-provider automatic-activation [-h] ...
Automatic activation must be called by the contract owner
options:
-h, --help show this help message and exit
--set set automatic activation True
--unset set automatic activation False
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider redelegate-cap --help
usage: mxpy staking-provider redelegate-cap [-h] ...
Redelegate cap must be called by the contract owner
options:
-h, --help show this help message and exit
--set set redelegate cap True
--unset set redelegate cap False
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider set-metadata --help
usage: mxpy staking-provider set-metadata [-h] ...
Set metadata must be called by the contract owner
options:
-h, --help show this help message and exit
--name NAME name field in staking provider metadata
--website WEBSITE website field in staking provider metadata
--identifier IDENTIFIER identifier field in staking provider metadata
--delegation-contract DELEGATION_CONTRACT address of the delegation contract
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy staking-provider make-delegation-contract-from-validator --help
usage: mxpy staking-provider make-delegation-contract-from-validator [-h] ...
Create a delegation contract from validator data. Must be called by the node operator
options:
-h, --help show this help message and exit
--max-cap MAX_CAP total delegation cap in EGLD, fully denominated. Use value 0 for
uncapped
--fee FEE service fee as hundredths of percents. (e.g. a service fee of 37.45
percent is expressed by the integer 3745)
--proxy PROXY 🔗 the URL of the proxy
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--nonce NONCE # the nonce for the transaction. If not provided, is fetched from the
network.
--recall-nonce ⭮ whether to recall the nonce when creating the transaction (default:
False). This argument is OBSOLETE.
--gas-price GAS_PRICE ⛽ the gas price (default: 1000000000)
--gas-limit GAS_LIMIT ⛽ the gas limit
--value VALUE the value to transfer (default: 0)
--chain CHAIN the chain identifier
--version VERSION the transaction version (default: 2)
--options OPTIONS the transaction options (default: 0)
--relayer RELAYER the bech32 address of the relayer
--guardian GUARDIAN the bech32 address of the guardian
--send ✓ whether to broadcast the transaction (default: False)
--simulate whether to simulate the transaction (default: False)
--outfile OUTFILE where to save the output (signed transaction, hash) (default: stdout)
--guardian-service-url GUARDIAN_SERVICE_URL the url of the guardian service
--guardian-2fa-code GUARDIAN_2FA_CODE the 2fa code for the guardian
--guardian-pem GUARDIAN_PEM 🔑 the PEM file, if keyfile not provided
--guardian-keyfile GUARDIAN_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--guardian-passfile GUARDIAN_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--guardian-ledger 🔐 bool flag for signing transaction using ledger
--guardian-wallet-index GUARDIAN_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
--relayer-pem RELAYER_PEM 🔑 the PEM file, if keyfile not provided
--relayer-keyfile RELAYER_KEYFILE 🔑 a JSON keyfile, if PEM not provided
--relayer-passfile RELAYER_PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--relayer-ledger 🔐 bool flag for signing transaction using ledger
--relayer-wallet-index RELAYER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type
mnemonic or Ledger devices (default: 0)
$ mxpy wallet --help
usage: mxpy wallet COMMAND [-h] ...
Create wallet, derive secret key from mnemonic, bech32 address helpers etc.
COMMANDS:
{new,convert,bech32,sign-message,verify-message}
OPTIONS:
-h, --help show this help message and exit
----------------
COMMANDS summary
----------------
new Create a new wallet and print its mnemonic; optionally save as password-protected JSON (recommended) or PEM (not recommended)
convert Convert a wallet from one format to another
bech32 Helper for encoding and decoding bech32 addresses
sign-message Sign a message
verify-message Verify a previously signed message
$ mxpy wallet new --help
usage: mxpy wallet new [-h] ...
Create a new wallet and print its mnemonic; optionally save as password-protected JSON (recommended) or PEM (not recommended)
options:
-h, --help show this help message and exit
--format {raw-mnemonic,keystore-mnemonic,keystore-secret-key,pem}
the format of the generated wallet file (default: None)
--outfile OUTFILE the output path and base file name for the generated wallet files
(default: None)
--address-hrp ADDRESS_HRP the human-readable part of the address, when format is keystore-
secret-key or pem (default: erd)
--shard SHARD the shard in which the address will be generated; (default: random)
$ mxpy wallet convert --help
usage: mxpy wallet convert [-h] ...
Convert a wallet from one format to another
options:
-h, --help show this help message and exit
--infile INFILE path to the input file
--outfile OUTFILE path to the output file
--in-format {raw-mnemonic,keystore-mnemonic,keystore-secret-key,pem}
the format of the input file
--out-format {raw-mnemonic,keystore-mnemonic,keystore-secret-key,pem,address-bech32,address-hex,secret-key}
the format of the output file
--address-index ADDRESS_INDEX the address index, if input format is raw-mnemonic, keystore-mnemonic
or pem (with multiple entries) and the output format is keystore-
secret-key or pem
--address-hrp ADDRESS_HRP the human-readable part of the address, when the output format is
keystore-secret-key or pem (default: erd)
$ mxpy wallet bech32 --help
usage: mxpy wallet bech32 [-h] ...
Helper for encoding and decoding bech32 addresses
positional arguments:
value the value to encode or decode
options:
-h, --help show this help message and exit
--encode whether to encode
--decode whether to decode
--hrp HRP the human readable part; only used for encoding to bech32 (default: erd)
$ mxpy wallet sign-message --help
usage: mxpy wallet sign-message [-h] ...
Sign a message
options:
-h, --help show this help message and exit
--message MESSAGE the message you want to sign
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type mnemonic
or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
$ mxpy wallet verify-message --help
usage: mxpy wallet verify-message [-h] ...
Verify a previously signed message
options:
-h, --help show this help message and exit
--address ADDRESS the bech32 address of the signer
--message MESSAGE the previously signed message(readable text, as it was signed)
--signature SIGNATURE the signature in hex format
$ mxpy validator-wallet --help
usage: mxpy validator-wallet COMMAND [-h] ...
Create a validator wallet, sign and verify messages and convert a validator wallet to a hex secret key.
COMMANDS:
{new,sign-message,verify-message-signature,convert}
OPTIONS:
-h, --help show this help message and exit
----------------
COMMANDS summary
----------------
new Create a new validator wallet and save it as a PEM file.
sign-message Sign a message.
verify-message-signature Verify a previously signed message.
convert Convert a validator pem file to a hex secret key.
$ mxpy validator-wallet new --help
usage: mxpy validator-wallet new [-h] ...
Create a new validator wallet and save it as a PEM file.
options:
-h, --help show this help message and exit
--outfile OUTFILE the output path and file name for the generated wallet
$ mxpy validator-wallet convert --help
usage: mxpy validator-wallet convert [-h] ...
Convert a validator pem file to a hex secret key.
options:
-h, --help show this help message and exit
--infile INFILE the pem file of the wallet
--index INDEX the index of the validator in case the file contains multiple validators (default: 0)
$ mxpy validator-wallet sign-message --help
usage: mxpy validator-wallet sign-message [-h] ...
Sign a message.
options:
-h, --help show this help message and exit
--message MESSAGE the message you want to sign
--pem PEM the path to a validator pem file
--index INDEX the index of the validator in case the file contains multiple validators (default: 0)
$ mxpy validator-wallet verify-message-signature --help
usage: mxpy validator-wallet verify-message-signature [-h] ...
Verify a previously signed message.
options:
-h, --help show this help message and exit
--pubkey PUBKEY the hex string representing the validator's public key
--message MESSAGE the previously signed message(readable text, as it was signed)
--signature SIGNATURE the signature in hex format
$ mxpy localnet --help
usage: mxpy localnet COMMAND [-h] ...
Set up, start and control localnets
COMMANDS:
{setup,new,prerequisites,build,start,config,clean}
OPTIONS:
-h, --help show this help message and exit
$ mxpy localnet setup --help
usage: mxpy localnet setup [-h] ...
Set up a localnet (runs 'prerequisites', 'build' and 'config' in one go)
options:
-h, --help show this help message and exit
--configfile CONFIGFILE An optional configuration file describing the localnet
$ mxpy localnet new --help
usage: mxpy localnet new [-h] ...
Create a new localnet configuration
options:
-h, --help show this help message and exit
--configfile CONFIGFILE An optional configuration file describing the localnet
$ mxpy localnet prerequisites --help
usage: mxpy localnet prerequisites [-h] ...
Download and verify the prerequisites for running a localnet
options:
-h, --help show this help message and exit
--configfile CONFIGFILE An optional configuration file describing the localnet
$ mxpy localnet build --help
usage: mxpy localnet build [-h] ...
Build necessary software for running a localnet
options:
-h, --help show this help message and exit
--configfile CONFIGFILE An optional configuration file describing the localnet
--software {node,seednode,proxy} [{node,seednode,proxy} ...]
The software to build (default: ['node', 'seednode', 'proxy'])
$ mxpy localnet config --help
usage: mxpy localnet config [-h] ...
Configure a localnet (required before starting it the first time or after clean)
options:
-h, --help show this help message and exit
--configfile CONFIGFILE An optional configuration file describing the localnet
$ mxpy localnet start --help
usage: mxpy localnet start [-h] ...
Start a localnet
options:
-h, --help show this help message and exit
--configfile CONFIGFILE An optional configuration file describing the localnet
--stop-after-seconds STOP_AFTER_SECONDS Stop the localnet after a given number of seconds (default: 31536000)
$ mxpy localnet clean --help
usage: mxpy localnet clean [-h] ...
Erase the currently configured localnet (must be already stopped)
options:
-h, --help show this help message and exit
--configfile CONFIGFILE An optional configuration file describing the localnet
$ mxpy deps --help
usage: mxpy deps COMMAND [-h] ...
Manage dependencies or multiversx-sdk modules
COMMANDS:
{install,check}
OPTIONS:
-h, --help show this help message and exit
----------------
COMMANDS summary
----------------
install Install dependencies or multiversx-sdk modules.
check Check whether a dependency is installed.
$ mxpy deps install --help
usage: mxpy deps install [-h] ...
Install dependencies or multiversx-sdk modules.
positional arguments:
{all,golang,testwallets} the dependency to install
options:
-h, --help show this help message and exit
--overwrite whether to overwrite an existing installation
$ mxpy deps check --help
usage: mxpy deps check [-h] ...
Check whether a dependency is installed.
positional arguments:
{all,golang,testwallets} the dependency to check
options:
-h, --help show this help message and exit
$ mxpy config --help
usage: mxpy config COMMAND [-h] ...
Configure multiversx-sdk (default values etc.)
COMMANDS:
{dump,get,set,delete,new,switch,list,reset}
OPTIONS:
-h, --help show this help message and exit
----------------
COMMANDS summary
----------------
dump Dumps configuration.
get Gets a configuration value.
set Sets a configuration value.
delete Deletes a configuration value.
new Creates a new configuration.
switch Switch to a different config
list List available configs
reset Deletes the config file. Default config will be used.
$ mxpy config dump --help
usage: mxpy config dump [-h] ...
Dumps configuration.
options:
-h, --help show this help message and exit
--defaults dump defaults instead of local config
$ mxpy config get --help
usage: mxpy config get [-h] ...
Gets a configuration value.
positional arguments:
name the name of the configuration entry
options:
-h, --help show this help message and exit
$ mxpy config set --help
usage: mxpy config set [-h] ...
Sets a configuration value.
positional arguments:
name the name of the configuration entry
value the new value
options:
-h, --help show this help message and exit
$ mxpy config new --help
usage: mxpy config new [-h] ...
Creates a new configuration.
positional arguments:
name the name of the configuration entry
options:
-h, --help show this help message and exit
--template TEMPLATE template from which to create the new config
$ mxpy config switch --help
usage: mxpy config switch [-h] ...
Switch to a different config
positional arguments:
name the name of the configuration entry
options:
-h, --help show this help message and exit
$ mxpy config list --help
usage: mxpy config list [-h] ...
List available configs
options:
-h, --help show this help message and exit
$ mxpy config reset --help
usage: mxpy config reset [-h] ...
Deletes the config file. Default config will be used.
options:
-h, --help show this help message and exit
$ mxpy data --help
usage: mxpy data COMMAND [-h] ...
Data manipulation omnitool
COMMANDS:
{parse,store,load}
OPTIONS:
-h, --help show this help message and exit
----------------
COMMANDS summary
----------------
parse Parses values from a given file
store Stores a key-value pair within a partition
load Loads a key-value pair from a storage partition
$ mxpy data parse --help
usage: mxpy data parse [-h] ...
Parses values from a given file
options:
-h, --help show this help message and exit
--file FILE path of the file to parse
--expression EXPRESSION the Python-Dictionary expression to evaluate in order to extract the data
$ mxpy data store --help
usage: mxpy data store [-h] ...
Stores a key-value pair within a partition
options:
-h, --help show this help message and exit
--key KEY the key
--value VALUE the value to save
--partition PARTITION the storage partition (default: *)
--use-global use the global storage (default: False)
$ mxpy data load --help
usage: mxpy data load [-h] ...
Loads a key-value pair from a storage partition
options:
-h, --help show this help message and exit
--key KEY the key
--partition PARTITION the storage partition (default: *)
--use-global use the global storage (default: False)
$ mxpy faucet --help
usage: mxpy faucet COMMAND [-h] ...
Get xEGLD on Devnet or Testnet
COMMANDS:
{request}
OPTIONS:
-h, --help show this help message and exit
----------------
COMMANDS summary
----------------
request Request xEGLD.
$ mxpy faucet request --help
usage: mxpy faucet request [-h] ...
Request xEGLD.
options:
-h, --help show this help message and exit
--pem PEM 🔑 the PEM file, if keyfile not provided
--keyfile KEYFILE 🔑 a JSON keyfile, if PEM not provided
--passfile PASSFILE 🔑 a file containing keyfile's password, if keyfile provided. If not
provided, you'll be prompted to enter the password.
--ledger 🔐 bool flag for signing transaction using ledger
--sender-wallet-index SENDER_WALLET_INDEX 🔑 the address index; can be used for PEM files, keyfiles of type mnemonic
or Ledger devices (default: 0)
--sender-username SENDER_USERNAME 🖄 the username of the sender
--chain {D,T} the chain identifier
--api API custom api url for the native auth client
--wallet-url WALLET_URL custom wallet url to call the faucet from