Category Archives: Software

Ethereum vs. Hyperledger: The Epilogue

I was very excited to work with Hyperledger when I first did a comparison between Ethereum vs. Hyperledger [1]. The ability to write chaincode in javascript was especially appealing to me. However after more than a month of spending time … Continue reading

Posted in Software | Leave a comment

Ethereum vs. Hyperledger – Which is better? Part I

Ethereum Hyperledger Built for enterprise Scalability   Ability to write chaincode in familiar languages   Transactions can be non-deterministic   Support for private data Enterprise Footprint Cryptocurrency not needed Membership Service Provider Built For Enterprise: https://www.verypossible.com/blog/the-pros-and-cons-of-hyperledger-fabric“most enterprise apps would get … Continue reading

Posted in Software | Tagged | Leave a comment

Understanding user registration and enrollment in Hyperledger Fabric

TL;DR The bootstrap identity is defined by the username:password used in -b argument to fabric-ca-server start The bootstrap identity is special and does not need a registration step. This is because it is automatically registered when the server starts All … Continue reading

Posted in Software | Tagged , | 1 Comment

E1219 23:48:19.159391389 19 ssl_transport_security.cc:238] Could not get common name of subject from certificate.

Returned back from vacation to find this error when I try to run hyperledger fabric sample. It used to work just fine before I left on vacation. What gives? WITSC02X6385JGH:fabric-ca sjain68$ docker logs -f dev-peer1-jnj-mycc-1.0 > chaincode@1.0.0 start /usr/local/src > … Continue reading

Posted in Software | Leave a comment

Unwanted redirect from Gmail to OneLogin

Is Google Chrome redirecting you to onelogin whenever you try to login into any Google account? This is how to fix it: Open Chrome Type chrome://settings/siteData search for onelogin in top right (see example screenshot below) Delete the onelogin cookies … Continue reading

Posted in Software | Leave a comment

Installing Bash4

A new macbook pro comes installed with bash version 3. I needed to install bash 4 to be able to use the bash debug vs code extension. To do this run brew install bash once its done you will need … Continue reading

Posted in Computers, programming, Software | Tagged | Leave a comment

ABAC

showing how to add an attribute named manufacturer and set its value to true. file helper.js in balance-transfer app. see https://fabric-sdk-node.github.io/release-1.3/FabricCAServices.html#register__anchor later on you can check this attribute as follows in your chaincode:

Posted in Software | Leave a comment

Remove annoying tslint errors/warnings in vs code

Goto Code -> Preferences -> Settings -> TSLint and uncheck Enable for bonus also uncheck Javascript > Validate: Enable

Posted in Software | Leave a comment

Running the typescript balance-transfer app

There are several problems you will run into. First problem is this you won’t be able to run ts-node after npm installing it. To fix it modify the PATH environment variable PATH=$PATH:./node_modules/.bin Next problem is when you try to run … Continue reading

Posted in Software | Leave a comment

How to get rid off gossip logs in Hyperledger Fabric?

The gossip service outputs very verbose and useless logs in Fabric. These messages can be seen if one tries to view the logs of a peer container. How can one get rid of them? Today i tried 2 ways none … Continue reading

Posted in Software | Leave a comment