Blockchain Programming with Python: Free Bonus Lessons

0
2


#blockchain #programming #python
Blockchain Programming with Python: Free Bonus Lessons
πŸ˜€ video stamps πŸ‘‡πŸΎπŸ‘‡πŸΎ Use to Jump ahead the video πŸ˜€

Buy me a Beer
https://www.buymeacoffee.com/feyitaje

—————————————————————————————————————
Video Timestamps:
——— LESSON 1 ————— LESSON 1 ———— LESSON 1 ———–
00:00:00 VPS Machine Set-up, Install Python, Atom Code Editor and Git
In this lecture i take you through all the set-up requirements for our python development environment. We are going to develop this blockchain from a Virtual Private Server (VPS) or Digital Ocean Droplet.

00:12:59 Setting up the file structure and git repo
In this lecture we will be creating our folder structure in the VPS that we will be working from. We will also create a remote git repo in our VPS which will be connected to our private machine.

00:34:27 Setting up Python ENV and testing
In this lecture we complete the set-up process by installing the Python virtual environment. We install python and all the development tools required for the system to work. We also install the python virtual environment – VENV.

——— LESSON 2 ————— LESSON 2 ———— LESSON 2 ———–
01:09:38 Create functions within the Account class of the blockchain
Create functions within the Account class of the blockchain. All the EC – Eliptic Curve functions will sit in this class mostly. We start with creating a private and public key, displaying them so you see what they look like. We then create a transaction dictionary object which includes the transaction data, transaction id and timestamp. This object is then encoded and signed to get a signature that will go with the transaction. We create our first transaction.

01:29:48 Complete our transaction signing and create function for mining a block
We complete our transaction signing process from last lecture. Then we move on to write code for mining a block. This is the proof-of-work function, we explain how mining difficult is introduced in proof-of-work algorithm to delay how long nodes take to mine a block. We expand our Blockchain class by adding the init function that creates the genesis block as well

02:03:37 Expand on our account class and blockchain class, re-write them to include everything that we need
In this lecture we expand on our account class and blockchain class, re-write them to include everything that we need. We then create a new file called app – where we import these classes in to one file – so we can call the account class to get signing keys, and the blockchain class to create transactions and blocks from the same file. We test out our functions from one common file, adding a couple of transactions to our transaction pool and mining a block. We display results to visualise our blockchain on the terminal – so you can see what the data looks like that is currently saved.

02:19:00 Create the flask application that will be the client facing app to interact with the blockchain
In this lecture we go through the process of creating our flask application. We are going to need a client facing web-app to allow for communication with the blockchain end-points within the same node. So far we have be hard-coding our transactions, but in reality – someone may enter it in a web app. We go through best-practice folder structure for Flask and create a basic skeleton app and run it on our VPS.

02:41:59 Recap of the lecture and what we have done so far

————————————————————————————————————

Social Media Links
Follow our Google News Publication:
https://news.google.com/publications/CAAqBwgKMNGEngsw8o62Aw/sections/CAQqEAgAKgcICjDRhJ4LMPKOtgMw6oLqBg?oc=3&ceid=ZA:en

Medium Publication: https://skolo-online.medium.com/

Follow us on Facebook: https://www.facebook.com/Skolo-Online-Learning-101030254983171

Email me: [email protected]

Follow us on Twitter: https://twitter.com/skolo_online

Follow us on Instagram: https://www.instagram.com/skolo_online/

Learn more on Skolo Online
https://skolo.online

———————————————————————————————————

Get Professionals to Build your Web Application

https://tati.digital




LEAVE A REPLY

Please enter your comment!
Please enter your name here

seventy six + = eighty five