Skip to content

ZcashFoundation/zcash-explorer

 
 

Repository files navigation

ZcashExplorer

This is a fork of https://github.com/nighthawk-apps/zcash-explorer, intended to help develop support for block explorers in Zebra.

Local Dev Setup

Build and run zcashd

sudo pacman --noconfirm -S make git autoconf libtool unzip python automake pkgconf patch wget binutils gcc
cd
git clone https://github.com/zcash/zcash.git
cd zcash
./zcutil/clean.sh
./zcutil/build.sh -j$(nproc)
mkdir -p ~/.zcash
touch ~/.zcash/zcash.conf

Put the following to your ~/.zcash/zcash.conf:

rpcport=8232
rpcbind=127.0.0.1
rpcuser=nighthawkapps
rpcpassword=ffwf
txindex=1
experimentalfeatures=1
insightexplorer=1
testnet=1

Run ./src/zcashd and wait until it syncs.

Build and run the explorer

sudo pacman --noconfirm -S make elixir gcc git npm inotify-tools
cd
git clone https://github.com/ZcashFoundation/zcash-explorer
cd zcash-explorer
mix deps.get
cd assets
npm install
cd ..

Run iex -S mix phx.server.

Visit http://localhost:4000.

Documentation:

https://nighthawkapps.gitbook.io/zcash-explorer/

License

Apache License 2.0

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 50.5%
  • HTML 45.3%
  • JavaScript 3.2%
  • Dockerfile 0.4%
  • Makefile 0.3%
  • Shell 0.3%