Quick Start Guide

CredaCash Mining Quick Start Guide

CredaCash mining will start as soon as possible after 11:00 pm New York time on Saturday, June 15, 2019. The mining software can be started before that time, and will begin generating transactions that can be accepted into the blockchain as soon as mining starts. Mining will start by seeding the blockchain with the results of that evening’s Powerball lottery drawing, which ensures no one can pre-mine before that time. Mining will continue for approximately 35 days, until 200 thousand blocks have been mined.

CredaCash mining uses a Proof-of-Work algorithm based on the integer operations of a standard CPU. There is no benefit to a GPU/graphics card, ASICs or other custom hardware. The mining software can use as many CPU cores as the computer has available. The software requires approximately 4 GB of memory to run the network node software, plus 2 GB of memory to run the mining software using 4 CPU cores, plus an additional 1 GB of memory for each additional 3 CPU cores used.

The mining software runs under Windows x64 or Linux 64-bit. Pre-built executables are provided for Windows. For Linux, the software must be built from source, following the instructions at https://github.com/CredaCash/CredaCash/blob/master/BUILDING.md.

The following steps should help get the CredaCash mining software quickly running:

1. Download the Windows executable files at https://CredaCash.com/software/, then extract the contents to any convenient directory.

2. Open a command prompt window, and “cd” to the directory containing the executable files. Then start the network node software using the following command:

     ccnode > ccnode.log

3. Open a new command prompt window, and “cd” to the directory containing the executable files. Then start the wallet using the command:

     ccwallet --create-wallet --interactive

The wallet will prompt for a password for its master secret. After the master secret is generated, enter the command:

     cc.mint start

The wallet will launch one thread for each CPU core, and begin generating mint transactions. The mining software runs at a lower CPU priority, so the computer may still be usable for other tasks, but might seem sluggish.

During the initial mining, one block containing one mint transaction is added to the blockchain every 15 seconds. The miner that submits the best transaction for each block is awarded 1000 units of currency, and this amount is reflected in the wallet balance a few seconds after the block is generated. The winning transaction for each block is the one that (a) uses the root hash from the block 12 levels prior as an input; (b) has an output hash closest to the prior block hash; and (c) was received by the blockchain witnesses before the prior block was generated (this ensures no miner benefits from a lower latency connection).

The wallet displays the amount of time required to generate each mint transaction. If that time is more than 60 seconds, it is recommended that the number of mining threads be reduced to ensure all mint transactions are received by the network in time for inclusion in the blockchain. This can be accomplished using the command:

     cc.mint threads <n>

where “n” is the number of threads that should be left running.

When the CredaCash initial currency mint is complete around July 20, 2019, the mining software will automatically stop.

The latest release of the CredaCash software only supports mining. A production version of the software that can send and receive transactions using the mined currency will be released when the initial mining is complete, around July 20-25, 2019.