Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.06 KB

building.md

File metadata and controls

43 lines (29 loc) · 1.06 KB

Building

Before building the GUI client, you'll probably need some gtk headers installed:

# fedora
$ sudo dnf install gtk2-devel

# debian/ubuntu
$ sudo apt-get install libgtk2.0-dev libglib2.0-dev libgtksourceview2.0-dev

For everything else, follow the standard instructions as other decred projects.

$ mkdir -p $GOPATH/src/github.com/matheusd/dcr-split-ticket-matcher
$ cd $GOPATH/src/github.com/matheusd/dcr-split-ticket-matcher
$ git clone https://github.com/matheusd/dcr-split-ticket-matcher .
$ dep ensure
$ go build ./cmd/...

Running the Client

See instructions about command line client or the GUI client.

Running the Service

Copy the configuration file to the respective dir and configure it:

$ mkdir -p ~/.dcrstmd
$ cp samples/dcrstmd.conf ~/.dcrstmd

Run the executable. During development, it is easier to do the following:

$ go run cmd/dcrstmd/main.go

Run with --publishtransactions to automatically publish the split and ticket transactions once a session is successfully finished.