vctt94 / hardforkdemo

Demo for Decred hard fork voting.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hardforkdemo

hardforkdemo is a simple web app that connects to dcrd and displays information about the tesnet hardfork voting.

Installation

Developing

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

Docker

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.

Contact

If you have any further questions you can find us at:

  • irc.freenode.net (channel #decred)
  • webchat
  • forum.decred.org
  • decred.slack.com

Issue Tracker

The integrated github issue tracker is used for this project.

License

hardforkdemo is licensed under the copyfree ISC License.

About

Demo for Decred hard fork voting.

License:ISC License


Languages

Language:CSS 41.5%Language:JavaScript 27.0%Language:Go 16.0%Language:HTML 15.0%Language:Shell 0.4%Language:Dockerfile 0.1%