All Projects → citahub → microscope

citahub / microscope

Licence: MIT license
Blockchain Explorer for CITA

Programming Languages

typescript
32286 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to microscope

scan
DeFi Scan, everything one-stop location for DeFi Blockchain. Powered by jellyfish & ocean network.
Stars: ✭ 31 (+82.35%)
Mutual labels:  explorer
nimiq-watch
Blockchain explorer tool for the Nimiq blockchain
Stars: ✭ 35 (+105.88%)
Mutual labels:  explorer
tnb-analysis
Gain insights about thenewboston digital crypto currency network by doing some analysis
Stars: ✭ 24 (+41.18%)
Mutual labels:  explorer
IOBrowser
A macOS application for browsing the IOKit registry.
Stars: ✭ 123 (+623.53%)
Mutual labels:  explorer
ranger-explorer.vim
Vim plugin to use ranger as a file explorer. Seamless switching between vim and ranger.
Stars: ✭ 30 (+76.47%)
Mutual labels:  explorer
ExplorerGenie
ExplorerGenie is an extended context menu for the Windows explorer.
Stars: ✭ 25 (+47.06%)
Mutual labels:  explorer
cardano-rosetta
An implementation of Rosetta for Cardano
Stars: ✭ 85 (+400%)
Mutual labels:  explorer
cyton-ios
The CITA iOS Wallet App
Stars: ✭ 24 (+41.18%)
Mutual labels:  cita
markdown-explorer
Easily explore, view and edit markdown documentation of a file tree
Stars: ✭ 58 (+241.18%)
Mutual labels:  explorer
win10exp
WordPress win10exp主题
Stars: ✭ 25 (+47.06%)
Mutual labels:  explorer
react-file-manager
A file manager built in ReactJs
Stars: ✭ 40 (+135.29%)
Mutual labels:  explorer
ACViewer
Viewer / Utility for DAT files for the game Asheron's Call
Stars: ✭ 19 (+11.76%)
Mutual labels:  explorer
foxy-miner
A scavenger / conqueror wrapper for collision free multi mining of PoC coins
Stars: ✭ 17 (+0%)
Mutual labels:  multi-chain
jquery.filebrowser
File browser jQuery plugin
Stars: ✭ 29 (+70.59%)
Mutual labels:  explorer
conceal-explorer
Conceal Explorer - CCX Block Explorer
Stars: ✭ 26 (+52.94%)
Mutual labels:  explorer
fsc
A set of themeable WPF File System Controls similar to some parts of Windows (7-10) Explorer
Stars: ✭ 66 (+288.24%)
Mutual labels:  explorer
fzfx
fzfX delivers the power of finding, previewing, editing and managing any file in few key strokes.
Stars: ✭ 71 (+317.65%)
Mutual labels:  explorer
wlui
wl-ui 精美易用的前端复杂组件解决方案。Beautiful and easy-to-use front-end complex component solution
Stars: ✭ 32 (+88.24%)
Mutual labels:  explorer
cita-common
Libraries for CITA (https://github.com/citahub/cita)
Stars: ✭ 39 (+129.41%)
Mutual labels:  cita
cita-sdk-java
Java library for working with Smart Contract and integrating with clients on CITA
Stars: ✭ 31 (+82.35%)
Mutual labels:  cita

MIT CITAHub

English | 简体中文

Overview

Microscope provides an easy-to-use user interface to inspect CITA, you can switch target chain in Metadata Panel of the Microscope.

About Microscope

Microscope is a blockchain explorer built with React for inspecting CITA. It supports searching block, transaction, account and invoking call method of smart contract. It also can work with ReBirth to display a list of blocks and transactions on specified conditions, or even analyzes CITA‘s working status.

Features

  • Open Source Development: This project is welcome anyone to use and PR.
  • Multi-Chain Switch: This project supports switch between CITA chains.
  • Smart Contract Support: This project provides a user friendly interface to call methods of smart contracts.
  • User Customized: This project supports a config page to specify which value should be displayed.
  • Progressive: This project is under progressive development, which means it can work independently, and is able to work with ReBirth, another project for CITA.
  • Internationalized: This project supports i18n, default to 中文 and Englisgh.

Getting Started

Development

  1. clone the repo
git clone https://github.com/cryptape/microscope/ && cd microscope
  1. Install Dependencies
yarn install
  1. Build DLL Packages
yarn run dll
  1. Add Config
cp ./.env.example ./.env

set env variables in ./.env

PUBLIC=  # public content server address
CHAIN_SERVERS= # default appchain addresses
APP_NAME= # explorer name
DEBUG_ACCOUNTS= # built-in debug account's private key, e.g. 0xaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0xaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeea

NOTICE: Our CDN for static assets is available at https://cdn.cryptape.com/, namely icons and images can be added by setting PUBLIC=https://cdn.cryptape.com/ on .env.

  1. Developing
yarn start
  1. Building
yarn run build:prod

Use Docker

At first, you should install docker and learn how to use it.

  1. Clone the repo
git clone https://github.com/cryptape/microscope/
  1. Add Config
cp ./.env.example ./.env

set env variables in ./.env

PUBLIC=  # public content server address
CHAIN_SERVERS= # default appchain addresses
APP_NAME= # explorer name
DEBUG_ACCOUNTS= # built-in debug account's private key, e.g. 0xaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee,0xaeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeea

NOTICE: Our CDN for static assets is available at https://cdn.cryptape.com/, namely icons and images can be added by setting PUBLIC=https://cdn.cryptape.com/ on .env.

Change nginx config in ./nginx.conf.example

  1. Start Docker Compose. This step may take a long time.
yarn docker:init

If success, you can use Microscope at 0.0.0.0:8089.

Next time, use:

yarn docker:start

to reload it.

Usage

Set CITA

If you visit the explorer for the first time, the side panel will pop up asking to set CITA address you want to listen to.

Data in Microscope

The main sections consists of homepage, block, transaction, account, statistics, config, and most of them can be accessed via navigation bar.

Homepage

On homeage it displays Latest 10 Blocks and Latest 10 Transactions.

Block

NOTICE: This page only works with ReBirth, the cache server for CITA.

Block Page show list of blocks, the table items can be specified in Config Page

Filters can be set in Advanced Selector, available params are numberFrom, numberTo, transactionFrom, transactionTo.

numberFrom and numberTo limit the range of block number.

transactionFrom and transactionTo limit the range of transaction count in one block.

Block Detail can be inspected via table link.

Transaction

NOTICE: This page only works with ReBirth, the cache server for CITA.

Transaction Page show list of transaction, the table items can be specified in Config Page

Filters can be set in Advanced Selector, available params are from, to.

from and to limit transaction.from and transaction.to.

Transaction Detail can be inspected via hash.

Block Detail can be inspected via height.

Account Detail can be inspected via from and to.

Data Detail can be inspected via Hex , if ABI files are uploaded, then according to the ABI files the data can also be parsed into readable text and can be inspected via Parameters.

Statisitcs

NOTICE: Partial diagrams works with ReBirth, the cache server for CITA.

Statistics Page show list of diagrams, the displaying items can be specified in Config Page

For now, Statistics Page includes Interval/Block, Transactions/Block, Quota Used/Block, Quota Used/Transaction, Proposals/Validator diagrams.

Account

Account Page displays its balance and transaction records, and if the account is an contract and upload ABI files, the abi panel will also be available.

Other Widgets

Header

Important Functionalities are shown as badges in the right of header, they are Chain Name, TPS, Search, Languages, all of them has their own panel.

Metadata Panel

On click of Chain Name the Metapata Panel will be called out.

The Metadata Panel is used to check metadata of active chain, or inspect and switch to other chain by entering IP in the search field.

Statistics Panel

NOTICE: this panel is hidden by default, corresponding code is at src/containers/Header/index.tsx

On click of TPS the Statistics Panel will be called out.

The Statistics Panel is used to inspect current status of active chain.

Search Panel

On click of Search the Search Panel will be called out.

The Search Panel is used to inspect block, transaction and account's detail by searching hash or number.

Languages

For now, some languages('zh', 'en', 'jp', 'ko', 'de', 'it', 'fr') can be set by language menu.

Others

NOTICE: Block Detail can be visited localhost/#/block/:blockHash and localhost/#/height/:blockNumber

Transaction Detail can be visited localhost/#/transaction/:transactionHash

Account Detail can be visited localhost/#/account/:accountAddress

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].