Social Icons

Showing posts with label Ganache. Show all posts
Showing posts with label Ganache. Show all posts

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


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...








Powered By Blogger