Metadata-Version: 2.1
Name: mx-sdk-erdpy-wallet
Version: 0.2.1
Summary: MultiversX: wallet components of erdpy.
Project-URL: Homepage, https://github.com/ElrondNetwork/sdk-erdpy-wallet
Author: Elrond Network
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: cryptography==36.0.2
Requires-Dist: erdpy-core==0.3.0
Requires-Dist: mnemonic==0.20
Requires-Dist: pynacl==1.5.0
Description-Content-Type: text/markdown

# sdk-erdpy-wallet

Wallet & crypto components of **erdpy**.

## Documentation

[docs.elrond.com](https://docs.elrond.com/sdk-and-tools/erdpy/erdpy/)

## 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:

```
export MCL_SIGNER_PATH=~/elrondsdk/mcl_signer/v1.0.0/signer
pytest .
```

### Linting

First, install [`pyright`](https://github.com/microsoft/pyright) as follows:

```
npm install --global pyright
```

Run `pyright`:

```
pyright
```

Run `flake8`:

```
flake8 erdpy_wallet
```
