====
Dcrcli is a command-line utility that interfaces with Dcrwallet rpc's methods.
- Go 1.11
- Git
- Running
dcrwallet
instance
The following guide assumes a Unix-like shell (e.g bash).
-
Install Go. It is recommended to add
$GOPATH/bin
to yourPATH
. -
Clone this repo to somewhere on your computer. Please set the
GO111MODULE=on
environment variable if you are building from withinGOPATH
$ git clone https://github.com/raedahgroup/dcrcli ~/src/dcrcli
$ cd ~/src/dcrcli
$ go install
Begin with the sample configuration file:
cp sample-dcrcli.conf dcrcli.conf
Then edit dcrcli.conf and input your RPC settings. After you are finished, move dcrcli.conf to the appdata
folder (default is ~/.dcrcli
on Linux, %localappdata%\Dcrcli
on Windows). See the output of dcrcli -h
for a list of all options
Run dcrcli <command> <options>
. See the output of dcrcli -l
for a list of all commands
See the CONTRIBUTING.md file for details. Here's an overview of it:
- Fork the repo
- Create a branch for your work (
git branch -b branch
). - Write your codes
- Commit and push to your repo
- Create a pull request