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
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