Blockchain from Scratch in Python Tutorial

preview_player
Показать описание
An introduction to blockchain technologies with python.

Now that we have developed a basic peer-to-peer network in C, I want to begin implementing some elements from blockchain into the network. To ensure that everyone is on the same page, I am going to build a simple blockchain from scratch in Python so that we can understand how it works at a more fundamental level.

Source Code:

Discord Server:

SHA-256 video by learnmeabitcoin:

00:00:00 - 00:01:22 Introduction
00:01:22 - 00:03:36 Virtual Environment
00:03:36 - 00:38:49 Blocks and Hashes
00:38:49 - 01:13:09 Chaining Blocks Together
01:13:09 - 01:17:40 Demo
01:17:40 - 02:01:30 Uses and Improvements
Рекомендации по теме
Комментарии
Автор

more man, everybody on the earth should see this and go through it, its the best way to understand crypto, thumbs up Eric!

UnpluggedPerformance
Автор

brilliant video! as someone who is still just getting into coding and blockchain, I really appreciate the patience and the effort you took to explain what you are doing. thank you!

AQStick
Автор

Hey Eric, nice to meet you! I just found your channel, love what you're doing!

I like how clear and detailed your explanations are as well as the depth of knowledge you have surrounding the topic! Since I run a tech education channel as well, I love to see fellow Content Creators sharing, educating, and inspiring a large global audience. I wish you the best of luck on your YouTube Journey, can't wait to see you succeed! Your content really stands out and you've put so much thought into your videos, I applaud you on that!

Cheers, take care, and keep up the great work ;)

empowercode
Автор

This man need 1 million views for the lesson!

dashawnlyons
Автор

Great video done at a really nice and accessible level of detail. Was really cool to see it implemented in Python and explained in such a clear and concise way. This is my first time seeing blockchain demonstrated as code, and not just conceptual illustrations and white papers :) Thanks for the effort you put into this.

One idea might be to use an IDE/plugin that underlines variables and functions that aren't declared and/or don't exist in scope. Just helps identify little syntax things (e.g. NameError, AttributeError) right away vs. at runtime. For me I like VS Code, but there are plenty of alternatives..

Cheers! (oh also - I came here from Python Weekly)

iamdavehawkins
Автор

How can we implement networking part or making blockchain decentralized in python?

priyankajhamb
Автор

--- If you are coming from mailing list like !! ---
Nice tutorial I like it thank you.
We wait for your new content.

abduallh
Автор

Can you build blockchain in C++ please

yakubcemil
Автор

Eric, I'm in NC too. I need to know how to get into "terminal" mode. What is that, a virtual machine? What software do you run to get there? I need help to begin before the beginning.

pastorhays
Автор

Hi Eric, thanks for your work, I hope you or anyone can help me get started. The issue is I am using Anaconda Spyder3. At 36 minutes in the video I run it and get no hash output. I was getting "Reload Module" in the little console side bar -if that actually is an error. I put both main.py and block.py into the same folder. Then I tried printing a simple hello world -nothing, no hello, no world. So I figured it might not be connected to the interpreter. But God help me I don't know where or what to look for that in Python. My point: I'd like to know exactly what you are using and how you set it up. I looked at your beginner Python videos but you don't say how to set up, or at least I didn't see it. I'd rather follow the video exactly I understand the code perfectly, I just don't understand how to use Python interface(s). I also have IDLE 3.8 but neither of these has the same interface as yours and no 'sketchbook'. And IDLE only has a terminal window.

nomadsoulkarma
Автор

Hi man, thanx for your excellent effort. Are you engineer ?

mohamedaoula
Автор

Something's wrong with your mic. Every time you talk, there's this weird low frequency reverb or something. It made it very tiresome to listen to the video, even tho the content was great.

Also, you can use the pickle module in python to write objects to disk.

jimbrannlund
Автор

so frustrating watching you type 'h.' so many times, when you're clearly not using single letter variables, wth?

kevincortez
welcome to shbcf.ru