How to upload a file on RecordsKeeper Blockchain?

RecordsKeeper Public Blockchain comes with a functionality where you can upload large data over the RecordsKeeper Blockchain. Currently, the maximum stream size that can be uploaded over the RecordsKeeper Blockchain is 4 Mb and the maximum block size is 10 Mb. RecordsKeeper team recommends uploading hash of the file over the Blockchain as it will increase the performance of the application where you are using the file, but still, you can upload files over the Blockchain itself.

Files up to 4 megabytes

RecordsKeeper provides you with a key-value based database on top of the Blockchain. You can upload the file to the same database. The value allowed in the RecordsKeeper Blockchain has to be in the hex format. So to upload a file over the RecordsKeeper Blockchain, you need to convert your file into the hex format. All the files can be converted and represented in hex format be it CSV, JSON, XML, JPEG, PNG or any other format. You can use your in-house tools or some other online tools to convert the file to hex format before upload. If you are familiar with programming or has your own RecordsKeeper node setup then you can directly use this command below to publish the file over the RecordsKeeper Blockchain.

rk-cli recordskeeper publish root file1 `xxd -p PublishMe.txt | tr -d ‘\n’`

The command above uses the shell function to convert the file to the hex format and then upload it over the RecordsKeeper Blockchain. Here we have taken an example of .txt file.

While retrieving the file you need to make sure to convert the hex format back to your file format. You can also use the file name as the key for easy retrieval or publish the key as the hash of the file to create a check process in order to verify the file. You can also store the file type in your key as to specify which file is to be recreated on retrieval.

Files bigger than 4 megabytes

If you have files bigger than 4 megabytes and you want to publish over the RecordsKeeper Blockchain, then after converting the file into hex format, you can divide the file into blocks of 4 megabytes each and then publish it over the blockchain with paths defined in the key. On retrieval, you can get all part files hex values using the key and then you can join them together to re-create your file.

Please note: All the data you publish over the RecordsKeeper Blockchain requires XRK tokens as fees. Currently, you can publish 10 KiloByte of data with 1 XRK token. You can also check the basic demo for publishing and retrieve records here: https://demo.recordskeeper.co/basic-demo/

Public Blockchains to secure Global Assets

It won’t be wrong to say that Blockchain technology is transforming our world, it is the invisible force which is changing the way business runs. Blockchain has become a buzzword. You might not be able to see it or touch it, but you can feel its impact. We can say that blockchain is the answer to the question: “How can we trust what happens online?”

What is blockchain?

The blockchain is a distributed ledger which has all the transaction stored in chronological order. It is decentralized and is visible to all the people in the network also known as nodes. Thus, making it a highly transparent and trustworthy. It is because of these features that blockchain has become a popular concept underlying the foundation of the modern system.

Well, our perspective of discussion in this blog is how public blockchain secure global assets. I will cover both these points separately.

Let’s begin with digital assets-

When it comes to the prominent applications of the blockchain, then digital asset management is the new entrant in the league. The next question that pops u os how does blockchain play a vital role in this. The answer is that it reduces the need of intermediaries between issuer and consumers. It also decouples the task related to asset management like transaction processing, issuance, establishing users’ identities.

What are digital assets?

There is a recent trend emerging in the market with the name digital assets. To understand blockchain in a better way, you must realize the compact of digital assets.They are a decentralized currency which can be earned and exchanged on the internet. It omits the need for third party or verification. Also, there is no need for an additional fee which is otherwise associated with physical currency.

In this blog we are talking about the use of blockchain for digital assets, it is a platform for digital assets. Bitcoin is the most popular digital assets. Today we are witnessing the use of blockchain in different business niches, and digital assets is one of them

Using the blockchain infrastructure for digital assets can solve various uncertainties which are associated with digital asset management. Some of the problems which can be easily sorted with blockchain include the following :

  • No counterfeit
  • Immutability
  • No intermediaries and ease the transfer process
  • Transparency
  • Auditability
  • No overhead related to transaction processing

What are the challenges with the traditional digital assets?

