Build a Blockchain and a Cryptocurrency from Scratch

Updated for 2025: Build a blockchain and cryptocurrency. Discover the engineering ideas behind Bitcoin and Ethereum!

  • 0.0 (0 Reviews)
  • 0 Students
  • 122 Lessons
  • David Joseph Katz

Course Overview

Announcement! There is a full-stack remastered version of this course! This course builds the backend. But if you're interested in building a frontend and deploying the project, check out the remastered version!


Search for "Build a Blockchain & Cryptocurrency | Full-Stack Edition" under my list of courses!


***

This course will get you to build a blockchain and cryptocurrency from scratch.

The blockchain is a revolutionary technology that allows for the secure, distributed, decentralized storage of information. Over the past few years, the blockchain has taken the engineering landscape by storm. Many people in the industry predict that the blockchain will disrupt the ways we interact with technology on the same way the Internet did in the early 2000s.

The blockchain is the main technology behind Bitcoin, Ethereum, and the other prominent cryptocurrencies that we read about in the news today. By leveraging the blockchain, cryptocurrencies create a system of “trustless”ness. This cuts the need for middle men like banks and traders in economic systems.

Do you want to enter this young market, and become a highly sought-after blockchain engineer? The industry is starving for people who understand, and even better, can build blockchains. The supply is low, but the demand is high. So having a blockchain project under your belt will open doors and jobs for you.

For engineers, coders, and software developers, the best way to truly understand the revolutionary technologies of blockchain and cryptocurrencies, is to build a blockchain and cryptocurrency yourself. Therefore, this course will take you through implementing a blockchain and cryptocurrency - discovering the underlying techniques and concepts.

The course is designed into sections that introduce the main concepts of the blockchain one-by-one. By the end of the course, you will have a respectable blockchain project in your repertoire.

Some of the main course highlights:

  • Build a Blockchain in the object-oriented programming style

  • Generate hashes for blocks in the chain

  • Unit Test Components of the Blockchain

  • Create an API around the Blockchain

  • Create a real-time connected peer-to-peer server

  • Implement a proof-of-work algorithm

  • Sign Transactions with cryptography and digital signature

  • Create a Transaction Pool for a real-time list of incoming data

  • Include transactions in core blocks of the chain

We’ll use NodeJS to implement this project. Don’t worry if you’re not familiar with JavaScript. This course explains the purpose behind every line and keyword. So, while JS experience will help, it’s not an absolute requirement.

Written summaries supplement each tutorial. That way, you can move along at your own pace, either watching the more thorough filmed tutorial, or reading the summary.

Ultimately, knowledge of the Blockchain will set you up for success in the future, as an engineer in a blockchain-dominated world. So what are you waiting for? Let’s get started building a blockchain!

See more

FAQ

FAQ area empty

Course curriculum

12 chương 122 bài học 13 giờ 56 phút 7 bài học thử miễn phí
Chương 1 Course Overview - What is the Blockchain And Why?
Chương 2 References | Course Repository, Software Installations, and Mega JS Overview
Chương 3 Build the Blockchain - Blocks
  • Set Up the Blockchain Application 2:12
  • Create the Block 10:00
  • Genesis Block 4:24
  • Mine Blocks 4:21
  • SHA256 Hash Function 6:30
  • Test the Block 10:24
Chương 4 Build the Blockchain - the Chain
  • Build the Blockchain Class 4:45
  • Test the Blockchain 5:24
  • Multiple Chain Validation 3:13
  • Chain Validation 6:16
  • Test Chain Validation 5:18
  • Replace the Chain 3:54
  • Test Chain Replacement 4:26
Chương 5 Develop the Blockchain Application
  • Organize the Project 2:37
  • Blockchain API - Get Blocks 8:54
  • Mine Blocks Post Request 5:53
Chương 6 Create the Blockchain Network
  • Peer to Peer Server 2:48
  • Create the WebSocket Server 8:04
  • Connect to Blockchain Peers 7:07
  • Handle Messages from Peers 7:13
  • Synchronize the Blockchain across Peers 8:02
Chương 7 Proof of Work
  • Proof of Work and the 51% Attack 5:49
  • Proof of Work and the Nonce 6:32
  • Test the Nonce Functionality 6:40
  • Dynamic Block Difficulty 9:29
  • Test Difficulty Adjustment 8:24
Chương 8 Wallets and Transactions on the Blockchain
  • Notes on the Upcoming Cryptocurrency Implementation
  • Wallets, Keys, and Transactions 5:56
  • Create Wallet 4:24
  • Chain Util and Key Generation 7:36
  • Create a Transaction 8:13
  • Test the Transaction 9:33
  • Sign a Transaction 7:13
  • Test the Transaction Input 1:52
  • Verify Transactions 4:46
  • Test Transaction Verification 3:18
  • Transaction Updates 6:31
  • Test Transaction Updates 6:05
