mx-sdk-py-wallet
Wallet & crypto components of MultiversX Python SDK.
Distribution
- GitHub:
git+https://git@github.com/multiversx/mx-sdk-py-wallet.git@v{Version}#egg=multiversx_sdk_wallet
- PyPi
Documentation
Development setup
Virtual environment
Create a virtual environment and install the dependencies:
python3 -m venv ./venv
source ./venv/bin/activate
pip install -r ./requirements.txt --upgrade
Install development dependencies, as well:
pip install -r ./requirements-dev.txt --upgrade
Above, requirements.txt
should mirror the dependencies section of pyproject.toml
.
If using VSCode, restart it or follow these steps:
Ctrl + Shift + P
- Select Interpreter
- Choose
./venv/bin/python
.
Tests
Run the tests as follows:
pytest .
Linting
First, install pyright
as follows:
npm install --global pyright
Run pyright
:
pyright
Run flake8
:
flake8 multiversx_sdk_wallet