dcrvotingweb is a simple web app that connects to dcrd and displays information about consensus rule voting.
It is recommended to use Go 1.17 (or newer) for development.
To build the code:
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 dcrvotingweb:
dcrvotingweb
Build the docker container:
docker build -t decred/dcrvotingweb .
Run the container:
docker run -it -v ~/.dcrd:/root/.dcrd -v ~/.dcrvotingweb:/root/.dcrvotingweb -p <local port>:8000 decred/dcrvotingweb
This example assumes you have configured .dcrd
and .dcrvotingweb
directories in ~
on the host machine.
Your dcrvotingweb.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 join the Decred community using your preferred chat platform.
The integrated github issue tracker is used for this project.
dcrvotingweb is licensed under the copyfree ISC License.