Learn Blockchain By Building Your Own In JavaScript
4.5 (936 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
14,034 students enrolled

Learn Blockchain By Building Your Own In JavaScript

Code out your very own Blockchain and decentralized network in the JavaScript programming language.
4.5 (936 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
14,034 students enrolled
Created by Eric Traub
Last updated 7/2018
English
English [Auto]
Current price: $121.99 Original price: $174.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 8 hours on-demand video
  • 5 articles
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll 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.
Course content
Expand all 75 lectures 07:54:43
+ Building A Blockchain
18 lectures 01:39:57
Constructor Function Explanation
07:57
Prototype Object Explanation
06:07
Testing Create New Block Method
05:59
Get Last Block Method
01:03
Create New Transaction Method
06:38
Testing Create New Transaction Method
12:20
SHA256 Hashing
05:41
Hash Block Method
05:42
Testing Hash Block Method
05:00
What Is A Proof Of Work?
09:23
Proof Of Work Method
05:50
Testing Proof Of Work Method
08:45
Creating A Genesis Block
03:31
Section 1 Wrap-Up
00:43
Blockchain Source Code
00:18
+ Accessing The Blockchain Through An API
8 lectures 01:00:55
Building An API - Introduction
01:50
Setting Up ExpressJS
03:39
Building The API Foundation
03:18
Installing Postman & Body-Parser
12:53
Building The "GET /blockchain" Endpoint
04:00
Building The "POST /transaction" Endpoint
07:53
Building The "GET /mine" Endpoint
14:33
Testing The New Endpoints
12:49
+ Creating A Decentralized Blockchain Network
13 lectures 01:26:50
Decentralized Blockchain Network - Introduction
02:33
Creating Multiple Nodes
11:43
Testing The Nodes
03:58
Adding The Current Node's Url
03:09
New Endpoints Outline
08:30
Building "POST /register-and-broadcast-node" Endpoint - Part 1
11:10
Building "POST /register-and-broadcast-node" Endpoint - Part 2
07:00
Building "POST /register-node" Endpoint
06:39
UPDATE: Installing the "request" library
00:24
Testing "POST /register-node" Endpoint
05:47
Building "POST /register-nodes-bulk" Endpoint
08:46
Testing "POST /register-nodes-bulk" Endpoint
04:25
Testing All Network Endpoints
12:46
+ Synchronizing The Network
10 lectures 01:15:18
Synchronizing The Network - Introduction
03:10
Transactions Introduction
03:07
Refactoring Create Transaction Method
05:18
Building "POST /transaction/broadcast" Endpoint
09:05
Refactoring "POST /transaction" Endpoint
05:18
Testing Transaction Endpoints
08:03
Updating Mining Information
03:30
Updating Mining Endpoint
10:54
Building "POST /receive-new-block" Endpoint
09:04
Testing New Endpoints
17:49
+ Consensus
5 lectures 59:49
Consensus Introduction
04:26
Chain Is Valid Method
16:10
Testing Chain Is Valid Method
10:42
Building "GET /consensus" Endpoint
20:23
Testing "GET /consensus" Endpoint
08:08
+ Block Explorer
12 lectures 01:08:57
Block Explorer Introduction
02:27
Block Explorer Endpoints Outline
03:42
Get Block Method
04:39
Building "GET /block/:blockHash" Endpoint
06:38
Get Transaction Method
06:09
Building "GET /transaction/:transactionId" Endpoint
06:59
Get Address Data Method
07:51
Building "GET /address/:address" Endpoint
09:32
Adding The Block Explorer File
05:52
Block Explorer File Source Code
00:01
Block Explorer File Explanation
04:35
Testing The Block Explorer!
10:32
+ Conclusion
3 lectures 05:59
Course Recap
05:14
Next Steps
00:41
Congrats !!!
00:04
Requirements
  • Basic knowledge of JavaScript.
  • NodeJS installed.
  • The entire course is done on a Mac - if you have a Windows PC, you will be responsible for adapting the information to that operating system.
Description

In this course you will be building your very own blockchain and decentralized blockchain network by using the JavaScript programming language.  By building your own blockchain, you will learn how blockchain 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.

Who this course is for:
  • Anyone who wants to build their own Blockchain Prototype in code.
  • Anyone who wants to learn how Blockchain Technology works under-the-hood.
  • Anyone who wants to understand how the "decentralization" of blockchain actually works.
  • Anyone who wants to gain a better understanding of why Blockchain Technology is valuable.
  • Anyone who wants to learn how the code behind Blockchain Technology works.