Dani's cryptocurrency brought to you by Kumi
Find a file
2018-01-26 10:53:41 +01:00
cmake Fix copyright blocks 2018-01-03 12:17:50 +01:00
contrib Update snap 2018-01-03 14:13:57 +01:00
external Fix copyright blocks 2018-01-03 12:17:50 +01:00
include Fix copyright blocks 2018-01-03 12:17:50 +01:00
src Update Node 1 IP 2018-01-26 10:53:41 +01:00
tests Fix copyright blocks 2018-01-03 12:17:50 +01:00
translations Update strings 2018-01-13 18:12:32 +01:00
utils Update util files 2018-01-13 18:12:23 +01:00
.dockerignore updated Dockerfile 2017-02-24 00:56:15 +02:00
.gitattributes cmake: support git info in released tarballs 2014-10-23 16:42:34 -04:00
.gitignore Remove infinite loop in refresh code 2016-12-05 13:02:45 +01:00
CMakeLists.txt Fix copyright blocks 2018-01-03 12:17:50 +01:00
CMakeLists_IOS.txt add IOS CMAKE toolchain 2017-04-03 18:38:43 +02:00
CONTRIBUTING.md Grouping CONTRIBUTING into digestable sections 2017-04-09 13:26:26 -06:00
Dockerfile Update strings 2018-01-13 18:12:32 +01:00
Doxyfile Update strings 2018-01-13 18:12:32 +01:00
LICENSE Fix copyright blocks 2018-01-03 12:17:50 +01:00
Makefile Fix copyright blocks 2018-01-03 12:17:50 +01:00
README.i18n.md Update strings 2018-01-13 18:12:32 +01:00
README.md Fix README.md 2018-01-24 16:55:58 +01:00
snap Add snap symlink 2017-02-24 02:49:48 +01:00
version.cmake build: inform the build of what generates version.h 2014-10-23 16:42:35 -04:00
VULNERABILITY_RESPONSE_PROCESS.md Docs: add Vulnerability Response Process 2017-04-24 20:11:09 +00:00

Danicoin

This is Danicoin, the best cryptocurrency out there.

Building

There are currently no pre-built binaries available. To build Danicoin on an Ubuntu machine, you first need to install some dependencies:

sudo apt install git build-essential cmake libboost-all-dev

You can then fetch the code and compile it like this:

git clone https://kumig.it/kumitterer/danicoin.git
cd danicoin
make

The binaries (you will primarily want to use danicoind and daniwallet) will be placed into the "build/release/src" subdirectory of the danicoin source directory. You may want to move them to /usr/bin like this:

sudo install build/release/src/dani{coind,wallet} /usr/bin

Usage

danicoind

Danicoin's core component is the daemon, danicoind. It is responsible for keeping your copy of the blockchain in sync. Assuming you have installed it to /usr/bin as seen above, you can just fire it up like this:

danicoind

Please note that running it for the first time might take a while as the entire blockchain will have to be downloaded.

danicoind should not require any configuration as such. By default, it will store its data, including a full copy of the blockchain, in the ".danicoin" subdirectory of your user directory.

If you need to change any settings, you may pass them as arguments to danicoind or write them to a configuration file. If a "danicoin.conf" file exists in the data directory (~/.danicoin), its settings will be used by default.

You can find the arguments accepted by danicoind by executing:

danicoind --help

A sample configuration file can be found in this repository.

daniwallet

The easiest way to create and manage Danicoin wallets is using daniwallet. To create your first wallet, named "mywallet" in this example, execute:

daniwallet --generate-new-wallet mywallet

daniwallet will then ask you for a password and generate your new wallet. Two files will be stored in your current working directory - mywallet.wallet and mywallet.address. mywallet.wallet contains the actual wallet, mywallet.address contains the wallet address you use to receive payments.

In order to use daniwallet with an existing wallet, navigate to the directory containing your mywallet.wallet, then execute:

daniwallet --wallet-file mywallet

Once daniwallet is running, you can, for instance, type in "balance" and press Enter to see your current balance. To transfer money to another wallet, you may use the following command (replacing "recipient_address" with the actual address of the receiving wallet and "amount" with the amount of Danicoin to send):

transfer 3 recipient_address amount

You can find out about the other commands using "help".