Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 659 Bytes

File metadata and controls

34 lines (22 loc) · 659 Bytes

hypersync-client-python

Python package for Envio's HyperSync client written in Rust

Setup

Recommeded to use a venv to install the package.

python -m venv .venv

Then activate the venv before use.

source .venv/bin/activate

Then install the packages with pip.

pip install -e .

Examples (examples/)

There are a collection of self-contained examples you can look through. To run them run python examples/<example>.py.

For examples that call the HyperSync API, set the Envio API token via the environment:

export ENVIO_API_TOKEN="your-token"
python examples/chain_id.py