Substrate Bitcoin-Like Blockchain Introduction

This repository is derived from Academy-PoW, originally designed as a learning resource. While implementing a Bitcoin-like blockchain, I faced several challenges that required updates and fixes to ensure smooth execution. Additionally, I transitioned the account model from an Account-based system to a UTXO-based approach. This implementation builds upon the foundational work from Building a UTXO Chain from Scratch | Substrate Seminar. Inspired by this resource, I aimed to further enhance the project, incorporating my own insights and improvements.

Prerequisites

Before starting this interactive tutorial, you should have a basic understanding of Substrate and FRAME development. If you're new to these concepts, it's highly recommended to complete the introductory Substrate tutorials available in the official documentation. For example Substrate Interactive Tutorial - Polkadot Study.

Useful Resources

Here are some essential resources that will assist you throughout this tutorial:

By following these resources, you’ll gain a solid foundation in Substrate development, enabling you to make the most of this tutorial. 🚀

Overview of Bitcoin-like Blockchain in Substrate we will be building:

UTXO_Node

UTXO_Runtime

BlockAuthor

Issuance

Time trait

Multi_PoW_Consensus

Sha3_Algorithm

Keccak_Algorithm

Md5_Algorithm

Difficulty

Sha3_Difficulty

Keccak_Difficulty

Md5_Difficulty

Timestamp

Block_Author

UTXO

Bitcoin_Halving

FRAME_System

Tx_Pool

Difficulty API

Tx Pool API