Paradex CLI is a command-line interface (CLI) for managing account contract setups, including printing account info, adding guardians, changing signers, and more.
You can install the package via pip:
pip install paradex_cliOr using Poetry:
poetry add paradex_cliparadex_cli print-account-info ACCOUNT_ADDRESS --env ENVIRONMENTparadex_cli add-guardian PUB_KEY --env ENVIRONMENTparadex_cli add-guardian-backup PUB_KEY --env ENVIRONMENTparadex_cli change-signer PUB_KEY --env ENVIRONMENTparadex_cli sign-invoke-tx FILE_PATH --env ENVIRONMENTparadex_cli submit-invoke-tx TX_FILE_PATH SIG_FILES --env ENVIRONMENTparadex_cli trigger-escape-guardian --env ENVIRONMENT
To contribute to this project, follow these steps:
git clone https://github.com/tradeparadex/paradex_cli.git
cd paradex_cliInstall the dependencies using Poetry:
poetry installEnsure everything is working by running the tests:
poetry run pytestMake your changes to the codebase.
Add tests for your new features or bug fixes.
Run the tests again to make sure everything is still working:
poetry run pytestCommit your changes and push them to your fork:
git add .
git commit -m "Description of your changes"
git push origin your-branchCreate a pull request against the main branch of this repository.
To build the project, run:
poetry buildTo publish the project to PyPI, run:
poetry publish --buildMake sure you have configured your PyPI token:
poetry config pypi-token.pypi <your-token>