dcrd is a Decred full node implementation written in Go (golang).
This acts as a chain daemon for the Decred cryptocurrency.
dcrd maintains the entire past transactional ledger of Decred and allows
relaying of transactions to other Decred nodes across the world. To read more
about Decred please see the
Note: To send or receive funds and join Proof-of-Stake mining, you will also need
This project is currently under active development and is in a Beta state. It
is extremely stable and has been in production use since February 2016.
It is forked from btcd which is a bitcoin
full node implementation written in Go. btcd is a ongoing project under active
development. Because dcrd is constantly synced with btcd codebase, it will
get the benefit of btcd’s ongoing upgrades to peer and connection handling,
database optimization and other blockchain related technology improvements.
dcrd (and utilities) will now be installed in either $GOROOT/bin or
$GOPATH/bin depending on your configuration. If you did not already
add the bin directory to your system path during Go installation, we
recommend you do so now.
Install a newer MSI
Linux/BSD/MacOSX/POSIX - Build from Source
Dep is used to manage project dependencies and provide reproducible builds.
go get -u github.com/golang/dep/cmd/dep
Unfortunately, the use of dep prevents a handy tool such as go get from
automatically downloading, building, and installing the source in a single
command. Instead, the latest project and dependency sources must be first
obtained manually with git and dep, and then go is used to build and
install the project.
Getting the source:
For a first time installation, the project and dependency sources can be
obtained manually with git and dep (create directories as needed):
git clone https://github.com/decred/dcrd $GOPATH/src/github.com/decred/dcrd
go install . ./cmd/...
To update an existing source tree, pull the latest changes and install the
go install . ./cmd/...
For more information about Decred and how to set up your software please go to
our docs page at docs.decred.org.
All tests and linters may be run in a docker container using the script
run_tests.sh. This script defaults to using the current supported version of
go. You can run it with the major version of Go you would like to use as the
only arguement to test a previous on a previous version of Go (generally Decred
supports the current version of Go and the previous one).
To run the tests locally without docker:
If you have any further questions you can find us at: