Steps to run the payment handler scripts:
- install Rust
- create a Python 3.10 virtual environment
- install Poetry in this virtual environment and
install the project's dependencies (
poetry install) Note: The lock file in the repo was generated with Poetry 1.8.3 - ensure you put the path to your virtual environment in VIRTUAL_ENV (
export VIRTUAL_ENV=<path_to_virtual_env>) - build and install the wheel in your Python environment (
maturin develop) - generate payment batches with
make generate_payments - run the Python and Rust payment handler with
make python_handler,make rust_parallel_handlerandrust_single_threaded_handler, respectively