38,250 views
In today's video, I'll tell you a little about the history of blockchain and how it works. Then, we'll implement a basic blockchain protocol to understand the concept. ???? Contents 00:00 Introduction 00:34 What is a blockchain 01:47 What are hashes 03:07 History of blockchain and curiosities 05:20 Distributed blockchain implementations 06:25 Proof of work 10:25 Trees and Hash Trees 11:24 Introduction to the demo 12:05 Start of the demo 13:10 Creating the initial file 17:17 Creating the blockchain implementation 20:50 Creating the genesis block 22:25 Implementing hashes 24:26 Creating helper functions 25:34 Creating a block 27:55 Implementing proof of work 35:00 Sending the block to the chain 37:02 Checking if a block is valid 42:35 Testing 44:24 Conclusion How about learning technology in a fun way? - Videos every Thursday at 11am. Subscribe and don't miss the news here on the channel! ???? Commented links: →Blockchain repository: https://github.com/khaosdoctor/typesc... ???? References: →Sherman, Alan T.; Javani, Farid; Zhang, Haibin; Golaszewski, Enis (January 2019). On the Origins and Variations of Blockchain Technologies https://arxiv.org/abs/1810.06130 → Bayer, Dave; Haber, Stuart; Stornetta, W. Scott (March 1992). Improving the Efficiency and Reliability of Digital Time-Stamping https://citeseerx.ist.psu.edu/viewdoc... → About Ralph Merkle https://en.wikipedia.org/wiki/Ralph_M... →About David Chaum https://en.wikipedia.org/wiki/David_C... → Nakamoto S. (2008). - Bitcoin: A Peer-to-Peer Electronic Cash System https://bitcoin.org/files/bitcoin-pap... → HashCash first proposed in 1997 by Adam Back http://www.hashcash.org/papers/announ... → Back A. (August 2002). Hashcash - A Denial of Service Counter-Measure http://www.hashcash.org/papers/hashca... → Dwork C., Naor M. (1993) Pricing via Processing or Combatting Junk Mail. In: Brickell EF (eds) Advances in Cryptology — CRYPTO' 92. CRYPTO 1992. Lecture Notes in Computer Science, vol 740. Springer, Berlin, Heidelberg. https://link.springer.com/chapter/10.... ???? Follow me on social media! Twitter: https://twitter.lsantos.dev LinkedIn: https://linkedin.lsantos.dev Instagram: / _staticvoid Facebook: https://facebook.lsantos.dev Github: https://github.lsantos.dev ???? Check out my blogs! → https://blog.lsantos.dev → https://medium.lsantos.dev → https://dev.to/khaosdoctor ???? Check out my book! https://tudosobrekubernetes.tech/ ????️ Playlists: My talks: http://bit.ly/lsantos-palestras DockerCon 2021: http://bit.ly/dockercon-2021 ???? Playlists to code in peace: http://bit.ly/peace-coding I've been a systems developer since 2011, a big fan of content production and open education! On this channel, you can expect videos not only about pure and simple technology, such as tutorials, but also about historical contexts, curiosities, explanations, lives and deeper content, always related to some type of tool, framework or the technology itself!