Posts

Showing posts from June, 2018

Ethereum: How To Create a Hello World Smart Contract based on a Private Blockchain

Looking at the ethereum's official Hello World tutorial -- https://www.ethereum.org/greeter , I discovered several annoyances . The example is not simple enough to be qualified as "Hello World". geth sync process is lengthy and error-prone. Network connectivity is essential to leverage.   How we can circumvent those to pave a way for an easy start in the Ethereum world? The following tutorial will provide a example to sort out those issues. In order to create and deploy a smart contract, we must have a blockchain network. Apart from the well-known main and test nets, alternatively, we can build a private blockchain that's only visible and serves locally. Prerequisites   First things first is to install some tools to carry out development tasks. install geth client. sudo apt-get install software-properties-common sudo add-apt-repository -y ppa:ethereum/ethereum sudo apt-get update sudo apt-get install ethereum  install solidity compiler.