Fragmented ecosystem – The issuer of the digital asset has a custom process for managing, distributing and tracking the assets.

Poor control of the secondary market – Difficult to identify if the assets are genuine and or counterfeit.

Poor record keeping – This is the most common problem associated with the traditional method, it’s challenging to keep a consistent record of all the practices between the sellers.

Centralized solutions- It can be biased and may result in conflict of interest

Blockchain

The Blockchain technology holds a promising future and immense potential to cut down the problem posed by the traditional system. Blockchain can replace the conventional banking and financial institutions with a peer-to-peer system which works at the backend.

There are two types of blockchain: Public and Private.  Although their objective of both is the same, the difference arises in their functionality. Here I will be highlighting them and how they differ.

  • Public blockchains – As the name indicates public, it means that the blockchain grant read access and ability to create transactions to all the blockchain users. In simple words, the user can transfer value without the expressed consent of blockchain operators.
  • Private blockchains – In case of the private blockchain, the read access is limited to only predefined auditors.

Properties of public blockchains 

  • They are easy to entry and exit
  • Openness
  • Transparency
  • In-built precautions

How will public blockchain emerge as a solution to the problems above of traditional digital assets?

I have already mentioned that there are two types of the blockchain, public and private. The security of public blockchain comes from proof-of-work making it almost impossible to fake or reverse transactions. The security of a public blockchain like Bitcoin comes from its proof-of-work, which makes it mathematically impossible to fake or reverse transactions.

To put it simply, public blockchain can simply send and receive a transaction from anybody. Another good point of public blockchain is that every node can audit the transactions thus, making the system transparent and secure. Since each node on public blockchain has as much transmission and receipt power as any other node, they are decentralized and distributed.

Electronic money is one of the categories of the digital asset. Here the asset is a claim to real-world currency. Paypal, Google Wallet, etc. ate centralized electronic money system. This system works password-based authentication which is vulnerable to attack like phishing. Here comes the role of Blockchain-based ledgers. They provide a great alternative to the centralized digital asset management system. It cuts down the need for various tasks which are performed by the centralized system in the following ways :

Transaction processing: Various nodes in the network do this work in a decentralized way.

Securing user’s funds:  It is done by third parties using non-custodial and custodial wallets.

Identities of services: It is achieved by building public key infrastructure based on blockchain

Blockchain provides a decentralized digital asset management model which is less demanding for the issuer, services, and the customers.

When we talk about any online transaction or dealings, the primary question that pops up is the security of information. We have seen digital assets use cases in various business verticals like shares, coupons, etc. Merging this with the public blockchain which is a very open and transparent infrastructure, can create a system which highly secure.

I will take a simple example here of exchange of financial securities. If something is decided between the two parties and this transaction or data is stored in public blockchain. This information is visible to all and thus, unalterable. In case of the public blockchain, the time taken for transaction or exchange conformation is lesser than the private one, thus ensuring the exchange of digital asset at a faster pace.

Conclusion-

Digital assets on blockchains can prove to be effective in established financial services and on consumer-to-consumer and IoT market. The digital assets can be used in a variety of applications like crowdfunding, peer-to-peer lending, smart property, digital subscription, and event tickets. With the aid of blockchain, it could facilitate the asset management. It could help in reducing cost and expanding the reach of e-money services. To sum, I can say that public blockchains can create a ubiquitous environment for the Internet of Value (IoV), with digital assets being the core of it.

Launching In-House RecordsKeeper’s Public Blockchain

Launching in house RecordsKeeper’s Public Blockchain

This blog will help you to setup a RecordsKeeper’s Public Blockchain node on your local machine or remote server, you can download and install RecordsKeeper’s client on a local machine or remote server.

Here are the following steps to be followed to setup a Recordskeeper’s Public Blockchain node.

Step 1: Connecting to the RecordsKeeper Blockhain

To connect to RecordsKeeper Blockchain run the following command in bash or command prompt.

  • RecordsKeeper Testnet

rkd [email protected]:8379 -daemon

  • RecordsKeeper Mainnet

rkd [email protected]:7345 -daemon

