hardforkdemo is a simple web app that connects to dcrd and displays information about the tesnet hardfork voting.
go get -v github.com/golang/dep/cmd/dep
go get -v github.com/decred/hardforkdemo
cd $GOPATH/github.com/decred/hardforkdemo
dep ensure
go install
Start dcrd with the following options.
dcrd --testnet -u USER -P PASSWORD --rpclisten=127.0.0.1:19109 --rpccert=$HOME/.dcrd/rpc.cert
Start hardforkdemo
hardforkdemo
Build the docker container:
docker build -t decred/hardforkdemo .
Run the container:
docker run -it -v ~/.dcrd:/root/.dcrd -v ~/.hardforkdemo:/root/.hardforkdemo -p <local port>:8000 hardforkdemo
This example assumes you have configured .dcrd
and .hardforkdemo
directories in ~
on the host machine.
Your hardforkdemo.conf
file will need to specificy listen=0.0.0.0
in order for the external port mapping to work correctly.
If you have any further questions you can find us at:
- irc.freenode.net (channel #decred)
- webchat
- forum.decred.org
- decred.slack.com
The integrated github issue tracker is used for this project.
hardforkdemo is licensed under the copyfree ISC License.