This guide shows you how to run the example scripts included in the SDK.
From the project root, you can run any example file directly:
uv run examples/name_of_file.pyIf they must be run as a module, use:
uv run -m examples.name_of_moduleIf you are using your own venv, you can also use:
python examples/name_of_file.py
python -m examples.name_of_moduleSome example scripts (notably those related to Ethereum / EVM functionality) require optional dependencies that are not installed by default.
If you encounter import errors related to Ethereum libraries, install the ETH extra before running those examples.
uv sync --dev --extra ethpip install -e ".[eth]"You'll need your environment variables and uv set up as outlined in /README.md README