Python based Oxen blockchain explorer
Go to file
Jason Rhinelander 3c4d5d10bc Add GPLv3 license 2020-10-06 21:33:07 -03:00
contrib Add uwsgi-emperor vassal config 2020-08-19 19:43:59 -03:00
pylokimq@558c679c55 Update pylokimq for crash fix 2020-08-19 18:54:53 -03:00
static Spruce up block display; DRY tx fetching code 2020-09-29 01:36:13 -03:00
templates Fix and tweak pulse/miner display 2020-09-30 16:39:36 -03:00
.gitignore Initial commit 2020-08-17 22:17:06 -03:00
.gitmodules Initial commit 2020-08-17 22:17:06 -03:00
LICENSE Add GPLv3 license 2020-10-06 21:33:07 -03:00
README.md Add tx details page 2020-08-30 13:32:17 -03:00
config.py Various tweaks/fixes 2020-09-01 01:44:06 -03:00
devnet.py Add separate wrappers for mainnet/testnet/devnet 2020-09-01 01:44:53 -03:00
lmq.py Add cache subkey; allow non-caching requests 2020-08-31 13:05:17 -03:00
mainnet.py Add separate wrappers for mainnet/testnet/devnet 2020-09-01 01:44:53 -03:00
observer.py Spruce up block display; DRY tx fetching code 2020-09-29 01:36:13 -03:00
testnet.py Add separate wrappers for mainnet/testnet/devnet 2020-09-01 01:44:53 -03:00

README.md

Loki Observer OMG block explorer

Block explorer using Loki 8+ LMQ RPC interface that does everything through RPC requests. Sexy, awesome, safe.

Building and running

Quick and dirty setup instructions for now:

git submodule update --init --recursive
cd pylokimq
mkdir build
cd build
cmake ..
make -j6
cd ../..
ln -s pylokimq/build/pylokimq/pylokimq.cpython-*.so .
sudo apt install python3-flask python3-babel python3-pygments

(Note that we require a very recent python3-jinja package (2.11+), which may not be installed by the above.)

You'll also need to run lokid with --lmq-local-control ipc:///path/to/loki-observer/mainnet.sock.

Then to run it in debug mode (production requires setting up a WSGI server, will document layer):

FLASK_APP=observer flask run --reload --debugger

This mode seems to be a bit flakey -- reloading, in particular, seems to break things and make it just silently exit after a while.