Avalanche ETL
Avalanche ETL lets you convert Avalanche blockchain data into convenient formats like JSONs, CSVs and relational databases. This is a fork of Ethereum ETL.
Full documentation available here.
Notice: Avalanche ETL is still on the beta version. However, CLIs are all functional.
Quickstart
Install Avalanche ETL:
pip3 install avalanche-etl
Export blocks and transactions
> avalancheetl export_blocks_and_transactions --start-block 0 --end-block 5000 \
--blocks-output blocks.json --transactions-output transactions.json
Export ERC20 and ERC721 transfers
> avalancheetl export_token_transfers --start-block 0 --end-block 5000 \
--output token_transfers.json
Export traces
> avalancheetl export_traces --start-block 0 --end-block 5000 \
--output traces.json
Find other commands here.
For the latest version, check out the repo and call
> pip3 install -e .
> python3 avalancheetl.py
Running in Docker
-
Install Docker https://docs.docker.com/install/
-
Build a docker image
> docker build -t avalanche-etl:latest . > docker image ls
-
Run a container out of the image
> docker run -v $HOME/output:/avalanche-etl/output avalanche-etl:latest export_all -s 0 -e 5499999 -b 100000 > docker run -v $HOME/output:/avalanche-etl/output avalanche-etl:latest export_all -s 2018-01-01 -e 2018-01-01
Metadata
Release files for avalanche-etl 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| avalanche-etl-0.0.2.tar.gz | 56.8 kB | Without provenance | Details |
Release files / avalanche-etl-0.0.2.tar.gz
| Download URL | avalanche-etl-0.0.2.tar.gz |
|---|---|
| Size | 56.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
adef1a3269ffceb199421041f5b5a4721861604f731ffc43ba41bea1c503b013
|
|
BLAKE2b-256 checksum How to use checksums |
9d702854e2eeb0e5786f4705a8928e22f348984834e5396b9dfe1a9206202b4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Security for avalanche-etl 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.