Getting started
Here is a guide on how to install dncli command line interface and connect to dfinance.
Installation using precompiled binaries
First of all download the latest version of dncli for your system from release pages.
Install downloaded dncli binary.
For Mac OS/Linux:
For Windows:
Go to "Program Files" directory.
Create there "dn" directory.
Rename the downloaded file to "dncli" and put it into "dn" directory.
Now "cmd" and execute:
Now restart "cmd".
Check that installation successful done by running the command:
Your should see your current version of dncli in output.
Configuration
Let's configure dncli and after go to the next step:
These configurations will connect your local dncli with remote nodes.
Check that dncli configurated correctly:
Installation from sources
Before we start you should have a correct 'GOPATH', 'GOROOT' environment variables, also installed Golang.
Required:
golang 1.13.8 or later.
protoc - here is installation instruction.
Build and Install using Makefile
Clone dfinance node repository to suitable place
Build and install dncli as binary using Makefile
So after this command dncli will be available from console
Build without Makefile
And let's build dncli:
Command must execute fine, after it you can run dncli:
Last updated