Sign in

Nodejs | Golang | Tech Writer | Author | https://schadokar.dev
Photo by Matthew Pierce on Unsplash

Originally published at https://schadokar.dev.

Using the + operator 🔧

package mainimport (
"fmt"
)
func main() {
str1 := "Hello"
// there is a space before World
str2 := " World!"
fmt.Println(str1 + str2)
}
Hello World!

Using Sprint, Sprintf, Sprintln 🛠

Variadic functions can be called with any number of trailing arguments.

Sprint


Hyperledger Fabric is all about permissions. These permissions are provided in the form of certificates and keys. In broad term, it is known as Identities.

Photo by Micah Williams on Unsplash

Originally published at https://schadokar.dev

Where can I store the Identities? 💼

File System


There are multiple ways in golang to use environment variables and files.

Photo by Moja Msanii on Unsplash

Why should we use the environment variable?

Security Issue:

  • You’re entering all the information in the code. Now, all the unauthorized person also have access to the DB.
  • If you’re using code versioning tool like git then the details of your DB will…


Photo by Marvin Meyer on Unsplash


Photo by Markus Spiske on Unsplash

What is the current situation of the Internet?


A complete step by step tutorial on how to create a todo app in Golang

Cover designed in Canva
  1. Server — Go
  2. Database — MongoDB
  3. Frontend — React



In this guide, we will install Hyperledger Fabric v1.4 on Linux machine and on Windows machine.

Google sources

Check out my other tutorials on schadokar.dev

Contents:

  1. Prerequisites
  2. Linux Installation
  3. Windows Installation

Prerequisites

  1. cURL — latest version
  2. Docker — version 17.06.2-ce or greater
  3. Docker Compose — version 1.14.0 or greater
  4. Golang…


Images Google Sources
  1. ganache-cli
  2. Ethereum-Dapp and Server
  3. Client (React App)


Connect the Metamask to ganache-cli running inside the docker container

Ganache-Docker-Metamask Source Google Images
  1. Docker installed in your machine. Please check out this link and install which fits with your OS.
  2. The Metamask plugin installed to your browser. Please check out this link and follow the instructions to install it.

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