Skip to main content

Tools for exporting Tezos blockchain data to JSON

Project description

Tezos ETL

Build Status Documentation Status

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 100 \
--provider-uri https://mainnet.api.tez.ie --output-dir output --output-format json

For the latest version, checkout the repo and call

pip install -e .
python tezosetl.py

Running Tests

pip install -e .[dev]
echo "TEZOSETL_PROVIDER_URI variable is optional"
export TEZOSETL_PROVIDER_URI=https://mainnet.api.tez.ie
pytest -vv

Running Tox Tests

pip install tox
tox

Running in Docker

  1. Install Docker https://docs.docker.com/install/

  2. Build a docker image:

     docker build -t tezos-etl:latest .
     docker image ls
    
  3. 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.api.tez.ie --output-format csv
    

Project details


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-1.4.6.tar.gz (12.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page