Following distributions are supported.

Debian 9 (stretch) or newer

Ubuntu 18.04 (Bionic Beaver) or newer

Most of the command need root or sudo access.

From my personal experience, I suggest using the minimum configuration of a server like this.

2 CPU,4 GB Ram Virtual machine

with this configuration, you can easily run all commands and the Jitsi server without stuck. Not compulsory to use these features you can use even 1GB ram and 1CPU machine but when I used that when issuing commands it is getting slow.

First, make sure your system is up to date and all required packages…


The Ternary Operator

This is you can use instead of if, else statements to reduce the code lines in javascript.

The traditional way of if, else:

const x = 220;
let answer;

if (x > 100) {
answer = "greater than 100";
} else {
answer = "less than 100";
}

With Ternary Operator

const answer = x > 100 ? "greater than 100" : "less than 100";

not only a single if-else statement but also you can write nested if-else with this Ternary operator.

const answer = x > 10 ? "greater than 10" : x < 5 ? …


FoundationHyperledger Indy is a distributed ledger software that is coming under the Linux Foundation. It is a project in the Hyperledger greenhouse. Hyperledger Indy provides tools, libraries, and reusable components for providing digital identities rooted in blockchains or other distributed ledgers so that they are interoperable across administrative domains, applications, and any other silo. Indy is interoperable with other blockchains or can be used standalone powering the decentralization of identity.

So let's begin how to setup Hyperledger on your machine. The following are the prerequisites for Hyperledger Indy.

1. Git 2.27

2. Node Js 8.12.0

3. NPM

4. Docker 1.18


When we consider the difference in both names the first idea which is come to our mind simply is one has state and other one does not.

Stateful-Container/Smart

Stateless-Presentational/ Dumb

That means stateful components are keeping track of changing data while stateless components show the data received via props.

Stateful

Stateless


Are you facing trouble in understanding and using the life cycle method of React without a mess. Do not worry with this article I am going to do you a favor with It. Without talking much let’s go into the topic otherwise, you will get bored.

Firstly I should say something with the latest version of React has determined some lifecycle methods are unsafe so I will not talk about them as those will be deprecated in future releases.

What are these Life cycle methods?

You can think of React lifecycle methods as the series of events that happen from…


Nodes:

In Hyperledger Fabric entities which interact with communication procedure in the network are called nodes.

Node Types in Hyperledger Fabric:

Mainly there are three types of nodes in Hyperledger

  1. Client
  2. Peer
  3. Orderer

Client- Who submits the transaction proposal to endorsing peer nodes and broadcast transaction-proposal to ordering nodes.

Peer-Nodes that commit transactions and maintain the ledger state. Peers can Have another two roles such as Endorsing peer(Chaincode installed) Anchor peer(Chaincode installed or not)

Orderer- communication service that implements a delivery guarantee, such as atomic or total order broadcast

Channel:

The subnet of the main blockchain is referred to as…


Firstly I am going to talk about prerequisites to set up Hyperledger Fabric on your windows machine.

Install Curl

Install the latest version of the Curl tool if you have not installed it yet.

Docker and Docker-compose

You will need to install these followings with respecting your platform which you are using with fabric-development.

  • MacOSX, *nix, or Windows 10: Docker Docker version 17.06.2-ce or greater is required.
  • Older versions of Windows: Docker Toolbox — again, Docker version Docker 17.06.2-ce or greater is required.

If you want to check the version of docker you can simply do it with this command.


Before going into the territory of blockchain first I will make you understand a practical scenario where blockchain is a solution.

Think about a time when you want to buy land from someone you need a lawyer to make sure that land belongs to that land sellar and after you buying he should need to update the new landowner as you. In this scenario, you both need a third trusted party to handle your transaction. And it was only a record change in a ledger which was not own or mange by you or your sellar.

This is the problem…


How does a Ledger update transaction happen in Hyperledger fabric network with private data and without private data

There is a bit difference between ledger update transaction and query transaction because single peer cannot update the ledger by own. It requires the consent of other peers in the network. As well as, when some peers have private data the transaction is happening in another different way.

Firstly I am going to describe how the transaction happens when there is not any private data.

Ledger update transaction goes through three steps. The first step is between application and set of peers…


In this tutorial, I am going to give you a basic idea about Hyperledger fabric and composer.

Hyperledger is not a specific technology or tool it refers to as a project developed for blockchain and distributed technologies by The Linux Foundation.

Here I am giving the Hyperledger greenhouse provided by Linux Foundation. So You would be able to get an idea about what are the Hyperledger project frameworks and tools.

Hyperledger Greenhouse

Hyperledger Fabric allows components, such as consensus and membership services, to be plug-and-play. Hyperledger Fabric leverages container technology to host smart contracts called “chain code” that comprise the application logic…

Tharindu Sandaruwan

Block-chain Enthusiast,React and React-native Developer,Angular developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store