will virus always be better at blockchain & DATA MAPPING than humans

Key Takeaways

  • The book provides an introductory look at building Ethereum smart contracts
  • It covers both Solidity and web3.js
  • The last part of the book introduces enterprise-level smart contract development
  • Experienced developers may find the book somewhat entry-level
  • The book is aimed at developers that already know how to program in Javascript


"Building Blockchain Projects", by Narayan Prusty and published by Packt, is an introductory book aimed at developers who have some experience with programming (especially in Javascript) and an interest in cryptocurrencies and related technology.

The book roughly divides into 3 parts - an initial introduction (comprising chapters 1 and 2) to distributed applications and their associated cryptocurrency ecosystems. Next is a section of chapters 3 - 5, which cover the basics of core smart contract development - including the Solidity programming language and the web3j Javascript library that can be used to control contracts, e.g. from a Node.js web application. Finally, chapters 6-9 cover topics such as deployments, accessing information external to the Ethereum blockchain and truffle (a Javascript-based build system for more complex smart contracts).

Chapter 1 deals with basic terminology of distributed applications based on cryptocurrency foundations (DApps). Even early on, the book stumbles on some simple concepts, including a rather confused description of the distinction between "distributed" and "decentralised".

The order that concepts are introduced in is also somewhat odd. Rather than starting with a description of the (potentially more familiar) use case cases such as Bitcoin and Ethereum, the book instead tries to define DApps and decentralised organisations (DAOs) directly.

This leads to a section where the book gets rather lost in the detail of concerns such as managing identity in distributed applications and the attendant difficulties. This is a bit much to take in so early on, especially without all the relevant technical concepts being introduced.

From here, the concept of a digital currency (or as the book calls it, an "internal currency") is introduced. Only at this point are some examples of DApps introduced, including Bitcoin and Ethereum. The description of Bitcoin is very short and rather lacking in nuance, with several very standard positive talking points repeated without any real analysis as to whether they're actually true or not.

Next, Ethereum is introduced in a very short section. This again seems rather odd, as the building of smart contracts and related projects on the Ethereum platform is the subject of the entire rest of the book. A much fuller description of Ethereum is provided in the next chapter, but the overall effect is somewhat jarring.

The book may well have flowed considerably better if Ethereum was introduced first, with the concepts of decentralisation woven into the narrative being told and explained as necessary.

The second chapter is much better, and provides a concentrated, if rather high-level, introduction to the Ethereum platform and its core concepts. For the reader who is unfamiliar with cryptocurrencies (or with Ethereum specifically) this may be a useful overview. However, several more conceptually challenging aspects (e.g. POS and Casper) are not covered in any depth, leaving the reader with little understanding of these parts of the technology or why they are required or useful for Ethereum.

Chapter 3, "Writing Smart Contracts" addresses the Solidity programming language. This is a tricky subject to cover - as Solidity is quite different to most other programming languages that developers are likely to have used. Unfortunately, the coverage of the language is sometimes less than clear, and fails to call out exactly which aspects of the language may differ from a reader's expectations.

For example, the usage of the var keyword does not make it at all clear whether it is required and what the semantics are.

Nevertheless, there is useful material here, not least because the fast, unvarnished presentation of the language strips bare many of Solidity's shortcomings and occasionally bizarre language design decisions.

The following chapter provides a related, very high-level introduction to the web3.js Javascript interface to Ethereum. This chapter assumes previous knowledge of Javascript and Node, and moves quite quickly. The coverage here is a reasonable introduction, but also feels rather superficial in places - almost feeling like a repeat of the online docs at times.

Another aspect that seems unnecessary is the inline dumps of HTML that appear in this chapter. This seems to be present simply to allow the reader to cut and paste the code out into an IDE from the ebook, but does seem quite jarring in a modern technical book.

Chapter 5 deals with the basics of wallets, and introduces them via the teaching aid of building a wallet service. This again uses Node to produce a simple site that's capable of signing transactions offline and managing basic wallet functionality.

The last part of the book deals with more enterprise-level concerns. Even here, however, the primary language in use is Javascript, even to the point of recommending the Javascript cross-compiled form of the Solidity compiler.

The topics covered in this part include building a basic contract deployment platform, accessing external services using Oraclize (to build a betting app as an extended example) and using the truffle build platform to create and manage larger deployments of smart contracts.

The final chapter provides a whirlwind tour through the implementation of a private blockchain (referred to as a "consortium" blockchain throughout) based on Ethereum. The primary technology used is the parity node, and the book embarks on a very rapid set of steps on how to build this from scratch. Parity is written in Rust, a language that has not previously been used in the book, and the instructions are brief to say the least.

The end result is that it feels like parity has been chosen simply because it is based on Ethereum, rather than because it is a particularly good way to showcase private ("consortium") blockchains. The technology provides a reasonable place to end the book, however.

Overall, the book suffers from a number of production problems. For example, the quality of the copy-editing and indexing is noticeably below average - there are numerous examples of incorrect grammar and spelling, as well as more serious errors (e.g. the table of contents page does not correctly link to some chapters, etc).

The book also feels quite outdated already - not only are there obvious signs of age (e.g. in the version numbers of software), but the book simply does not cover many of the major developments in the Ethereum and smart contract space over the last year.

Some of the technical material is now also obsolete or no longer recommended. For example, the issues that the Ethereum network has had with providing stable testnets and allowing developers to test in a true distributed environment are not even mentioned.

In summary, this provides an entry point into smart contract and Ethereum development that some developers may fund useful. However, experienced programmers and those who already have some knowledge of Ethereum may find other works more suitable to their needs.

Use the code "ORIQE10" at checkout to get the recommended eBook for....

About the Book Author

Narayan Prusty is a Full-Stack developer. He works as a consultant for various startups around the world. He has worked on various technologies and programming languages but is very passionate about JavaScript, WordPress, Ethereum, Solr, React, Cordova, MongoDB and AWS.



Views: 92

Reply to This

Replies to This Discussion


Here’s the latest news:

It’s all Wuhan

A few early cases of a worrying respiratory disease are identified. Government leaders say the risk is low and downplay the threat of spread.

More cases appear, but bottlenecks in testing mean it’s hard to get an exact idea of how many people are actually infected. As diagnostic capacity rises, the government acknowledges the threat of the disease and puts in place never-before-contemplated restrictions on business and movement.

Hospitals begin to fill up, health-care workers get infected, and the death toll starts to rise.  

It’s hard to tell the difference between the outbreak in China and the one in the U.S., isn’t it?

Emergency Medical Technicians bring a patient into Wyckoff Hospital in Brooklyn, New York, on April 6.

Photographer: Bryan R. Smith/AFP via Getty Images

There are differences between the coronavirus epidemics in the two countries, but the similarities are depressingly similar.

In the latest unfortunate parallel, U.S. doctors who can’t get access to tests to diagnose Covid-19 patients are turning to CT scans, using the infection’s telltale damage to the lungs to confirm new cases. The same was done in China, where underequipped health workers had to use other criteria to try and track the disease. 

If you want to know how the outbreaks in the U.S. end, look to China. Only now, three months later, is Wuhan beginning to slowly open back up.

Epidemics follow patterns. Right now, the world is playing out the situation in Wuhan, over and over. The question is whether we get any better at it with every new iteration. Drew Armstrong

Reply to Discussion


survey 100 collaboration leaders of 2010s= youth's most productive generation

TECH - What is IT? and which exponential multipliers most impact human and natural futures?

AI   >. silicon chip singularity (ie when one chip > one brain in pure analytical capacity) - science fictiion no moore

who programs the ai - the race to include lost6 voices eg girls- the world of statistics re=-examined like never before (eg previously mass statistics very weak at coding meaining from numbers)

Biotech  >> Affective science (loveq and emotional intelligence remains human's unique edge over artificials for at least 10 more years!)

G5 nothing is too big to share universally>>> IOT which things will now have brains and be as mobile connectyed as you are

Cyber >> Drone - opportunities and threats of public spaces being 100% public - good and bad hacs- note context matters - context 1 smart city context 2 isolated vilalge no moore context 3 make a huge land safe at borders

3D printing aka additive engineering

Big Data Small by market tech sector Leapfrogging

Nano cf einstein - to innovate science model more micro



connections with top 10 worldrecordjobs creators - twitter @obamaiuni list hackhikers

@obamauni/damohub.com on Twitter

0 economisthealth.com · # 0 hackhikers galaxy · # 0 0 0 DC UN · # 0 nat · #0 0 UN SEWN · # SON-ma-ya TOK-YONO · # london sister city hubs · # London AI ...

Connections sir fazle abed family, ying lowrey, Taddy Blecher, Billy, Hiro, Harrison Owen Dr Ranga & Prita (Amma) Jayfus King Rev Al Marinez Lee, Fady, Ian Ryder, John Caswell, Jeff Devlin, Sherry Tross, Camilo, Luis VIguria, gordon dryden. tania zaman

Yuxuan, Emily, Filmographer of Child Arts Olympiads 


new connections

Ed Resor NY worldpossible

Daniel Lu

Dawn Li and her chiense media friend in DC

Cheng Li (c100), brookings biographer of xi jinping

in qatar wise Stavros; in dubai networkers of million dolar teacher prize

Founder of 2000 chapters of students for liberty now headhunted by john mackey of conscious capitalism

monica yunus and co-founder of www.singfiorhope.org - new yorks largest community arts program, main chinese spoinsor fosun shanghai

more to come


critical events

jack ma trains 1000 american detroit may 2017 gateway17.com ; wise co-creativity

What are the most exciting apps and mobile leapfrog partnerships you have ever seen  rsvp chris.macrae@yahoo.co.uk

Bkash built on learning curve of Mpesa last m,ile banking

Give Directly built on millennials local research of which communities already have micfrofranchise solution worthy of conditional cash transfer


 join our co-editors at http://openspacetech.blogspot.com if you wish to celebrate sustainability goals empowered by youthful community builders

download practice of peace chaps 1,2 by harrison owen found open space 

the greatest millennial exchanges pro-youth future capitals eg NY Beijing can develop win-win social world trades around

the village phone network that started with the learning curve of partners of grameen phone, MIT legatum, telenor, george sorois and women4empoiwerment

ihub African youth's centre of gravity in worldwide hackathon and ushhidi open source coders

partners in health learning exhcnage networks including world class teaching hospitals in haiti and soon rwanda and opening of world bank year 2015-2016 in Peru epicentre of Preferential Option Poor community and Franciscan faith networks

solar a billion a model that links hand in hand with mobile village phone networks for poorest

greatest missed opportunity to date 17 parallel khan academies slowly built on demand by 17 most trusted goals-exponential modeling economists and youth Experiential Learning networks

First 4 doublings of global commns tech age

China Joy

Worldwide Joy



Japan starts up far east rising



S Korea joins in eastern development



ChinaDiaspora:East's Superports -HK, Taiwan, Singapore...



Continental agrarian keynsianism

Diaspora 3rd richest;

Moon landing

intel starts up 68 moores-law doubling of chip capacity every 2 years

Satellite age lifts off

If societies around the globe are spending 4000 times more on global village connections (#2030now versus 1946) then it stands to reason that sustainable millennials will need to demand 10 times more value from community networking and mobile open source services such as health education local value chained markets/banks, energy, safety and peace


AMYgeneratoinS.jpgHack Coursera Sgoal 1  2  3 ..

Hackathons at IHUB

Hack with world bank kim




rsvp chris.macrae@yahoo.co.uk if you have good news on a food chain - examples our collaboration entrepreneurs are actively searching include rice, mung beans, coffee, (green) tea, cashews, peas ,,,, aquaponics . 


note 1984 system transformation finding: the most valuable innovations need to transform systems by taking many parties through a common conflict barrier at the same time

join above zero-sum value chain model innovators at TrillionDollarAudit.com

Brits and Eastern Europeans who could save millennials goals

dannyboyle chrispatten butler-sloss marianowak tomhunter georgesoros bernerslee michael palin gorbachev, Lech Walesa

Asians who could : sir fazle abed, jim kiim, jack ma,  W4E, Gandhi family Lucknow

Africans who could: Taddy Blecher, Noel Samara, Mandela Elders

Mid-East who could: Latif, Legatum

from chris.macrae@yahoo.co.uk please help in 2 ways -nomination of collaboration 100; testify to world's largest public broadcasters such as BBC that this survey needs their mediation now

Downloads from MIT Innovations journal

Volume 2

Volume 1

downloads library 1: MIT innovations journal special issue youth economics opportunities

© 2022   Created by chris macrae.   Powered by

Report an Issue  |  Terms of Service