An open API service indexing awesome lists of open source software.

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

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)