Skip to content

swap-dev/swap-blockchain-explorer

 
 

Repository files navigation

Swap Block Explorers (version 3):

  1. https://explorer.getswap.eu

Compiling swap daemon on Ubuntu 18.04

sudo apt update

sudo apt install git build-essential cmake libboost-all-dev miniupnpc libunbound-dev graphviz doxygen libunwind8-dev pkg-config libssl-dev libcurl4-openssl-dev libgtest-dev libreadline-dev libzmq3-dev libsodium-dev libhidapi-dev libhidapi-libusb0

cd ~

git clone --recursive https://github.com/swap-dev/swap

cd swap

USE_SINGLE_BUILDDIR=1 make -j<number of threads>

The binaries compiled at ~/swap/build/release/bin/

Run and sync the Daemon with ./swapd


Compile and run the swapblocks

cd ~
git clone https://github.com/swap-dev/swap-blockchain-explorer swapblock
cd swapblock
mkdir build && cd build
cmake ..
make -j<number of threads>

# run the explorer:
./swapblocks -x 127.0.0.1 --testnet-url https://explorer.test.xwp.one --enable-emission-monitor --enable-autorefresh 

optional --enable-json-api --enable-pusher

Open explorer with your browser: http://127.0.0.1:8081

README_original.md

Packages

No packages published

Languages

  • C++ 87.3%
  • C 5.7%
  • HTML 4.3%
  • CMake 2.1%
  • Other 0.6%