- Go 1.10.x or 1.11.x
- Running instance of dcrd binaries (version 1.3.0 and above). The dcrd running instance should be synced with the latest best block.
- Install the Go version
- Clone the repository
git clone github.com/raedahgroup/dcrchainanalysis.git
- Cd into the project root folder.
- Copy the
sample-dcrchainalyser.conf
file contents todcrchainalyser.conf
in your Appdata folder. Check the AppData folder path from other common applications.
cp ./sample-dcrchainalyser.conf {appData-folder}/dcrchainalyser.conf
- Copy the
rpcuser
andrpcpass
fromdcrd.conf
in your Dcrd Appdata folder intodcrchainalyser.conf
file asdcrduser
anddcrdpass
fields. Mainnet
is activated by default ifSimnet
orTestnet
environments are not set in thedcrchainalyser.conf
- For Chain Analysis Tool to run effectively with dcrd,
txindex=1
flag should be set in the dcrd.conf located at the appdata folder.
cd
to the root folder with the cloned repository.- Run
go build . && ./v1