Block Chain Fundamentals Session 2 In the last session of BlockChain Fundamentals, we have discussed “What is Block Chain”, here in the session we will discuss Block Chain in Details. Let’s go through the definition of Block Chain “Block Chain is a growing distributed peer to peer ledger which keeps the transaction record in chronological order which is secure and immutable” Let’s understand the Block Chain Definition in Detail. First, we will try to understand the block and how transaction as stored in the Block Chain A Block consist of two Components A hash as a Pointer to the Previous Block Data and Transactions in Current Block It will look like below images What is Block Zero(0) or Genesis Block Whenever any blockchain project or cryptocurrency is launched it starts with the 1st Block of the Network. People often called it as genesis block or block 0. Use Case of Maintaining record with Block Chain Assume user X -> Rs. 200 Y -> Rs. 500. So we will store this information in Block Chain using secure military grade algorithms. After our empty genesis block, a new block will be added. Our Block Chain will network will look like below image. “The information that X has Rs. 200 and Y have Rs. 500 is stored permanently in blockchain block B1 and nobody can be modified it.It Permanent” Understanding Transaction Storage. Now assume Y want’s to give Rs. 100 Now in general databases like MySQL or Oracle the, there would a field called as balance amount and it would be updated according to transaction taken. But this is not the case with Block Chain. Initial storage cannot be modified. Instead, a block will be created which will store the detail of the transaction. This new block will also have information about the new balances of User X and User Y. Below image will describe the transaction storage. This is how new block will be added for a single or set of transactions. “Now we see Block Chain has stored the information securely and in chronological order” Since Block store the hash of the previous block, it creates a chain, a chain of blocks called as blockchain. Please view the video for more clear understanding Techaroha team is always ready to help you with Block Chain Application Development, Block Chain Developers in India and Block Chain Training in India. Please feel free to contact us for any queries.
Block Chain Fundamentals Block Chain is making a lot of buzz and this technology deserves much more. With the success of bitcoin, its proved that bitcoin will change the way things used to work. Many experts say that BlockChain will change the way Internet has done to the society.This article explains some very basic block Chain Fundamentals Let’s Understand “What is BlockChain” In Simple words, Block Chain is technology which stores the records in such a way that it cannot be modified but can be accessed by anyone. This feature “Cannot Be Modified” helps to identify the ownership of the record. What is Block Chain by Example In early days lots of frauds use to happen on Property deals same property being sold to User was a common fraud. This fraud can be completely eliminated using Block Chain. Suppose User A owns a house H1 and this transaction is recorded in the Block Chain . This records cannot be modified by any one. Any User who wants to buy house H1 can check the actual owner of the house. When User B purchase the house from User A , the ownership of home H1 will be set o User B in a separate transaction in Blockchain again which cannot be modified. With the help of block chain we can see the histroy of ownership of house H1. Above was one of the simplest example to explain blockchain and its usage. This concept of block chain can be applied to any assets like Cars, Crypto Currency , Motor cycles , Diamond etc. Please come back for session 2 of our block Fundamentals session. Techaroha team is always ready to help you with Block Chain Application Development, Block Chain Developers in India and Block Chain Training in India. Please feel free to contact us for any queries.
Error in HyperLedger , While running ChainCode you may get many errors here are few errors you get while running ChainCode Application and their solutions While Building Application you get error in HyperLedger can’t load package: /usr/local/go/src/sacc/sacc.go:6:2: non-standard import “github.com/hyperledger/fabric/core/chaincode/shim” in standard package “sacc” This happens when the $GOPATH directory is not rightly set. To remove the error just make sure the $GOPATH is rightly set. Solution to Problem is to set the $GOPATH Variable using below commands export GOPATH=$HOME/go
Please ignore , this method are not valid now. This Post and Method is Outdated please view this link to install the hyper-ledger latest method. Step By Step Guide To Install hyperledger in Ubuntu/Linux HyperLedger Fabric is the platform for developing BlockChain Application. It helps to create and manage blockchain network and smart contracts. BlockChain offers a lot of possibility in domains like Banking, Government, Healthcare etc. Awareness of BlockChain is going rapidly and adoption is at full pace. Before starting working on HyperLedger it’s must to setup, install and make it run. This blog by Techaroha Team explain the step by step process to setup and install Hyperledger in Ubuntu/Linux. If you find any issue in this step by step guide to install hyperledger in Ubuntu/Linux Os you can always contact Techaroha Support for further assistance. Below is the Step By Step Guide To Install hyperledger in Ubuntu/Linux Step 1: Install Curl – Prerequisite for Hyperledger Execute the below command to install curl in Ubuntu sudo apt-get install curl Step 2 Install Docker for Ubuntu curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add – sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable” sudo apt-get update apt-cache policy docker-ce sudo apt-get install -y docker sudo apt-get install docker-compose sudo systemctl status docker #Check Docker Version docker-compose –version #Running Docker Daemon dockerd Step 3 Install GoLang for Ubuntu sudo apt-get install golang-go # Setup Go Path export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin Step 4 Install NodeJs on Ubuntu/Linux Operating System Please make sure your are installing node 6.9 , Node 7 is not supported curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash – sudo apt-get install -y nodejs Step 5 Installing Pythonsudo apt-get install python Step 6 Install Hyperledger Fabric and Its Dependencies using following command of curl curl -sSL https://goo.gl/Q3YRTi | bash if If you encounter any error like unable to connect daemon or daemon not accessible , You should restart the system , start the daemon and do a soft reboot using the command. Download Fabric Examples git clone https://github.com/hyperledger/fabric-samples.git cd fabric-samples If you want any help with the installation of Heyperledger or you want BlockChain Developers in India or any other location you can always contact us here.