Skip to content
This repository was archived by the owner on Aug 9, 2025. It is now read-only.

pragmaxim-com/cardano-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cardano Explorer

Cardano explorer on top of redbit and chain-syncer

It uses tiny block_height/tx_index/utxo_index/[asset_index] dictionary pointers to big hashes, ie. not a single hash is duplicated, which allows for much better space efficiency and syncing speed with local node and an SSD.

Chain tip is "eventually consistent" through fork competition, ie. forks get settled eventually and superseded forks are deleted from DB.

Installation (Debian/Ubuntu)

sudo apt-get install rustup

Usage

Run cardano node locally, api at port 3001 can be change in config/cardano.toml, for example :

nohup ./bin/cardano-node run \
    --topology /opt/cardano/share/mainnet/topology.json \
    --config /opt/cardano/share/mainnet/config.json \
    --database-path ~/.cardano/db \
    --socket-path ~/.cardano/db/node.socket \
    --host-addr 0.0.0.0 \
    --port 3001 &
./bin/cardano-cli query tip --mainnet --socket-path ~/.cardano/db/node.socket

Then :

cargo run

Indexing might crash especially on laptops with Node running locally and not being synced yet. In that case, set fetching_parallelism = "low" to not put the Node and Laptop under heavy pressure.

Rest API

http://localhost:8000/swagger-ui/

Querying currently times out during historical indexing. So use it only at the chain tip sync phase or when indexing is disabled indexer.enable = false and we only run http server to query over existing data.

UI

See redbit-ui

About

Moved into redbit repo

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages