Dani's cryptocurrency brought to you by Kumi
Find a file
Klaus-Uwe Mitterer 788644860b Update README.md
2017-12-31 00:00:03 +01:00
external Issue #57. Add missing 'override' keyword 2015-12-14 18:40:07 +01:00
include Merge remote-tracking branch 'bytecoin/master' 2016-01-18 15:33:29 +00:00
src Add second seed node 2017-12-30 19:48:59 +01:00
tests Merge remote-tracking branch 'bytecoin/master' 2016-01-18 15:33:29 +00:00
.gitattributes moved all stuff to github 2014-03-03 22:07:58 +00:00
.gitignore IWallet implementation improvements 2015-08-05 14:09:05 +01:00
CMakeLists.txt Do not treat warnings as errors when compiling 2017-12-28 20:41:39 +01:00
CTestCustom.cmake Bytecoin v.1.0.7 release 2015-08-11 15:33:19 +01:00
danicoin.conf Fix config file 2017-12-30 20:58:27 +01:00
Makefile moved all stuff to github 2014-03-03 22:07:58 +00:00
README.md Update README.md 2017-12-31 00:00:03 +01: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,ct,miner,walletd} /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".

daniminer

If you want to try and generate some Danicoin yourself, you may use the included miner. Usage is fairly simple - if you don't have a good reason to modify the default settings, just run (replacing "your_address" with the Danicoin address which should receive the mining rewards):

daniminer --address your_address

If you want to play around with daniminer's settings, you may find all available command line arguments by executing:

daniminer --help

GUI wallet

A graphical frontend to Danicoin is available at [kumitterer/danicoinwallet] (https://kumig.it/kumitterer/danicoinwallet).