Skip to content

Toni-d-e-v/idena-indexer-rs

Repository files navigation

idena-indexer-rs

  • Donate: 0xa15de4839ed11ac66a6ff0a4e58fe90d99e67b3d (IDENA)

Idena blockchain indexer built in rust and explorer in react.js

  • You can use this indexer to build your own explorer or to query data from the blockchain

Features

  • Fast and lightweight indexer built in rust
  • Indexes all blocks,
  • PostgreSQl + diesel ORM

How to run

Requirements

  • Docker
  • Docker-compose
  • Rust
  • Cargo
git clone https://github.com/Toni-d-e-v/idena-indexer-rs
docker-compose up -d
cargo install diesel_cli
diesel migration run
cargo run

Screenshot

image

Calls

/block/{hash_block}
/block/height/{height}
/lastblock
/last100blocks
/tx/{hash_tx}
/account/{address}
/epoch

Roadmap

  • API for querying data
  • Index all blocks
  • Index all transactions
  • UI
  • Websocket API for subscribing to new blocks
  • Websocket API for subscribing to new transactions
  • Websocket API for subscribing to new accounts

About

Rust based idena indexer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published