Image for post
Image for post
Image Source: Forbes

Lambda, Serverless — What are these buzz words?

If you’re a fan of AWS, Then you might already familiar with lambda. Lambda( Originally called lambda functions) is a Function as a Service(FaaS) offered by Amazon Web Services. It lets you run your piece of code without provisioning or managing servers. With Lambda, you can run code for virtually any type of application or backend service — all with zero administration. Just upload your code and Lambda takes care of everything required to run and scale your code with high availability. …


Image for post
Image for post
Image Source: hyperledger.org

Here, I’m assuming that you’ve set up your fabric network and trying to connect explorer to network. You checked official documentation of explorer and somehow you run out of many issues while setting up. So you opened medium and searched for “connecting hyperledger explorer to network”. boom! There are many articles out there. You opened one by one and somehow they are all scared you that you need to set up Nodejs, Postgres DB, create tables and rows, and a bunch of npm install commands on each subdirectory. Forget it. How can I forget if I don’t remember? Well, never mind!. Most of us don’t know that we can setup hyperledger explorer with docker easily. Even, official documentation always highlights the native setup. What if we can connect explorer to our network within three simple steps without any drama? Well, dockerizing hyperledger explorer..! The purpose of this article is to lift the underrated dockerized explorer setup. Dockerizing hyperledger explorer solves many pain points that arose with native setup. I dare you to use these three steps to setup hyperledger explorer to your network. …


Image for post
Image for post
Image source: Groupemiage

In the previous article, I have explained what is quantum ledger database, benefits, use-cases, and how it differs from regular databases and how it is related to the blockchain. This article is to show how to set up Amazon’s QLDB and use it in our Nodejs application as a Database. I see this as a more realistic implementation. Hopefully this guide will get you on the road to “getting started with QLDB” without too much of a headache.

Recap:

Amazon QLDB is a fully managed ledger database that provides a transparent, immutable, and cryptographically verifiable transaction log ‎owned by a central trusted authority. Amazon QLDB tracks each and every application data change and maintains a complete and verifiable history of changes over time. QLDB fits perfectly for applications that need a scalable centralized ledger database where it needs to record all the transaction history overtime with added cryptographic security. …


Image for post
Image for post
Image Source: Google

In the previous article, I have explained what is quantum ledger database, benefits, use-cases, and how it differs from regular databases and how it is related to the blockchain. This article is to show how to set up Amazon’s QLDB and use it in our Nodejs application as a Database. I see this as a more realistic implementation. Hopefully this guide will get you on the road to “getting started with QLDB” without too much of a headache.

Recap:

Amazon QLDB is a fully managed ledger database that provides a transparent, immutable, and cryptographically verifiable transaction log ‎owned by a central trusted authority. Amazon QLDB tracks each and every application data change and maintains a complete and verifiable history of changes over time. QLDB fits perfectly for applications that need a scalable centralized ledger database where it needs to record all the transaction history overtime with added cryptographic security. …


Image for post
Image for post
Image Source: Aneesh Nair

Quantum Ledger Database(QLDB) is a No-SQL(Semi-SQL & Semi-NoSQL) Append-only database that provides an immutable, transparent, and cryptographically verifiable transaction log ‎owned by a central authority. Since it is a No-SQL database, It has the ability to store a lot of semi-unstructured data using a document-oriented data model. Moreover, it Uses SQL like data structure(Tables and Rows) and a language(PartiQL). So, it can leverage current SQL developers to offer robust ways to query and manage data.

QLDB vs SQL,NoSQL Databases:

Traditional Databases:

Any other traditional databases (SQL and No-SQL) store data in the form of a table or JSON document model. Within these traditional databases, data can be modified by anyone who is in control of the database itself results in data conflicts and manipulations. These databases don't keep track of document history and only store the current state of the document. So, these databases cannot provide audit trials out of the box. As all of these databases do not have automatic data encryption so the data files are at risk of being read or modified by hackers directly. …


Image for post
Image for post
A photo by Sharon McCutcheon at Unsplash

Wait, What is GraphQL?

Is it a new query language? A new type of database? Some other JavaScript black magic? Nope, none of the above.

in a nutshell, GraphQL is a Query Language for APIs that describes how to ask for data and is generally used to load data from a server to a client. Firstly, it doesn’t have anything to do with databases. It is not an alternative to SQL. It is basically used to send/receive data between client and server using a minimum number of HTTP requests. In order to achieve this, you have to create relations between the entities programmatically. …


Image for post
Image for post
A Photo By Life Of Pix in Pexels

Due to the unbelievable popularity of blockchain technology, IBM’s Hyperledger Fabric project touching the sky, Not just because it is one of the blockchain frameworks. having some great unique features like permissioned architecture, Plug and Play components, Channel support for confidential Transactions, modularity, and scalability. due to all these facts, Hyperledger Fabric became revolutionary in this Blockchain Era. It has huge potential to change the industry and we are already seeing it right now. Hyperledger Fabric has progressed a lot over the past few months. Whether you are new to Hyperledger Fabric or have some experience and want to quickly get up to speed with the best Practices used for Production& Development of hyperledger fabric, this post is for you. This is the series of articles and I’ll be adding more practices and tips to this series. …


Image for post
Image for post
Photo by designecologist in pexels

Hyperledger Fabric is a container-based blockchain framework used for developing decentralized applications using plug-and-play components aimed at making it modular. It doesn’t mean that we can’t create network components (peers and orderers) natively. But this isn’t how the software is distributed. However, chaincode currently supports containerized (sandbox) environments only.

In the previous article, I have described core components and implementation of Nodejs chaincode. we’ve set up our Dev environment, developed our chaincode, get everything up & running locally. We installed and invoked all chaincode functions via our CLI Container. Everything looks fine. Now what? Is that everything we ever wanted? of course not ! We shouldn’t be satisfied at all. We need to do more. As developers, our target is users. After all, do users sit there and run respective docker commands for particular operations..? No !. …


Image for post
Image for post
Photo credits — Greg Rakozy at Unsplash

“ Little Science takes you away from God. but, more of it takes you to him.” --Louis Pasteur

This is Earth. You live here on this planet somewhere. Everything you ever have known is located right here. That’s home. That’s us. On it everyone you love, everyone you know, everyone you ever heard of, every human being who ever was, lived out their lives. it has a diameter of 12,742 km at the equator. On the Solar System scale, just exactly how small it is? -- A 0.12 pixel sized Pale blue dot. Meaning that, If we could capture our Solar System, You will end up finding our earth as a 0.12 pixel sized tiny blue dot in that picture. …


Image for post
Image for post
Photo by Negative space at pexels.com

What is Chaincode in Hyperledger Fabric terms??

In Hyperledger Fabric, Chaincode is the piece of code that runs on top of the network peers to implement the business logic of how applications interact with the ledger. When a transaction is proposed, it triggers chaincode that decides what state change should be applied to the ledger. So, in order to develop decentralized applications on Hyperledger Fabric, one must write their application logic called as Chaincode.

Chaincode can be written in Go, Nodejs, Java. Compared to the other two languages, Node.js is a language that more people understand and find easier to use including me. but, still writing and deploying Node.js Chaincode is little tricky due to very less information available in its documentation. So, I decided to write some concepts of Node.js …

About

Salman Dabbakuti

Curious about decentralized future. Working on Blockchain Technologies. Hit me up, would love to interact!

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