Social Icons

Thursday, October 10, 2019

GANACHE Blockchain installation UBUNTU 18.04 LTS

Ganache is a personal blockchain for Ethereum development one can use to deploy contracts, develop  applications, and run tests. It is available as both a desktop application as well as a command-line tool. Ganache is available for Windows, Mac, and Linux.This post will share few commands and screen shots to install Ganache in GUI mode in Ubuntu 18.04 LTS. It is an ethereum client which one can use for Ethereum development and is part of Truffle ecosystem. Ganache is used for the development of DAPP and once  developed and tested on the ganache,it can be deployed on any DAPP on ethereum client like geth or parity.


 Second step : Click at the Download button.
 Third step : chmod a+x ganache**** to make it executable
 Fourth step as above...simply run the executable
 Its ready to go...








Monday, October 07, 2019

SUBLIME editor installation in UBUNTU 18.04 LTS

1. Sublime Text is a proprietary cross-platform source code editor with a Python application programming interface. It natively supports many programming languages and markup languages, and functions can be added by users with plugins, typically community-built and maintained under free-software licenses.The installation part of the same on Ubuntu will just take few commands as seen below and the sublime editor will be ready to go.The commands are listed below : 

First step

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
(click on image to enlarge)
 Second step


echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

(click on image to enlarge)


Third step

sudo apt update 

(click on image to enlarge)


Fourth step

sudo apt install sublime-text

(click on image to enlarge)

and you are ready to work on sublime

(click on image to enlarge)

Proof of Sleep : Mind Boggling Consensus Algorithm

Introduction

Consensus is the backbone of the Bitcoin technology and is the reason for the Bitcoin to be widely famous since it mitigates the need for any third party mediation. Blockchain domain has around forty plus consensus algorithms as on date with many variants of Proof-of-Work ,Proof of Stake etc. 

"Proof of Sleep" consensus algorithm has been proposed to remove all existing energy dissipation issues in reaching consensus. This will also resolve complex cryptographic algorithms like DAG,Proof-of-Capacity, Proof-of-Burn etc at the click of a button. Welcome to the world of "Proof of Sleep", a new consensus algorithm wherein no energy issues and complexities are involved.

"Algorithm is based on the node admin in P2P sleeping time and essential vital parameters" as per the designer team based in Noida.

How it works?

The participating node admin will go to sleep as and when the need to attain consensus arises. More the number of people register at one node and more they sleep, the consensus is designed to get stronger and expedited. Thereafter the node breathe vitals and snoring decibels will be syncd with the "pre-sleep division" working in Washington, DC. The sole purpose of this division is to use the precog(nitive) potential of this node to prevent waking-up. The breathe vitals will include the exhale/inhale composition of gases. Once syncd,the cryptographic hash of the dreams will be recorded to generate an ultimate unique 4096 bit key. This will be back linked to the nearest person sleeping to this node which will be decided by the Open Shortest Path First (OSPF),an established routing protocol.

Completely based on dreams,the node thus has to fulfill certain QRs before being established as a node. The QRs for participation as a node have been submitted to ISO 14000 ,a series of environmental management standards.

Hyperledger ,the multi-project open source collaborative effort hosted by The Linux Foundation has taken keen interest to explore this. The Linux foundation plans to replace Apache Kafka in Hyperledger Fabric and RBFT in Hyperledger Indy with Proof of Sleep.

Satoshi ACTIVE again

Meanwhile as per fresh inputs received Satoshi Nakamoto's email id satoshin@gmx.com has got active this Friday again. Thus after a decade of sleep,Satoshi Nakamoto has consented to replace Proof of work with Proof of Sleep. This shows the kind of buzz and confidence this new consensus algorithm.  "Now that I had been sleeping over a decade,this algorithm fits fine and I intend replacing my proof of work with Proof of sleep. This will ensure that even as I sleep again, I would contribute to all the consensus taking place around " Satoshi Nakamoto mentioned in email, hinting at his sleep and vanishing act again.

Conclusion

Proof of Sleep is a turning point in the evolving domain of Blockchain and its consensus algorithms. The existing consensus algorithms have faced energy wastage issues across the globe. This path breaking algorithm is likely to shutdown all mining farms and pave way for a green consensus. Proof of sleep will bring the peaceful stone age earth times since maximum participating nodes will be in sleep mode. With maximum nodes sleeping,it couldnt have been better for a peaceful,no war,no ruckus earth,



[ NOTHING SERIOUS ABOUT THIS POST PLEASE : EXCUSE ME IF YOU HAVE SERIOUSLY READ THIS]

Sunday, September 22, 2019

Installation Cupcarbon : Smart City and Internet of Things Wireless Sensor Network simulator