When you run the above commands the create a node connected to the RecordsKeeper Main node. The command will automatically sets the permissions and consensus required for the Blockchain.

RecordsKeeper Testnet is a complete open Blockchain, when you connect to the Testnet you will have the permissions to connect, send, recieve and mine but the RecordsKeeper Mainnet is currently under consensus rule for a certain number of Blocks (You can read more about that in the RecordsKeeper Whitepaper) to avoid takeovers. When you connect to the RecordsKeeper Mainnet, you will recieve an address. You can send that address to us through RecordsKeeper Mining Permission .

Step 2: Interactive command line mode

Before we proceed, let’s enter interactive mode so we can issue commands to interact with RecordsKeeper Blockchain.

  • Testnet

      rk-cli recordskeeper-test

  • Mainnet

       rk-cli recordskeeper

Step 3: Some basic commands

Now your node is up and running you can issue some basic commands in the interactive mode to get some feel about the RecordsKeeper

  • To get general information about the RecordsKeeper Node:

            getinfo

  • See a list of all available commands for the RecordsKeeper Node:

            help

  • List you all addresses in the RecordsKeeper Node wallet:

            getaddresses

Step 4: Sending a transaction in RecordsKeeper

The RecordsKeeper Blockchain works on the same backend as Bitcoin algorithms. Both the RecordsKeeper Testnet and Mainnet can be used to send and recieve XRK tokens. Use the following interactive commands to send transactions in RecordsKeeper Blockchain.

  • Send

      send address amount (comment) (comment-to)
 

This command works like publish, but publishes the item from from-address. It is useful if the node has multiple addresses with different amounts. The mining fees is applied as per the transaction size.

This command is used to Send one or more XRK tokens to address, returning the txid. The amount field is the quantity of the XRK token and the address field is the address where you want to send the XRK tokens. This command will use the Node’s root address to send the transaction. Please make sure you have sufficient balance in the Node’s root address for transaction to propogate over the RecordsKeeper Blockchain. You can also provide specific comments for the transaction which are optional. The fees will be applied as per the transaction size.

  • Send from different database

      sendfrom from-address to-address amount
 

This command is also used to Send one or more XRK tokens to address, returning the txid. Using this command you can specify the from address which you want to use to send the transaction. The amount field is the quantity of the XRK token and the to-address field is the address where you want to send the XRK tokens. Please make sure you have sufficient balance in the from-address for transaction to propogate over the RecordsKeeper Blockchain. The from-address used here is also one of the address generated for the Node. You can also provide specific comments for the transaction which are optional. The fees will be applied as per the transaction size.

Step 5: Publishing and retrieving data in Recordskeeper

The RecordsKeeper Blockchain is a open public Key-Value based Database over the Blockchain. You can use the interactive command line to publish and retirive stored information. As the Blockahin is a shared concept you can view all the published data and retrive it only using a key or address. RecordsKeeper uses the streams to store the data. RecordsKeeper Streams provide a natural abstraction for RecordsKeeper blockchain which focus on general data retrieval, timestamping and archiving, rather than the transfer of tokens between participants.

The “root” stream is open to all and anyone can publish data into the root stream. Following commands will give you a brief about how to work with data over RecordsKeeper Blockchain.

  • Publish

         publish stream key data-hex

  • Publish from a different address

      publishfrom from-address stream key data-hex
 

This command works like publish, but publishes the item from from-address. It is useful if the node has multiple addresses with different amounts. The mining fees is applied as per the transaction size.

  • Send as transaction

     sendwithdata/sendwithmetadata address amount data-hex|object
 

This works similar to send, but with an additional data-only transaction output. You can pass raw data as data-hex hexadecimal string. It is also used to publish the data to a stream, pass an object like this {“for”:StreamName,”key”:”KeyName”,”data”:”DataHex”} where stream is a stream name, ref or creation txid, the key is in text form, and the data is hexadecimal. You can pass the amount as 0, if you are only using this to publish the data over the RecordsKeeper stream. You can also send some XRK tokens while publishing the data over the stream. The fees will be applied as per the transaction size.

This is custom heading element

    [recaptcha]

    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