The following blog provides you with the complete details about how to start mining XRK tokens for RecordsKeeper Blockchain.

System requirements

  • Linux: 64-bit, supports Ubuntu 12.04+, CentOS 6.2+, Debian 7+, Fedora 15+, RHEL 6.2+.
  • Windows: 64-bit, supports Windows 7, 8, 10, Server 2008 or later.
  • Mac: 64-bit, supports OS X 10.12 (we hope to support earlier versions soon).
  • 512 MB of RAM
  • 1 GB of disk space

Installing Recordskeeper:

Linux (Ubuntu):

First Install these dependencies by executing below commands in a shell:

sudo apt-get update
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
sudo apt-get install libboost-all-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

To download the executable directly from the browser click here .

And, if you want to download it from the command line terminal then use this command:

wget https://github.com/RecordsKeeper/recordskeeper-core/releases/download/v1.0.0/recordskeeper-1.0.0.tar.gz

Then, move to the location of the downloaded files and run following commands from your terminal:

tar -xvzf recordskeeper-1.0.0.tar.gz
cd recordskeeper-1.0.0
mv rkd rk-cli rk-util /usr/local/bin

Moving the RecordsKeeper files to bin directory make them easily accessible from the command line anywhere.

Note

  • if you get error then run the above commands using “sudo” for root privileges
  • Use exit command (to return to your regular user)
  • Linux users move directly to the Connecting to RecordsKeeper Blockchain section

Windows :

Download the executables from here and then unzip it and you will have the binary files: rkd.exe, rkd-cold.exe, rk-cli.exe and rk-util.exe.

Copy the folder to your desired location.

Then open your command line terminal and go to that location, after that run the following command:

cd recordskeeper-windows-1.0.0

Note

Windows users move directly to the Connecting to RecordsKeeper Blockchain section.

Mac OS:

First Install these dependencies by executing below commands:

Install XCode and XCode command line tools
Install git from git-scm
Install brew (follow instructions on brew.sh)
brew install autoconf automake berkeley-db4 libtool [email protected] openssl pkg-config rename
brew link [email protected] –force

To download the executable directly from the browser click here .

Unzip the zip file and then move to the location of the downloaded files and run following commands from your terminal:

cd recordskeeper-mac-osx-1.0.0
mv rkd rk-cli rk-util /usr/local/bin

Moving the RecordsKeeper files to bin directory make them easily accessible from the command line anywhere.

Note

  • if you get error then run the above commands using “sudo” for root privileges
  • Use exit command (to return to your regular user)

Mac users move directly to the Connecting to RecordsKeeper Blockchain section

Connecting to RecordsKeeper Blockchain

The RecordsKeeper Testnet Blockchain is available for the users to Develop and Deploy applications over RecordsKeeper Blockchain, XRK Testnet tokens do not hold any value and are only available for testing. You can earn XRK tokens from RecordsKeeper Mainnet mining.

Linux:

Now to connect to the RecordsKeeper Blockchain, run following command from the terminal:

RecordsKeeper Testnet

RecordsKeeper Mainnet

This command will initialize your node.

And, if you want your connection to remain active as a background process then run this command:

RecordsKeeper Testnet

rkd [email protected]:8379 -daemon

RecordsKeeper Mainnet

rkd [email protected]:7895 -daemon


You will see the following message on your Linux command line terminal after you execute the command to connect to the Recordskeeper blockchain.

Windows

Now to connect to the RecordsKeeper Blockchain, first go into the directory where you have downloaded “recordskeeper-windows-1.0.0.zip” and then open command-line terminal from that location:

RecordsKeeper Testnet

RecordsKeeper Mainnet

This command will initialize your node.

And, if you want your connection to remain active as a background process then run this command:

RecordsKeeper Testnet

rkd [email protected]:8379 -daemon

RecordsKeeper Mainnet

rkd [email protected]:7895 -daemon

You will see the following message on your Windows command line terminal after you execute the command to connect to the Recordskeeper blockchain.

Note Windows users have to open a new command line terminal window for running the remaining commands

If the Operating system does not pop up the allow firewall connections for rkd like shown below:

Then you have to manually allow connections through the firewall by following the steps below:

Go to:

Control Panel > System and Security > Windows Defender Firewall > Advanced Settings

And add Outbound rules by following these steps:

  • Step 1: First select the Rule type, as you have to create a rule for allowing the network port so select Port here and then press Next:
  • Step 2: Specify the port address of the RecordsKeeper Blockchain to which you are allowing access, for Testnet type 8379 and to open ports for Mainnet type 7895 in the textbox and then click on Next:

  • Step 3: Now click on Allow the connection and then press Next:

  • Step 4: Select all three profiles here for the rule to apply, and then click on Next:

  • Step 5: Now choose a name for the created Outbound rule and then press Finish to complete the process of opening up the ports.

Note

If you want some other RecordsKeeper node to connect to your node then you have to allow connections by making Inbound rules for the same. Follow the same procedure after selecting a new Inbound rule.

Mac:

Now to connect to the RecordsKeeper Blockchain, run following command from the terminal:

RecordsKeeper Testnet

RecordsKeeper Mainnet

This command will initialize your node.

And, if you want your connection to remain active as a background process then run this command:

RecordsKeeper Testnet

./rkd [email protected]:8379 -daemon

RecordsKeeper Mainnet

./rkd [email protected]:7895 -daemon

You will see the following message on your Mac command line terminal after you execute the command to connect to the Recordskeeper blockchain.

In case of an error message like this:

Warning

Error: Couldn’t initialize permission database for blockchain recordskeeper. Probably rkd for this blockchain is already running. Exiting…

First kill the daemon process and then try connecting to the RecordsKeeper Blockchain again. If the problem persists then restart your computer and then repeat the whole process of connecting to RecordsKeeper Blockchain again.