1.    CupCarbon is a Smart City and Internet of Things Wireless Sensor Network (SCI-WSN) simulator. Its objective is to design, visualize,debug and validate distributed algorithms for monitoring,environmental data collection, etc., and to create environmental scenarios such as fires, gas, mobiles, and generally within
educational and scientific projects. Not only it can help to visually explain the basic concepts of sensor networks and how they work; it also supports scientists to test their wireless topologies, protocols, etc.

2.   Although otherwise an easy installation,but with the Java changes effecting 16 Apr 2019 wherein the release of Oracle Java 8 update 211 / 212 – also known as Oracle’s first ‘not free for production use’ patchset,the installation instructions are little changed.

3.   This post will bring you simple set of commands executed with screenshots to run this awesome simulator CUPCARBON.The simulator is available for download at http://cupcarbon.com/download.html .

4.  Once downloaded the following commands will get you the desktop with cupcarbon running. My friend Ayaz helped me out in these.

$ sudo apt-get update
 $ sudo apt-get upgrade
 next we need to check if java is installed by checking the version by the following command :

$ java -version

If there is no java installed we need to install by typing the following :

$ sudo apt install openjdk-11-jre-headless
 Once installed check the output and we should get the following :

 Now we need to install javafx with the following command :

$ sudo apt install openjfx
 Once installed,we can query with the following command and get the expected output as seen below :
$ dpkg-query -L openjfx

/usr
/usr/share
/usr/share/doc
/usr/share/doc/openjfx
/usr/share/doc/openjfx/TODO.Debian
/usr/share/doc/openjfx/changelog.Debian.gz
/usr/share/doc/openjfx/copyright
/usr/share/openjfx
/usr/share/openjfx/lib
/usr/share/openjfx/lib/javafx.properties
/usr/share/openjfx/lib/javafx.base.jar
/usr/share/openjfx/lib/javafx.controls.jar
/usr/share/openjfx/lib/javafx.fxml.jar
/usr/share/openjfx/lib/javafx.graphics.jar
/usr/share/openjfx/lib/javafx.media.jar
/usr/share/openjfx/lib/javafx.swing.jar
/usr/share/openjfx/lib/javafx.web.jar

Now move to the location where you have downloaded the cupcarbon.jar file.Unzip the same and change the execution properties as

$ chmod +x cupcarbon.jar

Once done,we need to execute and run the carbon.jar file by defining the route and javafx

$ java --module-path /usr/share/openjfx/lib --add-modules=javafx.controls,javafx.fxml,javafx.base,javafx.media,javafx.web,javafx.swing -jar '/home/smartbuilding/Downloads/cupcarbon/CupCarbon/cupcarbon.jar'

Here in the above command you need to define and enter the path which is being used in ur PC.In my case the path is home/smartbuilding/Downloads/cupcarbon/CupCarbon/cupcarbon.jar

The above should run successfully and give you the below screen that runs the cupcarbon simulator



Thanks Ayaz bhai....for the inputs.He is available at https://ayaztechy.blogspot.com/

Friday, September 06, 2019

BLOCKCHAIN BASICS & CRYPTOCRIMES CASE TAKES : Central Academy for Police Training(CAPT) Bhopal

Sharing my presentation on "BLOCKCHAIN BASICS & CRYPTOCRIMES CASE TAKES",taken at CAPT(Central Academy of Police Training),Bhopal on 31Aug 2019. The presentation after building upon basics of Blockchain and Cryptocurrencies takes on few known case studies including the Mt Gox Exchange theft and the role played by Kim Nilsson



Wednesday, July 17, 2019

Truffle Suite: Tools for Smart Contracts installation in UBUNTU 18.04 LTS

The following sets of screen shots show the Ubuntu installation part and a sample smart contract execution of Truffle,a personal blockchain for Ethereum development one can use to deploy contracts, develop  applications, and run tests.:

First command is to install npm
 The next screen shows installation of npm
 now we use npm to install truffle
 make a directory...I made a directory truffleproject as seen below:
 We also need to install atom...a code editor..available at atom.io
 In case of Ubuntu,download the .deb file from site
 Install atom

 Now download a sample smart code project metacoin
 Run Atom
 Open project
 Contracts...click
 choose Metacoin
 Run the code...
 

Wednesday, June 05, 2019

Astra Linux: Russian Linux-based computer operating system

Astra Linux is a Russian Linux-based computer operating system developed to meet the needs of the Russian army, other armed forces and intelligence agencies.It provides data protection up to the level of "top secret" in Russian classified information grade. It has been officially certified by Russian Defense Ministry, Federal Service for Technical and Export Control and Federal Security Service.I downloaded the iso image from https://astralinux.ru/products/astra-linux-special-edition/

Few screen shots during the installation :



















Powered By Blogger