Chương 9 Collect Transactions in a Pool
  • Transaction Pool 1:41
  • Transaction Pool - Add Transaction 4:41
  • Test the Transaction Pool 8:45
  • Create Transactions with the Wallet 7:08
  • Test Wallet Transactions 10:51
  • Get Transactions 5:16
  • Post Transactions 5:40
  • Add the Transaction Pool to the Peer to peer Server 7:45
  • Handle Transaction Messages in the Peer to peer Server 8:38
  • Public Key Endpoint 2:07
Chương 10 Mine Transactions in a Block
  • Miners of Transactions 1:27
  • Create the Miner Class 5:38
  • Grab Valid Transactions 6:13
  • Test Valid Transactions 8:13
  • Reward Transactions 8:28
  • Test Reward Transactions 4:01
  • Reward Valid, and Clear Transactions 4:59
  • Broadcast Clear Transactions 3:17
  • Mine Transactions Endpoint 8:46
  • The Nuance of Wallet Balance 3:00
  • Calculate the Wallet Balance 10:40
  • Calculate the Balance during each Transaction 5:08
  • Test Balance Calculation 12:31
  • The Cryptocurrency in Action 4:38
Chương 11 [Optional reference content] In-Depth JavaScript Content
  • The Console, Operators, and Variables 4:34
  • Booleans and Conditionals 11:55
  • Syntax - Semicolons and Comments 5:40
  • Undefined and Primitives 3:21
  • Arrays 6:53
  • Objects 7:16
  • Loops and Iteration 9:02
  • Functions - Declarations vs. Expressions 10:04
  • Arrow Functions 6:46
  • Methods and the `this` Keyword 6:08
  • More on `this` and Function Expressions vs. Arrow functions 5:40
  • Interview Question | The `this` Keyword 13:43
  • Callbacks 8:35
  • Interview Question | Callbacks 7:46
  • A Dynamic Language and Types 5:42
  • Almost Everything is an Object 4:18
  • Equality and Type Coercion 8:29
  • Truthy and Falsy 9:49
  • Null vs. Undefined 4:38
  • Explicit Type Conversion 3:58
  • Interview Question | JavaScript Types 16:53
  • Let, Const, and Mutability 5:56
  • Let, Const, Var, and Scope 10:09
  • Var and Function Hoisting 7:31
  • Interview Question | Scope and Hoisting 7:17
  • Template Literals and Ternary Operators 8:47
  • The Property Shorthand and Destructuring Assignment 10:10
  • Spread Syntax 5:22
  • Object.is, References, and Shallow Clone 12:13
  • JSON.parse, JSON.stringify, and an Attempt at Deep Cloning 11:24
  • Custom and Lodash CloneDeep 17:18
  • Interview Question | Cloning an Object 12:10
  • Closures 9:10
  • Function Factories 5:35
  • Higher Order Functions 6:25
  • Interview Question | Closures, Higher-Order Functions, and Callbacks 12:47
  • Object-Oriented Programming 4:27
  • Constructor functions 10:08
  • Classes 6:03
  • Prototypes and the Prototype-Based Inheritance 10:27
  • Object Prototype, .__proto__, and the prototype chain 7:26
  • Interview Question | Prototype-Based Inheritance 13:29
  • Asynchronous Code with SetTimeout 6:29
  • Fetch and Promise 7:20
  • Promise from Scratch 5:35
  • JavaScript Engine and Runtime 14:56
  • Await and Async 5:34
  • Interview Question | Asynchronous JavaScript 4:54
Chương 12 Congratulations and Bonus Content
  • Full-Stack version of this course! | Also, Congratulations and Bonus Content
  • Ideas on Extending the Project

Requirment

  • Familiarity with using a code editor and the command line.

  • Some JavaScript experience will help, but every line is explained. This is not a course on advanced JS, but uses JS to build the concepts. By focusing on the concepts, the JS will become clear.

  • Some programming experience will definitely help. If you've never coded before, then this course will probably move too quickly.

Outcomes

  • Discuss the implementation of Blockchain and cryptocurrencies.

  • Understand main blockchain concepts like Proof-of-Work, mining, peer-to-peer connections, etc.

  • Build their own blockchain and cryptocurrency.

  • Create a NodeJS application with real-time websocket connections.

  • Build an API with NodeJS and Express.

Instructor

...
David Joseph Katz

0.0

  • ... 0 Student
  • ... 6 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com