Tools for exporting Zilliqa blockchain data to JSON
Project description
Zilliqa ETL CLI
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
-
Install Docker https://docs.docker.com/install/
-
Build a docker image
> docker build -t zilliqa-etl:latest . > docker image ls
-
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
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
zilliqa-etl-1.0.2.tar.gz
(9.7 kB
view details)
File details
Details for the file zilliqa-etl-1.0.2.tar.gz
.
File metadata
- Download URL: zilliqa-etl-1.0.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a6394ae023323c3f0705728f4e259be97c851bf99b05060683c0ed86a9229e9 |
|
MD5 | a61e864818c1f39a8d2141059f8e3020 |
|
BLAKE2b-256 | 297238a6fe3c17035b5e1dbfacb061fecf37297475dbcaa69dbc838feba85aa9 |