Social Icons

Showing posts with label node. Show all posts
Showing posts with label node. Show all posts

Monday, December 02, 2019

EMBARK BLOCKCHAIN FRAMEWORK : INSTALLATION Ubuntu 18.04 LTS

Embark is a framework that allows you to easily develop and deploy Decentralized Applications (DApps).A Decentralized Application is a serverless html5 application that uses one or more decentralized technologies.Embark currently integrates with EVM blockchains (Ethereum), Decentralized Storages (IPFS), and Decentralized communication platforms (Whisper and Orbit). Swarm is supported for deployment.This post gives the screen shots for installing a demo contract on EMBARK platform.Embark needs few per-requisites and tools installed including Node,Geth and IPFS.The complete list of history command as executed for getting EMBARK running is produced below :


1 sudo apt-get update
2 sudo apt-get install npm
3 sudo npm -g install embark
4 sudo npm i nyc
5 sudo apt-get install software-properties-common
6 sudo npm install
7 sudo npm -g install embark
8 curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
9 sudo apt install nodejs
10 curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
11 nvm install node
12 nvm install --lts
13 nvm install 8.10.0
14 nvm use v10.19.0
15 nvm install v10.19.0
16 npm install -g embark
17 embark -version
18 embark demo
19 cd embark_demo/
20 embark run












Saturday, November 02, 2019

HYPERLEDGER FABRIC ON UBUNTU 18.04 LTS : INSTALLATION STEPS WITH TERMINAL COMMANDS

Hyperledger is an umbrella project of open source blockchains and related tools, started in December 2015 by the Linux Foundation, and has received contributions from IBM, Intel and SAP Ariba, to support the collaborative development of blockchain-based distributed ledgers.The following post ahead will see through the screenshots and steps for installation of Hyperledger Fabric on Ubuntu 18.04 LTS. The installation basically first creates the required environs and then the actual installation of.

The actual terminal history I got after the installation is placed below.Between 11-13 terminal commands,if you get an error,please reboot and proceed.

    1  sudo apt-get update
    2  sudo apt-get install curl
    3  sudo dpkg --configure -a - i ran this owing to an error in between
    4  sudo apt-get install curl
    5  sudo apt --fix-broken install - i ran this owing to an error in between
    6  sudo apt-get install curl
    7  sudo apt-get install npm
    8  sudo apt-get install docker
    9  curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
   10  sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
   11  apt-cache policy docker-ce - might need a reboot if error seen
   12  sudo apt-get install -y docker-ce
   13  docker info
   14  sudo docker info
   15  sudo apt-get install -y docker-ce
   16  sudo apt-get install docker-compose
   17  sudo apt-get upgrade
   18  sudo curl -sSL https://goo.gl/6wtTN5 | sudo bash -s 1.1.0
   19  history
   20  sudo chmod 777 -R fabric-samples
   21  cd fabric-samples/first-network
   22  sudo ./byfn.sh generate
   23  sudo ./byfn.sh up


The following applications and software's need to be installed first for Hyperledger Fabric:

  • CURL
  • GO Programming Language
  • Docker
  • Docker Compose
  • Node.js Runtime
  • NPM
  • PYTHON

The following is the set of commands used for the entire installation.These commands are followed by the respective screen shots of the executed commands.


















So...all good and the fabric is installed...
Powered By Blogger