Learn Blockchain By Building Your Own In JavaScript

Learn Blockchain By Building Your Own In JavaScript

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 8 Hours | 5.27 GB

Code out your very own Blockchain and decentralized network in the JavaScript programming language.

In this course you will be building your very own blockchian and decentralized blockchain network by using the JavaScript programming language. By building your own blockchain, you will learn how blockchian technology works under-the-hood, how decentralized blockchain networks function, how the code behind these technologies work, and why blockchain is such a secure and valuable technology.

The blockchain that you build in this course will have all of the following features:

  • A proof of work algorithm to secure the network.
  • Hashing algorithms to secure the data within the blockchain.
  • The ability to mine (create) new blocks that contain data.
  • The ability to create transactions and store them in blocks.
  • An API/server that will be used to interact with the blockchain from the internet.
  • It will be hosted on a decentralized blockchain network.
  • A consensus algorithms to verify that the network nodes have valid data and are synchronized.
  • A broadcasting system to keep the data in the blockchain network synchronized.
  • Many other awesome features!…

When you have completed this course you will have built out your own blockchain prototype in code. You will have a thorough understanding of how blockchain technology actually works and why this technology is so secure and valuable. You will also have a deep understanding of how decentralized blockchain networks function and why decentralization is such an important feature for securing the blockchain. The whole process of storing, securing, and validating data/transactions on the blockchain will become very clear.

What Will I Learn?

  • Have your own, fully functional, blockchain prototype.
  • Learn how the code behind blockchain technology functions.
  • Learn why blockchain technology is a very secure means of storing data.
  • Learn how a decentralized blockchain network works.
Table of Contents

Introduction
1 Course Introduction
2 What You Will Learn In This Course
3 What Is A Blockchain
4 Environment Setup
5 Project Source Code
6 Project Source Code Link Article

Building A Blockchain
7 Blockchain Introduction
8 SHA256 Hashing
9 Hash Block Method
10 Testing Hash Block Method
11 What Is A Proof Of Work
12 Proof Of Work Method
13 Testing Proof Of Work Method
14 Creating A Genesis Block
15 Section 1 Wrap-Up
16 Blockchain Source Code
17 Constructor Function Explanation
18 Prototype Object Explanation
19 Blockchain Constructor Function
20 Create New Block Method
21 Testing Create New Block Method
22 Get Last Block Method
23 Create New Transaction Method
24 Testing Create New Transaction Method

Accessing The Blockchain Through An API
25 Building An API – Introduction
26 Setting Up ExpressJS
27 Building The API Foundation
28 Installing Postman & Body-Parser
29 Building The GET blockchain Endpoint
30 Building The POST transaction Endpoint
31 Building The GET mine Endpoint
32 Testing The New Endpoints

Creating A Decentralized Blockchain Network
33 Decentralized Blockchain Network – Introduction
34 Testing POST register-node Endpoint
35 Building POST register-nodes-bulk Endpoint
36 Testing POST register-nodes-bulk Endpoint
37 Testing All Network Endpoints
38 Creating Multiple Nodes
39 Testing The Nodes
40 Adding The Current Node’s Url
41 New Endpoints Outline
42 Building POST register-and-broadcast-node Endpoint – Part 1
43 Building POST register-and-broadcast-node Endpoint – Part 2
44 Building POST register-node Endpoint
45 UPDATE Installing the request library

Synchronizing The Network
46 Synchronizing The Network – Introduction
47 Testing New Endpoints
48 Transactions Introduction
49 Refactoring Create Transaction Method
50 Building POST transactionbroadcast Endpoint
51 Refactoring POST transaction Endpoint
52 Testing Transaction Endpoints
53 Updating Mining Information
54 Updating Mining Endpoint
55 Building POST receive-new-block Endpoint

Consensus
56 Consensus Introduction
57 Chain Is Valid Method
58 Testing Chain Is Valid Method
59 Building GET consensus Endpoint
60 Testing GET consensus Endpoint

Block Explorer
61 Block Explorer Introduction
62 Block Explorer File Source Code
63 Block Explorer File Explanation
64 Testing The Block Explorer!
65 Block Explorer Endpoints Outline
66 Get Block Method
67 Building GET blockblockHash Endpoint
68 Get Transaction Method
69 Building GET transactiontransactionId Endpoint
70 Get Address Data Method
71 Building GET addressaddress Endpoint
72 Adding The Block Explorer File

Conclusion
73 Course Recap
74 Next Steps
75 Congrats !!!