Package for easily downloading a chunked Tendermint genesis from a RCP enabled node.
Project description
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
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
Built Distribution
Close
Hashes for tendermint_chunked_genesis_download-1.0.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03610ff9dae03e1b655bc73341127a018771668f317933bf2cc4e5f9b2d6b434 |
|
MD5 | 03291002cf1d1c579bede11c1aa7fb52 |
|
BLAKE2b-256 | bd626205696e3e65325f65a507a1b43ad2b509c9de82ae665e67592f20bc9ee8 |
Close
Hashes for tendermint_chunked_genesis_download-1.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17501f6d27f06a70a28294cf834e1d996215242913f429eae257b73b16f480d5 |
|
MD5 | 0a056c182d93c35a42cce90e92b4d663 |
|
BLAKE2b-256 | 0a366ad863f5c178d25fc5fe3f83ad8a2744164da24026b789be0612424e0dd3 |