Backend indexer for Riften Labs BCH DeFi contracts (Cauldron, Moria). Mirror of gitlab.com/riftenlabs/riftenlabs-indexer (AGPL-3.0). Author: Riften Labs.
Find a file
Dagur Valberg Johannsson e5f77fb1d4
Use Kahn's algorithm for ttor sorting
Improves indexing speed
2025-08-15 19:00:39 +02:00
contrib doc: Add URI examples to API docs 2025-07-23 08:49:41 +02:00
internal Add missing config spec 2024-10-25 15:26:49 +02:00
linters Remove duplicate code; make use of pool visitor 2025-07-18 17:09:56 +02:00
src Use Kahn's algorithm for ttor sorting 2025-08-15 19:00:39 +02:00
.gitignore contrib: Tool for documenting API calls 2025-07-22 13:08:48 +02:00
.gitlab-ci.yml contrib: Tool for documenting API calls 2025-07-22 13:08:48 +02:00
build.rs missing build file 2024-10-25 15:28:40 +02:00
Cargo.lock Add arbitrary int support 2025-07-16 09:30:17 +02:00
Cargo.toml Fix clippy issues 2025-07-16 13:52:46 +02:00
LICENSE use AGPL 2024-02-05 16:32:27 +01:00
README.md README: contributors license 2024-03-14 10:54:44 +01:00

Riftenlabs Indexer

RiftenLabs indexer is for indexing DeFi contracts by Riften Labs. It allows for querying historical on-chain data on Bitcoin Cash.

Contributing

All contributors are required to sign a Contributor License Agreement (CLA) before their contributions can be merged into the project.

Contributions are generally welcome. If you intend to make larger changes please discuss them in an issue before MRing them to avoid duplicate work and architectural mismatches.

Installing Rust

Rust can be installed using your package manager of choice or rustup.rs. The former way is considered more secure since it typically doesn't involve trust in the CA system. But you should be aware that the version of Rust shipped by your distribution might be out of date.

Building

The library can be built and tested using cargo:

git clone https://gitlab.com/riftenlabs/riftenlabs-indexer.git
cd riftenlabs-indexer
cargo build

You can run tests with:

cargo test