This project uses Poetry for management, which needs to be installed to run following instructions. Checkout the repository and run:
poetry installTo run examples you need invoke them via poetry:
poetry run python examples/rate_providers/rate_providers.pypython -m golem status
python -m golem find-node --runtime vm
python -m golem find-node --runtime vm --subnet public-beta
python -m golem find-node --runtime vm --timeout 7 # stops after 7 seconds
python -m golem find-node --runtime vm --timeout 1m # stops after 60 seconds
python -m golem allocation list
python -m golem allocation new 1
python -m golem allocation new 2 --driver erc20 --network holesky
python -m golem allocation cleanTo build docs run following commands:
poetry run poe sphinxThen you can open build/api.html file in your web browser.
poetry run poe formatpoetry run poe checksUnit tests:
poetry run poe tests_unitIntegration tests (requires running local yagna in requestor mode or goth in interactive mode):
poetry run poe tests_integration