How to request for XRK Mining Permission for RecordsKeeper Blockchain?

This blog will help you to get the required permissions to start mining the XRK tokens at your local node. The mining permissions for both RecordsKeeper Testnet and RecordsKeeper Mainnet is explained below:

RecordsKeeper Testnet

The mining for RecordsKeeper Testnet is open for everyone so when you connect to RecordsKeeper Testnet, you will receive all the permissions for your default address.

RecordsKeeper Mainnet

For Mainnet when your node gets connected, you will receive the permissions to connect, send and receive. To get the permissions to mine at you node follow the steps mentioned below:

Step 1: Look for your default XRK address from the command given below, which will display your node’s wallet address. This address is your “default XRK address” or “public address” of the Recordskeeper Blockchain in which you will receive XRK coins. To check the address, run the following command:

rk-cli recordskeeper getaddresses
./rk-cli recordskeeper getaddresses                        #(for Mac Users)

Step 2: Copy this address and open up the following link in a new window to receive Mining Permissions for RecordsKeeper Mainnet.

https://docs.google.com/forms/d/e/1FAIpQLSd1Dd2GAggCyom23HgiBhnQIjlLjMgRwf_UOQrHp9BUTRPEYA/viewform

You will see the following form:

Step 3: In the form provide us the details with following:

  • Email address
  • Name
  • Miner Code Name (This will be displayed on http://miner.recordskeeper.co/)
  • XRK Address (The node address you copied in the last step)
  • Message (Additional comments for the RecordsKeeper Team)

Step 4: The RecordsKeeper team perform common due diligence before providing the permissions to you. It could take from 24-48 hours.

After RecordsKeeper team grant mining permissions to your node address, only after that you would be able to mine XRK coins into your default address.

Addition Steps and Information

You can retrieve your private key from the node. To retrieve private key for your node address run this command:

rk-cli recordskeeper dumpprivkey {default_XRK_address}        #(input node_address without braces)
./rk-cli recordskeeper dumpprivkey {default_XRK_address}        #(for Mac Users)

Note

Please store this private key safely, losing this will result in loss of XRK coins.

After completing the above process, you can check for your node’s information (best block and synced block) by running following commands:

rk-cli recordskeeper getinfo                 #(for synced block)
rk-cli recordskeeper getblockchaininfo       #(for best block)

./rk-cli recordskeeper getinfo                 #(for Mac Users)
./rk-cli recordskeeper getblockchaininfo       #(for Mac Users)

Your node will sync up to the best block, and then only your node can start mining and your balance will get updated with the mined XRK coins.

If you have already created a wallet address and you want to add it as your miner address then run this command from the command line terminal:

rk-cli recordskeeper importaddress {address}      #(include address without braces)
./rk-cli recordskeeper importaddress {address}      #(for Mac Users)
rk-cli recordskeeper importprivkey {private_key}      #(include private key without braces)
./rk-cli recordskeeper importprivkey {private_key}      #(for Mac Users)

Then you can follow the above steps to get the mining permissions for the imported address.

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.

 

Blockchain vs Database

As more and more enterprises are incorporating this blockchain technology in their businesses, are databases still relevant? Let’s find out.

Structural Difference Between Blockchain and Database

A database often uses a client-server network architecture. There are database administrators who may make changes to any part of the data and its structure at any given point in time. Administrators are the central authority that maintains control of the database and they’re the ones who decide who else gets access and permissions. The updated version of the database is the one that is accessible.

Blockchain itself is a database in the form of digital ledger. It combines the Internet and cryptography to cater information registration and distribution, thus, eliminating the need for a trusted party such as a bank in case of monetary transactions. Records are arranged in ‘blocks’ of data and each block is connected to the previous one by a hashing function. It forms a chain of blocks that cannot be changed.

Immutability of Blockchain

In a database, data can be easily modified or deleted. However, in the case of blockchain, modifying or deleting data is almost impossible. In fact, unalterable data entries is one of the defining features of the blockchain.

Blockchain has a write-only data structure. Every new block gets appended to the blockchain by linking to the previous block’s ‘hash’. There are no administrator permissions within a Blockchain that allow editing or deleting of data. This hash includes the Merkle root hash of all the transactions in the previous block.

If a single transaction were to change, not only would the Merkle root hash change but so too would the hash contained in the changed block. In addition, each subsequent block would need to be updated to reflect this change. This means that each user maintains, calculates and updates new entries into the database. All nodes work together to ensure they are all coming to the same conclusions.

This feature makes blockchain immutable and provides in-built security.

The Decentralization Aspect

A distributed database is suitable for an organization where all the users trust each other and do not want to keep a duplicate record of the same data. Blockchain, however, comes into play when the entities cannot trust each other.

In blockchain transactions are verified by consensus from other nodes on the blockchain.

Each one has a record of all the transactions, even those that happened in the past. Furthermore, certain rules can be built into each transaction to create automatic responses to particular outcomes.

This makes blockchain more reliable and secure.

Databases and Confidentiality

In a database, an intermediary maintains a private database of records. However, blockchain technology makes all records public. Effectively killing the need for a middleman. Since a complete copy of the chain with every transaction is held by the entire network, everyone can access that information.

While this means that if someone attempts to cheat the system or steal, they can be easily identified, blockchain may not be suitable for those who prioritise confidentiality.

In a competitive marketplace, businesses will prefer the privacy of a centralized database, rather than reveal their activities to each other. Particularly, if a trusted central party already exists and can provide the neutral territory in which that database can reside. It all comes down to what the priorities for your business are.

The Cost Aspect

Blockchain removes a lot of the complexity of setting up your own distributed database. This, in turn, helps cut down costs drastically since you will not be the only one paying for electricity and compute, everyone that is connected to the network would be too. If you’re on a budget, then blockchain might be your preferred digital ledger.

Blockchain vs Database – Which One is Right For You?

The right choice out of the two would depend on your business’ use case and preferences. If you want to do something within your network with your data and with computers that you control then databases are more suitable. On the other hand, if you need a setup where the data is highly available but you are not the only one paying for it, would not need to modify past data, need it to be immutable, and publicly accessible then blockchain is a better choice. It will also provide more transparency and reliability.

 

What is Supply Chain & How Can RecordsKeeper Can Help?

Supply Chain is a phrase that you might have heard a lot. It can be defined as supervision of raw materials, data, and revenue as they follow the process from supplier to customer/consumer. In simple words, Supply Chain can be referred to as a collection of suppliers that requires bringing a specific product to the market. A chain is made up of nodes which includes a manufacturer building that product to consumer purchasing the product.Supply Chain Management involves integrating and coordinating these flows both within and among companies.

A Supply Chain Management is an essential part of how a business runs, but still, this whole process of the supply chain has too many mediators, and most of the system relies on paper. Apart from this, tracing the products and tracking them is also an exhausting task. This particular idea is vital as nodes are set up in a manner where every node is dependent on each other, which might create a problem if skipped. But that’s not the only concern there are few other problems that how would you verify the authenticity of that product. Who would prove that the product you are consuming is the product that is created by a supplier and not been duplicated by any third-party? The problems in a supply chain is a hard nut to crack but can be solved with the help of RecordsKeeper Blockchain.

Solutions for Supply Chain using RecordsKeeper Blockchain

Recording the quantity and transfer of assets.

There are too many go-betweens in the complete process of Supply Chain. Everybody in the chain ranging from suppliers, manufacturers, clients, etc. have to deal with a third-party rather than dealing with each other in the chain. Thus, a simple process of demand and supply gets divided into some steps and too many mediators.

RecordsKeeper Blockchain provides the solution to all these problems. From here onwards we would be analyzing the use of RecordsKeeper Blockchain in supply chain management. But, before heading further, let’s understand what Records Keeper is and what are the different features that make it significantly applicable to supply chain management. RecordsKeeper is Blockchain-based, structured document storage for record keeping of businesses & individuals. It is a Consensus-based distributed database (registry of documents) for Businesses as well as Individuals with high availability & security. It is built on Blockchain, the technology which powers Bitcoins & other cryptocurrencies. Businesses or Individuals struggle a lot in digitizing & managing their own or customers records by investing a lot of money, time & resources. Similar problems are arising in the Supply Chain Industry, and Records Keeper is a perfect solution for it. Records Keeper can record the number of assets that have been added to the chain or transferred from the chain. Maintaining a data for proper flow of assets in a pipeline is essential, If the information is safe and secure then there can be no loss in the industry of supply chain, the customer can quickly check the authenticity, and RecordsKeeper can quickly verify that the product is authentic.

Tracking purchase orders, change orders, receipts, shipment notifications, or other trade-related documents.

Tracking would be a child’s play once the data is pushed inside the Records Keeper Blockchain, it can be viewed by any individual using the address that will contain the data. Anyone can track the amount of raw material that has been purchased using the purchase order, the product that has been changed, receipts and can also follow where the shipment has been reached. RecordsKeeper is a solution which will minimize the loss or the error that might be created because of data loss.

LET’S TAKE AN EXAMPLE :

A worker mines gold from gold mines. Then the gold is collected, cleaned and then after the procedure is completed the shipment information is added to RecordsKeeper. The container awaits to transfer from the port, on the other hand, officials submit the information related to the shipment electronically. The RecordsKeeper Blockchain confirms the transactions and executes the shipment thus, releasing it. After this, the container is uploaded to the ship, and it takes off. Since the transactions or the information about the shipment is uploaded in the Blockchain and it is a distributed ledger which is visible to all the people in the network; everyone, right from the supplier to the contractor to the receiver can see when and how the shipment is moving. Thus, everything happens quickly and in a much more transparent way.

The same strategy is applied by the Emergent Technology Holdings to keep track of gold in the world.

Conclusion

We can say that it will transform the Supply Chain Industry. It’s not only about the logistics or Supply Chain companies, but Blockchain is also finding applications in almost all the business verticals. The idea behind using this technology is to streamline the process. In-depth transformation of supply chains will not happen overnight. It won’t be wrong to claim that Blockchain has opened the door for a smarter, faster and a more secure supply chain system