How to mine XRK in RecordsKeeper Blockchain?

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.

 

What are Records in RecordsKeeper?

What is RecordsKeeper ?

RecordsKeeper is an open source Blockchain platform which is used for publishing and verifying data. It is a secure way of storing data in a key-value pair, over blocks which are connected with each other in a structured manner. This data is available to everyone who has the key corresponding to the data. It is impossible to tamper with any data because each node which is connected to the Blockchain stores the copy of the complete ledger. Records on the RecordsKeeper Blockchain are confirmed by the independent miners who confirms transactions on the ledger.

For getting started with RecordsKeeper Blockchain first you have to generate a public and private key pair by using RecordsKeeper Wallet, these keys are used for uniquely identifying any user on the RecordsKeeper Blockchain. Then you can easily publish any data on this Blockchain with a key that corresponds to the data that you publish on the Blockchain with the help of your private key. This data gets permanently stored on the Blockchain and can’t be tampered later. If anyone wants to retrieve your data, then they can do so by using the key that you have assigned to your data. This will retrieve all the data that is pushed on to the Blockchain corresponding to a particular key.

RecordsKeeper offers a full suite of structured and easily accessible record keeping for organizations and individuals. RecordsKeeper creates a platform for structured storage over the decentralized network for the ease of data access and security between peers. The RecordsKeeper capitalizes over the pros of the Blockchain network to create an ecosystem for secure transfer, authorization, integrity, and authenticity of data. Each peer is an autonomous agent, capable of performing these actions without significant human interaction.

In RecordsKeeper Blockchain one can create multiple streams based on various use cases of Blockchain Technology like Enterprise KYC, Insurance Records Keeping, Corporate Compliances Records Keeping, Supply Chain Management, etc. Each stream is used for a particular purpose in which data is stored on a key-value pair, where a particular key is used in verification of data.

Records In RecordsKeeper

Records in RecordsKeeper are the digital copy of any document, record, transaction, agreement, file, page, image etc. Anything that can be converted into a PDF, JPEG, PNG, ZIP or GIF can be called record.

In RecordsKeeper, an account can have multiple streams and each stream can have zero or more categories associated with each stream. Again these categories can have zero or more records associated with it as shown in the below diagram.

To ensure the smooth delivery of our service, there are certain limits which will be applied to each stream. The maximum size of the file being uploaded to the stream is 2MB per file, if a file size is greater than 2 MB user have to upload the hash of the file instead of file to the RecordsKeeper blockchain.

 

 

What are streams in RecordsKeeper?

Streams are virtually the collection of records & categories of an entity. You can also call it a place where you will keep your documents stored for an individuals or a business.

One account can have multiple streams for multiple purposes. For example, Alice can have 3 streams to have better arrangements of her records.

  • For her own self
  • For her business
  • For her husband

She can export the records stored in the streams with a click & everything will be exported in .zip file arranged by categories & sub-categories as chosen by her. This will help Alice storing the records in a very structured manner for the rest of her life without being worried about the corruptibility of the records as everything stored in RecordsKeeper are immutable due to Blockchain.

As mentioned above, records stored in the streams can not be deleted or modified. Any number of streams can be created in a RecordsKeeper blockchain, and each stream acts as an independent append-only collection of items. Each record in a stream has the following characteristics:

  • One or more publishers who have digitally signed that item.
  • An optional key for convenient later retrieval.
  • Some data, which can range from a small piece of text to many megabytes of raw binary.
  • A timestamp, which is taken from the header of the block in which the item is confirmed.

Behind the scenes, each record in a stream is represented by a blockchain transaction, but developers can read and write streams with no awareness of this underlying mechanism.

Records stored in RecordsKeeper can also be used to get the KYC done with service providers as they do not change with time & every sharing events are being stored in the Blockchain as a transaction. Making it easy for the service provider to verify the document’s originality & remain assured about the ownership.