Coding A Blockchain in Python

Поделиться
HTML-код
  • Опубликовано: 13 мар 2021
  • Today we build a simple blockchain, which represents a fictional cryptocurrency in Python.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    💻 The Algorithm Bible Book: www.neuralnine.com/books/
    🐍 The Python Bible Book: www.neuralnine.com/books/
    👕 Programming Merch: www.neuralnine.com/shop
    💻 Exclusive Content 💻
    👥 Patreon: / neuralnine
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine.com/
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/NeuralNine
    🎵 Outro Music From: www.bensound.com/
  • НаукаНаука

Комментарии • 153

  • @lornemalvoo
    @lornemalvoo 3 года назад +150

    Please make a series about blockchain. We should be dig deeper. Thanks for this very useful content.

  • @anubhavsharma3068
    @anubhavsharma3068 2 года назад +3

    The best Blockchain Explanation on whole internet. Got it all at first shot.... Thanks brother!

  • @Thesebji
    @Thesebji 3 года назад +5

    This video actually explains the blockchain concept really well.

  • @vijayakabajo
    @vijayakabajo 3 года назад +12

    The intro is so dope

  • @bmurray28557
    @bmurray28557 2 года назад +2

    I really hope you make a series about this. Great video!!

  • @mayur_146
    @mayur_146 2 года назад +2

    Thanks for your efforts pal. Today, I've created my 1st blockchain with the help of your video. Keep up the good work👍

  • @mateorequena
    @mateorequena 3 года назад +20

    Perfect. It's time for me to create the Neuralcoin.
    Great tutorial dude! Keep it up!

  • @Seriosso
    @Seriosso 3 года назад +5

    Pressed the Like button before pressing the Play button! Amazing videos and explanations. Keep up the great work.

    • @matthewe3813
      @matthewe3813 2 года назад +1

      uh, you should actually watch a video before making an assessment of how good a video is. that is like rating a restaurant 5 stars before even going there

  • @farooqhussain638
    @farooqhussain638 2 года назад

    Superb. thanks for the clarity!

  • @python360
    @python360 2 года назад +1

    Excellent tutorial man. Subscribed.

  • @morgengabe1
    @morgengabe1 3 года назад +11

    This is actually a solid video.
    If I'd made it I would've used a __call__ to make new blocks, but that's overly complicated for a proof/explanation.
    You do a great job of distilling concepts to their essence!

    • @molton_studios
      @molton_studios 2 года назад +1

      Can you please go in depth with this?

    • @molton_studios
      @molton_studios 2 года назад +1

      Like show what you would have put in the code

  • @yuvi_white_hat1942
    @yuvi_white_hat1942 3 года назад +8

    My friends Project about blockchain... This video will help him..🔥🔥🔥 Perfect timing to uploaded dude..💯

  • @matthiaswiedemann3819
    @matthiaswiedemann3819 2 года назад

    this video is so cool - everything from scratch!

  • @alex_mahone
    @alex_mahone 3 года назад

    Thank you! Always learn something new from your videos!

  • @balaganesh3440
    @balaganesh3440 2 года назад

    That was awesome dude!

  • @aleksandarpetrovic2632
    @aleksandarpetrovic2632 2 года назад +1

    Tnx man, this is the best explanation of blockchain I was found on the internet

  • @astoshanstuerm6709
    @astoshanstuerm6709 2 года назад

    Good video. Had a nice fast overview. That I could understand. Though I would like a series that would allow a more complete program.

  • @mohitsharma5557
    @mohitsharma5557 2 года назад

    Please make more videos. I really like the way you explained blockchain in just few minutes. AWSOME..👍👍👍

  • @briankelly2670
    @briankelly2670 2 года назад +1

    Very useful and very well explained, thank you for you great video

  • @hhtjim
    @hhtjim 3 года назад

    Thanks 👍
    让我我了解了一些基本的知识

  • @thuitawamaina7498
    @thuitawamaina7498 Год назад

    Well explained...Thank you

  • @laude94wuo
    @laude94wuo 2 года назад

    very useful and easy to learn video. thx for your great work!!

  • @OrlandoGauthier
    @OrlandoGauthier 3 года назад

    Great great video dude!!

  • @FillerWorld
    @FillerWorld 2 года назад

    Really helpful video, thanks!

  • @kieronstechstreaming
    @kieronstechstreaming Год назад

    Thanks - this was really easy to understand

  • @waqasmalik5075
    @waqasmalik5075 2 года назад

    Great...very helpful to understand block chain

  • @rtr195807
    @rtr195807 3 года назад

    You are a perfect teacher. Thanks.

  • @grayfaux_
    @grayfaux_ Год назад

    Great video as always

  • @semihaksoy8182
    @semihaksoy8182 3 года назад +4

    That was literally what I was looking for. Thanks for this video

  • @dingdingdongbong921
    @dingdingdongbong921 3 года назад +9

    Omg exactly what I was thinking like a minute ago!!!

  • @achiyederi3622
    @achiyederi3622 3 года назад +1

    When you upload a video I just know that I should give a like cause it's gonna be great!.

  • @D.E.Nicolas.Goncalves
    @D.E.Nicolas.Goncalves Год назад

    great and clear! thanks!

  • @rakeshpk4991
    @rakeshpk4991 2 года назад +1

    Great introduction.

  • @monisprabu1174
    @monisprabu1174 3 года назад +15

    1st view btw was waiting for a Blockchain video and u uploaded it like after 10 seconds

  • @randomrobloxian1378
    @randomrobloxian1378 3 года назад +2

    can you make a video on how to make overlay with python like the fps overlay with geforce experience so that if you have a toggle thing you know if its on/off

  • @parenchyma
    @parenchyma 2 года назад

    Great Video!!

  • @leo19375
    @leo19375 5 месяцев назад

    Take a look at Cartesi project!

  • @sourabhguptaurl
    @sourabhguptaurl 2 года назад +2

    Very well explained! Thank you. You made it seem so easy :)

  • @s.aravindh6227
    @s.aravindh6227 3 года назад +3

    Nice video 👍👍

  • @detroiter4eva
    @detroiter4eva 2 года назад

    I like your intro music.

  • @SparePlayss
    @SparePlayss 3 года назад +18

    most comments - 15 minutes ago
    most replies - 34 minutes ago
    me - confused
    video - great
    hotel - trivago

  • @shaikhmohdjunaid3013
    @shaikhmohdjunaid3013 3 года назад +3

    Thanks 👍

  • @MahtabMotahari
    @MahtabMotahari 3 года назад

    Thank you so so much!

  • @murilorodrigues2410
    @murilorodrigues2410 2 года назад

    Great video

  • @pradeepsatyam
    @pradeepsatyam Год назад

    amazing video...thank you

  • @abo1428
    @abo1428 3 года назад +14

    Would you make a second (and third?) video about distributing blocks to other clients and aproving them?

  • @aronwiza8412
    @aronwiza8412 Год назад

    Blockchain coding is harder than it looks. And the main question is, does it make sense when there are many different blockchains that are amazing in their functionality? For example, the Utopia ecosystem blockchain

  • @derelictmanchester8745
    @derelictmanchester8745 2 года назад

    Really good tutorial...

  • @ajinzrathod
    @ajinzrathod 3 года назад +2

    How are you running bash inside a Vim?🥺🥺
    Which plugins have u used for this task?
    👀

  • @kingarthur1217
    @kingarthur1217 2 года назад +1

    What program did you use??

  • @edchelstephens
    @edchelstephens 2 года назад

    Thanks a lot!

  • @yonatanbeyn8557
    @yonatanbeyn8557 3 года назад +1

    You great!!

  • @abhaykalasapur2447
    @abhaykalasapur2447 2 года назад

    litany amazing video came to now exactly what happens.

  • @martink.4559
    @martink.4559 2 года назад

    How to send back that 'prove' of calculated hash to official parties?

  • @myhandle__
    @myhandle__ 2 года назад

    Well w
    Explanation

  • @alperensayar9679
    @alperensayar9679 3 года назад +1

    Can you record video for Hidden Markov Chain with Stock Price Prediction

  • @mutwakilsuliman3867
    @mutwakilsuliman3867 2 года назад

    simple and great

  • @brando2818
    @brando2818 3 года назад

    Top Shelf.

  • @ChosenOneVR
    @ChosenOneVR Год назад

    Is this on Flask or Django?

  • @DMITRII-ov3dq
    @DMITRII-ov3dq 2 года назад

    Отличное видео )

  • @imranrajjad7028
    @imranrajjad7028 3 года назад

    one thing I am unable to understand, is how to add a new transaction to an existing block?

  • @Mastericee
    @Mastericee Год назад

    Thank you brotha I like python interface it’s a little better than Git

  • @eliabekun
    @eliabekun 2 года назад +2

    Fantastic! Can you implement a complete blockchain with the validation transaction?

  • @sixaj
    @sixaj 2 года назад +1

    So how do i publish my blockchain?

  • @Hafsazkitchenz
    @Hafsazkitchenz 2 года назад +1

    Is this video good to make a proper Blockchain based Crypto currency …. Like BNB or Ethereum their own blockchain ecosystem

  • @Denis-7
    @Denis-7 Год назад

    Very educational video, can you further teach blockchain ?

  • @syedmokarromhossain4867
    @syedmokarromhossain4867 Год назад

    How to get info by reverse?

  • @starlords.7788
    @starlords.7788 2 года назад

    How to i make this into an acc coin that can be bought

  • @geetvenkat3498
    @geetvenkat3498 2 года назад

    it returened indentation error on the line def __init __(self,previous_block_hash,transaction_list): if someone could fix it

  • @toxoreed4313
    @toxoreed4313 Год назад

    loveeee

  • @ajinzrathod
    @ajinzrathod 3 года назад +1

    Can u provide your vimrc file. It looks cool

  • @agrospayce2443
    @agrospayce2443 3 года назад

    This won’t run in pycharm, any suggestions?

  • @codewithavi8459
    @codewithavi8459 Год назад

    great

  • @nikssssopyt5213
    @nikssssopyt5213 3 года назад

    Can anyone please tell me that, where to do this code in???

  • @M.I.S
    @M.I.S 2 года назад

    very good

  • @miladsadeghi14
    @miladsadeghi14 Год назад

    Hi 😊
    that was awesome...
    I want to know if it is possible to get any other currency except bitcoin in this way?
    and 🙃I want to know if it is possible to get any other currency except bitcoin in this way? And how can you make maximum use of it every day in this way?

  • @RAFAELLO077
    @RAFAELLO077 2 года назад +2

    What is the program being used to write in ?

  • @Mr_exe32
    @Mr_exe32 3 месяца назад

    Every shitcoin dev ever:
    Watches video.
    Gets ‘inspired’ with new idea for python shitcoin
    Pumps and dumps.

  • @kenanfintelman1858
    @kenanfintelman1858 3 года назад +1

    So, if the blockchain does not change everything when one transaction is changed, what could go wrong?

    • @sheyzi_
      @sheyzi_ 3 года назад

      It would definitely change.... Only if you are not using the former hash to generate that of the new hash

  • @marcoagave5319
    @marcoagave5319 2 года назад +1

    I can't read the screen.

  • @palanivelusureskumar3841
    @palanivelusureskumar3841 2 года назад

    👍 super

  • @ahmedyasin3521
    @ahmedyasin3521 Год назад

    how to connect this blockchain with an API?

  • @ajinzrathod
    @ajinzrathod 3 года назад

    VIM is love

  • @IzUrBoiKK
    @IzUrBoiKK 3 года назад +3

    Hello again my inspiration!

  • @danilo6573
    @danilo6573 3 года назад +1

    What's the IDE are you used?

  • @zakariasakyoud6422
    @zakariasakyoud6422 3 года назад

    Trans...( wait for it) ...action
    .
    Great job dude. Thank you

  • @jacquesfrancois4275
    @jacquesfrancois4275 2 года назад

    I get an error saying "haslib is not defined", what am i missing ?

  • @TheApolloBlu
    @TheApolloBlu 2 года назад

    how would you code an actual coin? or is that just the hashed output of the transaction?

  • @c4kartoffel928
    @c4kartoffel928 2 года назад

    7:36 Did you typed a ö ? Are you German ? Or do you just have a German Keyboard?

  • @nikssssopyt5213
    @nikssssopyt5213 3 года назад +2

    someone please tell in which app we have to run this code??

    • @raymondelder478
      @raymondelder478 3 года назад

      THANK YOU SO MUCH SIR *DONEHACK01 on ÏG* THEY GOT 12BTC

    • @abhaykalasapur2447
      @abhaykalasapur2447 2 года назад +1

      Any one you can use pycharm,VS code any one
      mine is VS code

  • @xCwieCHRISx
    @xCwieCHRISx 2 года назад

    Dont we have eonugh shitcoins. But nice tutorial for understanding.

  • @ceem1620
    @ceem1620 2 года назад

    Hi, I seen your videos on RUclips, I have a coding problem. I have million in squid game coins that I cant sell with pancakeswap. I need to try and sell with python or something. I seen people selling it using smart contracts but I don’t know how to do it. Can you please help I reward you well.

    • @ceem1620
      @ceem1620 2 года назад

      @Michael Kees I did sell

  • @sameersadventures4932
    @sameersadventures4932 3 года назад

    Create real crypto coin in python if possible

  • @tips1483
    @tips1483 3 года назад +2

    Also what happened to C++ tutorials

    • @NeuralNine
      @NeuralNine  3 года назад +1

      the beginner series is done and since the demand was very low it doesn't make a lot of sense to make an intermediate series. The videos barely got 1k views.

    • @tips1483
      @tips1483 3 года назад +1

      @@NeuralNine fair enough, can you do one more tutorial on how to install libraries or the Cpp equivalent?

    • @christiankoch4627
      @christiankoch4627 3 года назад +2

      @@NeuralNine you should do a python pyqt playlist, not the beginner things because RUclips is full of that. Expert level or a whole project would be very nice.

  • @legion_prex3650
    @legion_prex3650 2 года назад

    hm, well, that is bascially not a blockchain. That is a Hash Chain, which is a pretty old concept. Have a look at Hash Chain and my dear old friend Leslie Lamport, who is well known for the concept of the Hash Chain in Cybersecurity. I know, you young folks don't know this and think, blockchain is the NEW thing :)
    A hash chain is similar to a blockchain, as they both utilize a cryptographic hash function for creating a link between two nodes. However, a blockchain (as used by Bitcoin and related systems) is generally intended to support distributed consensus around a public ledger (data), and incorporates a set of rules for encapsulation of data and associated data permissions. (wikipedia)
    Cheers!

  • @pratikgondhali7830
    @pratikgondhali7830 2 года назад

    Code plzz

  • @Rade34
    @Rade34 3 года назад +2

    Why not in pycharm?

  • @artursvancans9702
    @artursvancans9702 2 года назад +3

    So annoying. Everyone just keeps talking about linked lists but so hard to actually find info on how p2p side of the blockchain works?

    • @escre
      @escre 5 месяцев назад

      Dude for real

    • @ka1x01
      @ka1x01 Месяц назад +1

      Totally agree thats why I'm reading book instead of the bs

    • @Joel-zi6pt
      @Joel-zi6pt 11 дней назад

      ​​@@ka1x01 Do you know any good books about every part of blockchain?

    • @ka1x01
      @ka1x01 11 дней назад

      @@Joel-zi6pt blockchain technology

  • @razinshahril1162
    @razinshahril1162 2 года назад

    im so lost.

  • @anuragsen9792
    @anuragsen9792 3 года назад

    big micheal is po*nstar too?