Tools for exporting Tezos blockchain data to JSON
Project description
Tezos ETL
Full documentation available here.
Quickstart
Install Tezos ETL:
pip install tezos-etl
Export blocks, balance updates and operations (Schema, Reference):
> tezosetl export --start-block 1 --end-block 500000 \
--provider-uri https://mainnet-tezos.giganode.io --output-dir output
For the latest version, check out the repo and call
> pip install -e .
> python tezosetl.pyo
Running Tests
> pip install -e .[dev]
> echo "TEZOSETL_PROVIDER_URI variable is optional"
> export TEZOSETL_PROVIDER_URI=https://mainnet-tezos.giganode.io
> pytest -vv
Running Tox Tests
> pip install tox
> tox
Running in Docker
-
Install Docker https://docs.docker.com/install/
-
Build a docker image:
docker build -t tezos-etl:latest . docker image ls
-
Start the export using the image:
docker run -v $HOME/output:/tezos-etl/output tezos-etl:latest export_partitioned -s 2018-06-30 -e 2018-07-01 -p https://mainnet-tezos.giganode.io
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tezos-etl-0.1.0.tar.gz
(11.4 kB
view hashes)