Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.93 KB

README.md

File metadata and controls

63 lines (41 loc) · 1.93 KB

Tendermint Explorer

Blockchain and transaction explorer for Tendermint. Supports JSON transactions and UTF-8. Based on Cosmos Explorer.

What is different from Cosmos Explorer?

Tendermint Explorer relies only on REST RPC (no LCD).

Also it has few extra features comparing to Cosmos Explorer.

List of blocks

List of blocks in Tendermint Explorer

Transaction details

If a block has transactions that are JSON objects, Tendermint Explorer will render all tx's fields automatically. Explorer handles UTF-8 encoded values in a proper way.

Block Details in Tendermint Explorer

Requirements

Tendermint Explorer is stateless and relies on a high-throughput Tendermint full node to connect to. Explorer requires Tendermint RPC endpoints to be available publicly through TLS-secured subdomains. The convention is https://rpc.fullnode.com.

To change the backend, edit the file ./src/store/modules/blockchain.js. On the lines 5, change the localhost:26657 part of the URL to your full node's domain name.

rpc: "http://localhost:26657"

And change the line 27 too:

const client = RpcClient("ws://localhost:26657")

WARNING: Every user that visits the Explorer opens two websockets to the default full node. The user will continue to spam your full node with AJAX requests until they close the page. We need a better backend solution for the Explorer! Please help if you can.

Build

# Install dependencies
yarn

# Serve with hot reload at localhost:8080
yarn serve

Deploy

# Build for production with minification
yarn build

# Then serve the `./dist` folder with the web server of your choice