Video description
Develop your own blockchain and decentralized network using the JavaScript programming language
About This Video
- Build your own fully functional blockchain prototype
- Learn how the code behind blockchain technology works
- Discover why blockchain technology is a secure option for storing data
- Understand how a decentralized blockchain network functions
In Detail
In this course, you will learn how to build your own blockchain and decentralized blockchain network by using the JavaScript programming language. By developing your own blockchain, you will discover the working of blockchain technology and how decentralized blockchain networks function. In addition to this, you'll get to grips with how the code behind these technologies works, along with exploring why blockchain is a secure and valuable technology.
As you progress, this course will help you understand why decentralization is an important feature for securing the blockchain. To build on your knowledge, you'll get up to speed with the whole process of storing, securing, and validating data/transactions on the blockchain. The course covers ES6 code to ensure that you grasp the fundamental concepts effectively.
By the end of this course, you will have built your own blockchain prototype in code.
Publisher resources
Table of contents
-
Chapter 1 : Introduction
- Course Introduction 00:02:58
- What You Will Learn in This Course 00:03:04
- What is a Blockchain? 00:05:27
- Environment Setup 00:04:03
-
Chapter 2 : Building A Blockchain
- Blockchain Introduction 00:01:44
- Constructor Function Explanation 00:07:57
- Prototype Object Explanation 00:06:08
- Blockchain Constructor Function 00:03:42
- Create New Block Method 00:09:35
- Testing Create New Block Method 00:06:00
- Get Last Block Method 00:01:03
- Create New Transaction Method 00:06:38
- Testing Create New Transaction Method 00:12:21
- SHA256 Hashing 00:05:42
- Hash Block Method 00:05:42
- Testing Hash Block Method 00:05:00
- What Is A Proof Of Work? 00:09:24
- Proof Of Work Method 00:05:51
- Testing Proof Of Work Method 00:08:46
- Creating A Genesis Block 00:03:32
- Section 1 Wrap-Up 00:00:43
-
Chapter 3 : Accessing the Blockchain Through An API
- Building An API - Introduction 00:01:50
- Setting Up ExpressJS 00:03:39
- Building the API Foundation 00:03:18
- Installing Postman & Body-Parser 00:12:54
- Building The "GET /blockchain" Endpoint 00:04:01
- Building The "POST /transaction" Endpoint 00:07:54
- Building The "GET /mine" Endpoint 00:14:34
- Testing the New Endpoints 00:12:50
-
Chapter 4 : Creating A Decentralized Blockchain Network
- Decentralized Blockchain Network - Introduction 00:02:34
- Creating Multiple Nodes 00:11:43
- Testing the Nodes 00:03:58
- Adding The Current Node's Url 00:03:10
- New Endpoints Outline 00:08:30
- Building "POST /register-and-broadcast-node" Endpoint - Part 1 00:11:10
- Building "POST /register-and-broadcast-node" Endpoint - Part 2 00:07:01
- Building "POST /register-node" Endpoint 00:06:39
- Testing "POST /register-node" Endpoint 00:05:47
- Building "POST /register-nodes-bulk" Endpoint 00:08:47
- Testing "POST /register-nodes-bulk" Endpoint 00:04:25
- Testing All Network Endpoints 00:12:47
-
Chapter 5 : Synchronizing the Network
- Synchronizing the Network - Introduction 00:03:11
- Transactions Introduction 00:03:07
- Refactoring Create Transaction Method 00:05:18
- Building "POST /transaction/broadcast" Endpoint 00:09:06
- Refactoring "POST /transaction" Endpoint 00:05:19
- Testing Transaction Endpoints 00:08:04
- Updating Mining Information 00:03:31
- Updating Mining Endpoint 00:10:55
- Building "POST /receive-new-block" Endpoint 00:09:04
- Testing New Endpoints 00:17:50
-
Chapter 6 : Consensus
- Consensus Introduction 00:04:26
- Chain Is Valid Method 00:16:10
- Testing Chain Is Valid Method 00:10:43
- Building "GET /consensus" Endpoint 00:20:23
- Testing "GET /consensus" Endpoint 00:08:09
-
Chapter 7 : Block Explorer
- Block Explorer Introduction 00:02:28
- Block Explorer Endpoints Outline 00:03:43
- Get Block Method 00:04:39
- Building "GET /block/: blockHash" Endpoint 00:06:38
- Get Transaction Method 00:06:10
- Building "GET /transaction/: transactionId" Endpoint 00:07:00
- Get Address Data Method 00:07:51
- Building "GET /address/: address" Endpoint 00:09:32
- Adding the Block Explorer File 00:05:33
- Block Explorer File Explanation 00:04:36
- Testing the Block Explorer! 00:10:20
-
Chapter 8 : Conclusion
- Course Recap 00:04:51
Product information
- Title: Learn Blockchain by Building Your Own in JavaScript
- Author(s):
- Release date: February 2020
- Publisher(s): Packt Publishing
- ISBN: 9781800209664
You might also like
video
Docker, Dockerfile, and Docker-Compose (2020 Ready!)
Get to grips with Docker, containers versus images, and more by learning through a hands-on approach …
video
Web Development in Python with Django: Building Backend Web Applications and APIs with Django
9+ Hours of Video Instruction Leverage Python and the Django web framework to develop applications quickly …
video
Python 3: Project-based Python, Algorithms, Data Structures
Learn to program with Python 3, visualize algorithms and data structures, and implement them in Python …
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …