Skip to content
forked from ondrejsika/lbe

Light Block Explorer - simple css based block explorer for Zcash

Notifications You must be signed in to change notification settings

hellcatz/lbe-css

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Light Block Explorer (CSS Enhanced)

Equihash/Zcash based coins

Abstract

Basic CSS enhanced block explorer for Zcash and equihash forks (Zclassic, Zdash, Komodo ...)

Xcoind requirements

LBE requires these rpc calls:

  • getbestblockhash
  • getblock
  • getrawtransaction
  • decoderawtransaction

Install

git clone http://github.com/hellcatz/lbe
cd lbe
virtualenv .env
source .env/bin/activate
pip install -r requirements.txt

Usage

Show help

python lbe.py -h

Example Zcash Testnet Run Script

/home/user/lbe/start.sh

#!/bin/bash
source .env/bin/activate
python lbe.py :: 8000 localhost 18232 username password --equihash=1 --coin TAZ --n-last-blocks 100

Example Systemd Unit Script

This requires the Xcoind daemon to be setup as a service and running properly.

/etc/systemd/system/lbe-block-explorer.service

[Unit]
Wants=network-online.target
After=network.target network-online.target
Description=LBE Block Explorer Service

[Service]
Environment=HOME=/home/user
Environment=PWD=/home/user/lbe
Environment=PATH=/home/user/bin:/home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Environment=USER=user
User=user
Group=user
WorkingDirectory=/home/user/lbe
ExecStart=/home/user/lbe/start.sh
Restart=always

[Install]
WantedBy=multi-user.target

sudo systemctl start lbe-block-explorer.service

About

Light Block Explorer - simple css based block explorer for Zcash

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 51.8%
  • HTML 48.2%