Tendermint Chunked Genesis Download
A library to easily download a chunked genesis from a Tendermint chain (eg: Cosmos). Access to an RPC enabled node is required. It is usually running on port 26657 (eg: local node address 127.0.0.1:26657).
Install
pip install tendermint-chunked-genesis-download
Usage
Import the tendermint_chunked_genesis_download package and call the download_genesis(url) function. Provide a valid Tendermint RPC url as a parameter to the function.
import tendermint_chunked_genesis_download as tcgd
tcgd.download_genesis('https://evmos-rpc.evmosis.com')
Using from command line
tendermint-chunked-genesis-download TENDERMINT_RPC_URL
Exceptions
| Name | Reason |
|---|---|
| InvalidRPC | The Tendermint RPC url is invalid |
| NodeNotSynchronized | The Tendermint node is not yet fully synchronized |
| UnsuccessfulHttpRequest | The node request has not returned a 2XX HTTP success code |
Dependencies
Python libraries which helped:
Projects that use the genesis download library
Release files for tendermint-chunked-genesis-download 1.0.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tendermint_chunked_genesis_download-1.0.16.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tendermint_chunked_genesis_download-1.0.16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / tendermint_chunked_genesis_download-1.0.16.tar.gz
| Download URL | tendermint_chunked_genesis_download-1.0.16.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd5679c96eb0e52170c474d5551539b5edd5914e655ea201e547968d3a948667
|
|
BLAKE2b-256 checksum How to use checksums |
08a1a26d623b18da2a6a5c325bb8a927c27c9b7a8f22d461d45843adc7dfb7de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.7
|
Release files / tendermint_chunked_genesis_download-1.0.16-py3-none-any.whl
| Download URL | tendermint_chunked_genesis_download-1.0.16-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25f39e3bf0a05cb2d58529b66b8244c50d16d0c71e73996221e8a9f46ce6f554
|
|
BLAKE2b-256 checksum How to use checksums |
5b4749f3e86f5a454f5807f1f0c13f95f8613c008b754ff6de6acb6e0e1abd43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.7
|