Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reecepbcups/interchain-indexer
A cosmos / interchain blockchain indexer written in Python
https://github.com/reecepbcups/interchain-indexer
Last synced: about 2 months ago
JSON representation
A cosmos / interchain blockchain indexer written in Python
- Host: GitHub
- URL: https://github.com/reecepbcups/interchain-indexer
- Owner: Reecepbcups
- Created: 2023-04-05T02:02:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-04T19:36:07.000Z (over 1 year ago)
- Last Synced: 2024-04-14T22:51:04.350Z (8 months ago)
- Language: Python
- Homepage:
- Size: 1.28 MB
- Stars: 19
- Watchers: 1
- Forks: 5
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cosmos Indexer
## Past Index Archive Download
-
- SQLite data.db - 14GB Compressed, 55GB de-compressed. *(missing 2578098 and 4136531 per halts)*## Snapshot Export Data
- (Bank, Staking, and Sequence exports every 20k blocks)
## Compression & Decompression
```bash
# compressed
tar -czvf network_start-end.tar.gz data.db
# decompressed
tar -xzvf name-of-archive.tar.gz
```---
## Getting Started
```bash
cp chain_config.json.example chain_config.json
# Setup the values correctly and ranges for blocks# TASK Types:
# - download
# - decode
# - missing
# - sync (When you have it all indexed, use this to stay up on the tip. This gets latest chain & downloaded, and downloads / decodes all inbetween)python3 main.py 0
python3 main.py 1
...
```## Notes
```text
- Addresses of UNKOWN are for MultiSendMessages. These Messages do not contain the actual addresses.
```## Sections
```json
"sections": {
"genesis": {
"start": 1,
"end": 2579000,
"grouping": 1000,
"rpc_endpoints": [
"https://rpc-v2-archive.junonetwork.io:443"
]
},
"2nd": {
"start": 2578000,
"end": 4136600,
"grouping": 1,
"rpc_endpoints": [
"https://rpc-v3-archive.junonetwork.io:443"
]
},
"end1": {
"start": 4136500,
"end": 6000000,
"grouping": 1000,
"rpc_endpoints": [
"https://rpc-archive.junonetwork.io:443"
]
},
"end2": {
"start": 6000000,
"end": 8000000,
"grouping": 1000,
"rpc_endpoints": [
"https://rpc-archive.junonetwork.io:443"
]
}
}
```