Book Image

Blockchain Development for Beginners [Video]

By : Daniel Wise, Sriharsha Bingi
Book Image

Blockchain Development for Beginners [Video]

By: Daniel Wise, Sriharsha Bingi

Overview of this book

<p>For those who are brand new to blockchain it is best to become familiarized with some basic terminology and use cases for blockchain technology. After the viewer has been instructed on basic blockchain terms and uses, we<br />will then begin coding a mock blockchain using JavaScript. This exercise will show how exactly the blockchain works and how it is quite resistant to fraud and hacking.</p> <p>The viewer will then begin learning the Solidity coding language which is essential for developing various blockchain dApps. We will go over the basic data types and functions with Solidity as we start to showcase to the viewer how exactly these functions can be used. The viewer will see their code work in action through the Remix IDE and get introduced to the MetaMask virtual wallet.</p> <p>Our first task with the Solidity coding language will be to conduct token generation. The viewer will first get insight to the Web3 library before diving into the development for our token generation. Using the Remix IDE, we will be able to see our token be produced and then view various transactions which use our tokens.</p> <p>DApps or “decentralized applications” are basically apps that are built on the blockchain and use a specific cryptocurrency. Here, we will use our newly found Solidity skills to create our first smart contract. We will then use our JavaScript coding skills to create two scripts to compile and deploy our smart contract from scratch. We also will get our first experience using the Web3 library with Ganache to write tests for our smart contract along<br />with the Mocha test suite as a part of test driven development. Finally we will compile and deploy our script live to the ethereum blockchain where we will interact with it live through the Remix IDE and using the MetaMask wallet, send transactions to various accounts.</p> <p>Now that our dApp has been deployed live on the blockchain we will now create a simple front-end which will allow for our users to see and interact with our smart contract. We will use our JavaScript, HTML and CSS skills to design a simple front-end and then test sending transactions using our MetaMask wallet.</p> <p>The code bundle to this video course is available on it's github repository:&nbsp;<a href="https://github.com/PacktPublishing/Blockchain-for-beginners/tree/master" target="_blank">https://github.com/PacktPublishing/Blockchain-for-beginners/tree/master</a></p> <h1>Style and Approach</h1> <p>You will first be introduced to fundamentals of Blockchain and its economical implementation. Once all of that is done, after lots of small steps, a full node will be implemented and connected the public Bitcoin ledger. The reader will be left with a finished and functional wallet.</p>
Table of Contents (5 chapters)
Chapter 3
Token Generation with Solidity
Content Locked
Section 3
Extending Token Security (ERC-223)
In this video, we will learn about this security feature which gives a possibility of tokens being prevented from being lost during a transaction. This is not an official Token Standard. It is not accepted. It’s just a proposal. - Compare ERC223 and ERC-20 - Learn the features of this proposal - Learn if this is trust worthy and reliable.