https://github.com/pragmaxim-com/chain-syncer
Universal blockchain indexing tool on top of Redbit
https://github.com/pragmaxim-com/chain-syncer
bitcoin blockchain cardano ergo redb rust
Last synced: about 1 month ago
JSON representation
Universal blockchain indexing tool on top of Redbit
- Host: GitHub
- URL: https://github.com/pragmaxim-com/chain-syncer
- Owner: pragmaxim-com
- License: mit
- Created: 2024-06-11T07:56:45.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-08-07T16:22:17.000Z (10 months ago)
- Last Synced: 2025-08-07T18:18:59.688Z (10 months ago)
- Topics: bitcoin, blockchain, cardano, ergo, redb, rust
- Language: Rust
- Homepage:
- Size: 7.74 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT.txt
Awesome Lists containing this project
README
## Chain Syncer
Chain syncer keeps you in sync with arbitrary blockchain if you implement the [api](src/api.rs).
Chain tip is "eventually consistent" with the settlement layer through eager fork competition such that
superseded forks are immediately deleted from DB and replaced with more valuable fork when it appears.
Ie. only one winning fork is kept in the DB at given moment. This allows for much better performance and space efficiency.
### Perf
Chain syncer uses 3 main independent threads : block fetching, processing and persistence while persistence being sequential, block after block.
### Usage
```
chain-syncer = { git = "https://github.com/pragmaxim-com/chain-syncer" }
```
- [Bitcoin Explorer](https://github.com/pragmaxim-com/bitcoin-explorer)
- [Cardano Explorer](https://github.com/pragmaxim-com/cardano-explorer)
- [Ergo Explorer](https://github.com/pragmaxim-com/ergo-explorer)