Skip to main content

Tools for exporting Zilliqa blockchain data to JSON

Project description

Zilliqa ETL CLI

Build Status

Zilliqa ETL CLI lets you convert Zilliqa data into JSON newline-delimited format.

Full documentation available here.

Quickstart

Install Zilliqa ETL CLI:

pip3 install zilliqa-etl

Export directory service blocks (Schema, Reference):

> zilliqaetl export_ds_blocks --start-block 1 --end-block 500000 \
--output-dir output --provider-uri https://api.zilliqa.com

Find other commands here.

For the latest version, check out the repo and call

> pip3 install -e . 
> python3 zilliqaetl.py

Useful Links

Running Tests

> pip3 install -e .[dev]
> export ZILLIQAETL_PROVIDER_URI=https://api.zilliqa.com
> pytest -vv

Running Tox Tests

> pip3 install tox
> tox

Running in Docker

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

  2. Build a docker image

     > docker build -t zilliqa-etl:latest .
     > docker image ls
    
  3. Run a container out of the image

     > docker run -v $HOME/output:/zilliqa-etl/output zilliqa-etl:latest export_ds_blocks -s 1 -e 500000 -o output
    

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

zilliqa-etl-1.0.7.tar.gz (10.3 kB view details)

Uploaded Source

File details

Details for the file zilliqa-etl-1.0.7.tar.gz.

File metadata

  • Download URL: zilliqa-etl-1.0.7.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for zilliqa-etl-1.0.7.tar.gz
Algorithm Hash digest
SHA256 011a14f4167ddddf429d50afd0a73893993b5aacefe6a078d6e57d90d168c405
MD5 c52c71fa24d21b388dcf3a82ec9e383c
BLAKE2b-256 1d7caf7ba4d9f9c3cd0abf555e90ed27d9c83093b739ef7f702f39973bf09830

See more details on using hashes here.

Provenance

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