Building a UTXO chain from scratch | Substrate Seminar VIDEO
Nicole Zhu and Joshy Orndorff discuss the architecture of a Bitcoin-like node built with Substrate. The node like Bitcoin in the following ways.
* UTXO-style tokens
* Proof of Work consensus
* Dynamic difficulty adjustment algorithm
* Issuance with "Halvenings"
1:02 UTXO Design
13:36 Solving the front-running problem
18:27 Demo of the UTXO pallet
29:27 Code walkthrough of UTXO pallet
32:50 TransactionValidity API (is awesome!)
40:48 Issuing Rewards in `on_finalize`
47:30 Obtaining the block author through an inherent
55:24 Where are inherents validated? Can they be forged?
1:01:06 Issuance and halvenings
1:07:09 Difficulty Adjustment Algorithm (DAA) code walkthrough
1:14:53 DAA demonstration
UTXO Repository: https://github.com/substrate-developer-hub/utxo-workshop
Tidbits from the chat:
Unsigned transaction by default DO consume weight but do NOT consume any fee (not sure which one is gas).
Please go through the workshop! Also feel free to use these materials and run your own workshop.
It’s meant to be asynchronous, and anyone can do a popup workshop using this repo.
⎼⎼⎼⎼⎼⎼⎼
→ For more videos on blockchain development and building Web 3.0,
subscribe to the channel: https://www.youtube.com/channel/UCSs5vZi0U7qHLkUjF3QnaWg?sub_confirmation=1
→ Website: https://www.parity.io/
→ Check our code on GitHub: https://github.com/paritytech/
#rustlang #substrate #blockchaindevelopment #utxo
Other Videos By Parity Tech 2020-05-25 Sub0 Online: Runtime Upgrade - Ricardo Rius, Parity Technologies 2020-05-25 Sub0 Online: Rust: Lifetimes, Traits, and Generics - Maciej Hirsz, Parity Technologies 2020-05-25 Sub0 Online: Offchain Workers - Tomasz Drwięga, Igor Matuszewski, Bernhard Schuster, Rakan Al-Hneiti 2020-05-25 Sub0 Online: Substrate Ideas Lab - Fabi Gompf, Frederik Harryson, Shawn Tabrizi 2020-05-22 Offline Phragmen and Hybrid Consensus | Substrate Seminar | Archives 2020-05-12 Build a blog UI with VueJS | Substrate Seminar 2020-05-12 Transaction lifecycle | Substrate Seminar 2020-05-06 Substrate Execute Block Code Walkthrough with Joe Petrowski and Shawn Tabrizi 2020-05-06 Substrate Transaction Queue Code Walkthrough with Joe Petrowski and Tomasz Drwięga 2020-04-23 The Present and Future of Building Blockchains with Substrate 2020-04-22 Building a UTXO chain from scratch | Substrate Seminar 2020-04-22 Customize your Substrate chain CLI using StructOpt | Substrate Seminar 2020-04-16 Substrate Social Recovery Pallet Code Walkthrough with Joe Petrowski and Shawn Tabrizi 2020-04-07 Implement an uncollateralized stablecoin and storage adapters | Substrate Seminar 2020-04-07 Manual seal and instant seal | Substrate Seminar 2020-03-27 The EVM Pallet and Purestake's Moonbeam | Substrate Seminar | Archives 2020-03-25 Intro to Substrate Off-Chain Workers with Joe Petrowski and Tomasz Drwięga 2020-03-20 [TUTORIAL] Build a proof of existence blockchain in 30 minutes 2020-03-11 PolkaHub and Totem Live | Substrate Seminar | Archives 2020-03-11 Polkadot validator node setup with Joe Petrowski and Will Pankiewicz 2020-03-09 VuePolkadot, CLE Coin, Staking Demo | Substrate Seminar | Archives
Tags: Substrate
Blockchain
Bitcoin
Proof of Work
UTXO
Halvening
Halving
Mining
Rust