Social Icons

Sunday, December 08, 2019

ganache-cli : installation error Unexpected token { [SOLVED]

If you are here to resolve the following error while installing ganache-cli

/usr/local/lib/node_modules/ganache-cli/cli.js:8
var {toChecksumAddress, BN} = require("ethereumjs-util");
    ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:442:10)
    at startup (node.js:136:18)
    at node.js:966:3


The following commands will resolve this as follows :

sudo apt-get install curl python-software-properties
sudo apt-get update
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


Node.js Installation on Ubuntu 16.04

In this post I am sharing few commands to install Node.js & npm installation on Ubuntu 16.04 LTS

sudo apt-get install nodejs
sudo apt-get install npm
nodejs -v

The last command gives the installed version as seen in the screen shot below :


 

Wednesday, December 04, 2019

METAHASH WALLET INSTALLATION : UBUNTU 18.04 LTS

The following blog post shares few screen shots to installation of metahash wallet.The first step needs to go to https://metahash.org/ and then click the appro download as per the OS of the user.In my case I have a Ubuntu 18.04 LTS,so I download the bin file and the rest action follows as per the screen shots below which are all self explanatory.


 this is followed by simply executing the file on the terminal with sudo rights ie sudo ./Meta*.bin










Monday, December 02, 2019

BOILERPLATE : What does this mean in the computing context?

Well,this is going to be a short post about a general info of what Boiler plates means in the computing context.Recently I came across this term for the first time as I read this paper "SHOULD CODE BE LAW? SMART CONTRACTS, BLOCKCHAIN, AND BOILERPLATE" by Jeff Lingwall and Ramya Mogallapu. Then further exploring about this term simply refers to sections of code that have to be included in many places with little or no alteration. It is often used when referring to languages that are considered verbose, i.e. the programmer must write a lot of code to do minimal jobs.

More simply  : Any routine contract document would invariably be similar for most of its part except for the names and date changes.This similar part is the Boilerplate meaning it’s the same for everyone who gets that contract, with only a few changes.

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












Sunday, December 01, 2019

Blockchain Technology Workshop : IIIT Raipur

Dr. SPM IIIT-Naya Raipur, established by the International Institute of Information Technology University Act,2013 of the Government of Chhatissgarh, is a joint venture by Chhattisgarh State Government and National Thermal Power Corporation (NTPC).A workshop on Blockchain Technology was organized from 28-30 Nov 2019 at the campus with the following aims:

(a) To disseminate the knowledge of Blockchain technology among students, researchers and academicians.

(b) To discuss the current status of the Blockchain development and research work in India and across the world.

The material and slides presentation is shared at link https://drive.google.com/open?id=1s9mZtR7hnyQF4YQ5VYAxgKUiCMenWxlf

Few pics shared below



















Powered By Blogger