Bitcoin Mining Fundamentals in Python | Python Bitcoin Tutorial

Поделиться
HTML-код
  • Опубликовано: 28 июн 2024
  • Learn the fundamentals of Bitcoin mining in Python. We will write code to understand the mining concepts, this will not do the actual Bitcoin mining but give you an understanding of how crypto mining works.
    Easy explanation of what is bitcoin: • What is Bitcoin | How ...
    Video in Hindi: • Bitcoin Mining Fundame...
    🤝 Support my youtube channel by buying a data science, coding 👕 T-shirt: kaaipo.com/collections/coding...
    How does one redeem bitcoin reward after producing correct hash? : • How bitcoin miners col...
    Code: github.com/codebasics/cool_py...
    Cool python apps playlist: • Cool Python Apps
    #bitcoin #cryptocurrencies
    ⭐️ Timestamps ⭐️
    00:00 Introduction
    00:19 Theory
    09:21 Coding
    Do you want to learn technology from me? Check codebasics.io/?... for my affordable video courses.
    🌎 My Website For Video Courses: codebasics.io/?...
    Need help building software or data analytics and AI solutions? My company www.atliq.com/ can help. Click on the Contact button on that website.
    #️⃣ Social Media #️⃣
    🔗 Discord: / discord
    📸 Dhaval's Personal Instagram: / dhavalsays
    📸 Instagram: / codebasicshub
    🔊 Facebook: / codebasicshub
    📱 Twitter: / codebasicshub
    📝 Linkedin: / codebasics
    ❗❗ DISCLAIMER: All opinions expressed in this video are of my own and not that of my employers'.

Комментарии • 2,6 тыс.

  • @codebasics
    @codebasics  2 года назад +5

    I want to clarify that this video was to show simple explanation of how core bitcoin mining algo works, to earn actual bitcoin in your wallet you need to integrate mining code with rest of the bitcoin ecosystem. Also you need to have specialized hardware and datacenter with GPUs and ASIC devices that can compute the hash very fast. People run C++ or even assembly code (that is equivalent of the python code shown in this video) to make it faster. Also pending transactions get buffered in a transaction mem pool and miners would get these transactions->mine the valid blocks to add them to a blockchain.
    I will be adding more videos covering these topics in future.
    To learn AI concepts in a simplified and practical manner check our course "AI for everyone": codebasics.io/courses/ai-for-everyone-your-first-step-towards-ai

  • @oogabooga2581
    @oogabooga2581 3 года назад +2997

    when i heard the indian accent, i knew i would be learning something today

    • @konstantinsolkin487
      @konstantinsolkin487 3 года назад +23

      @@hamzaseif4992 If you look at his nickname you should probably think that he is black

    • @leeroyjenkins8723
      @leeroyjenkins8723 3 года назад +6

      @@konstantinsolkin487 XDD

    • @codebasics
      @codebasics  3 года назад +182

      I am happy this was helpful to you.

    • @2hotflavored666
      @2hotflavored666 3 года назад +14

      @@hamzaseif4992 Ok racist boi.

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

      @Note Salad He is talking about the guy named ooga booga I think

  • @martinmalecki3302
    @martinmalecki3302 3 года назад +2389

    god bless those indian tutorial guys.

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

      😊👍

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

      Pretty true

    • @nananana150
      @nananana150 3 года назад +17

      True heros🙏🏿

    • @koton_bads
      @koton_bads 3 года назад +39

      When you have a very specific problem, they're there and has a tutorial out which is super damn nice

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

      🤣🤣🤣👌

  • @violentgamer5910
    @violentgamer5910 3 года назад +288

    me as 13 year old guy trying to mine bitcoin with 2 gb ram and Duo core processor 🤣🤣

    • @user-hh1ys9hb9o
      @user-hh1ys9hb9o 3 года назад +31

      solid 25 cents a day if youre lucky

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

      Lol

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

      @@user-hh1ys9hb9o more like .000025 cents

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

      So with 32gb ram i will earn 8$ per day with this code ???

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

      @David Nekeman how much per day U earn ? and what pc do U have ?

  • @theofaure148
    @theofaure148 2 года назад +127

    Success is about focusing Your energy on what creates results and using what you already know

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

      I pray whoever reads this should become successful. keep l for success. the rich stay rich by spending like the poor and investing why the poor stay poor and be spending like the rich yet not investing. Roar! Invest earn and be successful.

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

      Assets that can make you rich!

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

      I.Crypto

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

      2.Stocks

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

      3.Shores

  • @Taziamoma
    @Taziamoma 3 года назад +194

    This is the best way I've seen anyone explain what exactly bitcoin mining is. Great job!

    • @codebasics
      @codebasics  3 года назад +19

      Glad you found it useful

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

      @@codebasics Can you bring a complete video of actual bitcoin mining ⛏️ and GPUs and ASIC ?
      Means full info and the cost and time that will taken in 1 bitcoin mining process with electricity cost ? Please 🥺

    • @456public
      @456public 3 года назад

      Me too

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

      Agreed!

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

      shrinke.me/BCHBitcoincash

  • @chalokim
    @chalokim 3 года назад +208

    Indian guys are like the Morgan Freeman of IT. Always there to explain things we don’t get.

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

      I get everything what he is saying but i dont get a Point is there something he sells at the end of the vid

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

      No he is not selling anything. Just telling about his video coming in some weeks

  • @danielbusi
    @danielbusi 3 года назад +10

    in all my 20 years of education, no one could explain the subject as perfectly as this wonderful guy....simply stunning man

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

      Thanks for your kind words daniel 👍

  • @rmlmax
    @rmlmax 3 года назад +13

    It takes WAY more than 15 lines of code to write successful mining software. You think parallelism, distributed code, network throughput/latency, cpu cycles, memory usage/latency and many more.
    15 lines is good start though, agreed. Thanks for explaining the basics 💪

  • @valie2025
    @valie2025 3 года назад +256

    +1 for taking the time to explain the theory (blockchain). When I'm looking to learn something new I need to understand some concepts before diving straight into code, otherwise I don't remember well

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

      Glad you liked the format of the video.

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

      @@satish8437 its not fake, rlly man. He legit has the check

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

      @@codebasics can u do tutoriel how to make blockchain from scratch in dynamic algorithme whith own her coin

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

      @@codebasics replay on me

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

      @@codebasics so how do i make bitcoin transact the reward to my account?

  • @razorback0z
    @razorback0z 3 года назад +382

    The lesson. Vegetables are more expensive than medicine.

  • @TheCarmacon
    @TheCarmacon 2 года назад +9

    Holy sh*t I never thought it is possible to explain mining in such a simple and concise way. Best explanation I've seen.

  • @sourdurian2839
    @sourdurian2839 3 года назад +30

    this is the best damn tutorial ever. When i heard that accent, I clicked like instantly and continued watching :)

  • @codebasics
    @codebasics  3 года назад +94

    Friends some fraud BOTS are posting in comments below that someone helped them earn bitcoins, guidance on telegram etc. Don't trust on them, they are all frauds. Someone created even youtube account with my logo and posting as well. If someone is telling you that you can earn money easily then that would be a FRAUD for sure.

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

      And you not right ???? LOL

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

      Poor man
      Hahaha

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

      Lol

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

      Poor man

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

      THANKS FOR COMMENTING 💯WRITE MY BROKER FRED TAYLOR ON WHAT SAPP TO MAKE GREAT RIO IN BTC He's currently handling my crypto for me and he's making me huge profit turning 2 BTC into 4 BTC in 9 days and making me $400,000 weekly by putting $50,000 indeed am amazed
      His what Sapp
      + 1 3. 8. 5. 8. 8. 7. 0. 1. 6. 1💬
      Do well to tell him that i reffered you to him, his strategies are top notch, he will help you

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

    I saw the article published in one of the leading news paper in India. Never knew that you are such an amazing guy. Good on you. Stay blessed..

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

      Thanks mirza for your kind words

  • @cristofersilva4010
    @cristofersilva4010 3 года назад +17

    Perfect video, omg I never have seen an video like it before in youtube, great work!!

  • @hyqhyp
    @hyqhyp 3 года назад +6

    I have been looking for something re: Bitcoin for my very young Python students. Your video is the simplest and most accessible I have found, my 12 year old student can understand it. I think the magic is in its concreteness (and the smoothness of your presentation). As simple as it looks, the art of toning down abstraction for the sake of pedagogy is one of the hardest skills for a teacher to master, and it is rare (probably exacerbated by the curse of knowledge). My AI professor (also Indian) was a master of it, and as near as I could tell he was the only one in the department. Great work, and thanks!

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

      Thanks for your kind words of appreciation :)

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

    Kohli -> Dhoni, I know what sport this guy likes.

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

    can I use this for dogecoin if I change the hash?

  • @Max-cs1dn
    @Max-cs1dn 3 года назад

    This dude explains Bitcoin mechanics better than any other channels I’ve seen. Kudos!

  • @taganrose6682
    @taganrose6682 2 года назад +33

    When it comes to the world of investing,most people don't know where to start. Fortunately, great investors of the present and investors of the past can provide us with guidance on how to invest 🙏🙏

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

      Personally as a first time investor, I started trading with Mr George William With $1,000 now my portfolio is worth $5,400 within the space of few months trading with him

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

      A friend that I referred to him from UK just received£9,055 profit after 14days of trading... just jealous asf...lol

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

      My first investment with Mr George William gave me $24,300 and that has made me invest without the fear of losing, I got four of my friends that I referred to him and they are making profit just like me. May God bless Mr George William

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

      I trade with him, The profit are secured and over a 100% return on investment directly sent to your wallet.

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

      you don't make money on cryto by holding your coins rather you trade to make gain

  • @britney_david
    @britney_david 2 года назад +18

    Hello, I'm new to Biticon trade and l've been making huge losses but recently i see a lot of
    people earning from it. Please can someone tell me what to do?

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

      @Kelvin Well, you are saying the fact. I invested
      $4,000 with Mrs Annabelle Hartfield , and earned $12,000 in 7 working days.

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

      In Bitcoin investment, determination to take risk is one of the major factor required because it takes a
      brave heart to make money this days.

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

      Being a newbie in Bitcoin investment and trading is
      very discouraging but since I met Mrs Annabelle Hartfield , she has really been careful in handling my investment.

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

      Many people are afraid to be invest because of the Scammers in the business

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

      Yes there are scammers in the business just like it's in every other business but there are also legit brokers out there for investors and Mrs Annabelle Hartfield is one of the real and legit brokers out there.

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

    I couldn't leave without liking this video 😲😲😲😲😲

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

    9/10 for the drain pipe effect burp lmao like it didn't even happen. great video man thank you for the in-depth explanation

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

    Great video. I read my blockchain blogg but this video is lit. Hatss Off.........

  • @MotherCoin
    @MotherCoin 3 года назад +70

    9:37 zen meditation mode 😂😂😂

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

      ha ha :) I like zen meditation

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

      I see you are a man of culture as well

    • @Nico-rl4bo
      @Nico-rl4bo 3 года назад

      it starts 9:48

  • @jay-rathod-01
    @jay-rathod-01 3 года назад +231

    Him: We will be writing a bitcoin mining code.
    Me: Yes this video will make me rich.

    • @100ciafacil7
      @100ciafacil7 3 года назад +5

      but illegally hahah

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

      stonks

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

      Really

    • @lukemartin4879
      @lukemartin4879 3 года назад +6

      @Michael Weis Because in some countries owning, mining and trading bitcoin is illegal

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

      @@100ciafacil7 Bitcoin is not illegal

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

    great job, for someone who has been following Bitcoin since it was created, you make it look like something new.

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

    dude. you are really cool. most bitcoin videos are either for pure amateur or go into unnecessary details right away. thank you for your great video.

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

    That's the best thumbnail I have ever seen in a tutorial video lol.

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

    even tho I didn't really get the coding part, this still gave me lots of knowledge. thanks! 😊😊

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

    Very good, high quality with real education. I feel like I learned something after watching. Instead of having more questions.

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

    This was SO informative. Using Python, you explained bitcoin mining so well, it's now easy for me to understand. Good Video!!!

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

      Glad you enjoyed it Theo!

  • @codebasics
    @codebasics  3 года назад +329

    I want to clarify that this video was to show simple explanation of how core bitcoin mining algo works, to earn actual bitcoin in your wallet you need to integrate mining code with rest of the bitcoin ecosystem. Also you need to have specialized hardware and datacenter with GPUs and ASIC devices that can compute the hash very fast. People run C++ or even assembly code (that is equivalent of the python code shown in this video) to make it faster. Also pending transactions get buffered in a transaction mem pool and miners would get these transactions->mine the valid blocks to add them to a blockchain.
    I will be adding more videos covering these topics in future.

    • @claud5367
      @claud5367 3 года назад +13

      u forgot to pin this, my friend

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

      how can i sell my hash ?
      :)

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

      @@claud5367 it is pinned now. thanks.

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

      Thanks, you explained what I asked about already in a previous comment.

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

      *THANK YOU SO MUCH YOU ARE THE BEST IMMEDIATELYHACKER,TECH* 💗

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

    This is the first explanation of blockchain that made sense.... you made it easily understood... THANK YOU!

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

    god bless u. i finally understand how it works from it perspective.. guess all the big companies only try to add ledger to their transactions detail and called it sophisticatedly 'blockchain technology'

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

    I wasn't really expecting a lot when I opened this video, and I am pleased to be surprised.
    The explanation is simple and -as far as I can tell- correct, so good job with this video!
    Thank you to spread knowledge on the internet.

  • @mariasmith7659
    @mariasmith7659 2 года назад +23

    Hello everyone i'm actually looking for a good expert trader that can help me trade and make good profit.....but it's very hard to see trusted one. Any idea?

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

      speaking of forex trading.its the best business in the world right now,I know a couple of friends who make alot of money trading the financial market

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

      you are right forex is profiting if you are using a good forex expert with unending zeal of making profit for his/her client

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

      Trading forex is a good business one can look for trading

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

      Then I will like to introduce you to my expert Mrs Stacy Bill Griffin, have been Investing with her for months now and it's been awesome

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

      If you ask me I think forex has something big for the world but having a good expert to mentor you is the best

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

    love the vid man ! especially the way you explained the bitcoin mining , just wow !

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

    Great little refresher for python coding but with a mining twist! Subscribed and looking at your other vids! Thanks!

  • @arpitgarg2567
    @arpitgarg2567 3 года назад +51

    Great explanation with the practical implementation of how actually mining works.
    Many thanks for providing this great video.
    Really appreciate your effort !!

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

      😊👍

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

      @@jordanwelch6728 I have been trying to get this for decades but I couldn't. I really appreciate your time explaining how this works. In between how do I get a hold on you?

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

      trust me if you want to turn a profit this is not anywhere near practical

  • @adarksoul2454
    @adarksoul2454 3 года назад +41

    know that meme with the lady holding one kid in the pool while the other one was drowning behind her? well that kid is x = - 4 at 2:45

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

      ikr I got so mad because of it lol

  • @DhruvPatel-xt4mk
    @DhruvPatel-xt4mk 3 года назад +1

    This guy is God for me. You made it really easy to understand. Thank you.

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

    I am a programmer from last 7 years and I now know what exactly bitcoin is and how it is working behind the scene lol, very interesting.

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

    Thanks so much for this video! One question: After mining the nonce, who uses that value, and for what purpose?

  • @dutta.alankar
    @dutta.alankar 3 года назад +3

    Awesome video! Waiting for your future videos on blockchain. 😀

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

      Yup at some point I will have full fledge blockchain tutorials series on the channel

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

    Finally, I get what blockchain is... finally...
    Thanks for getting the grasp of this subject down to earth for us "the mere mortals"...
    Kudos to you...

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

    Just found your videos but you are a very good teacher, thank you!

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

    Nice info on bitcoin mining, hope to see more

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

    Great proof of concept. Looking forward to the next video!

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

    Cool thanks for the nice explanation! Will now create my botnet to start mining BTC :D

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

    i will come back once i study python, very interested in cypto and mining stuff. In my school we have started doing python so good thing i can watch this later.

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

    Really enjoyed your tutorial ! Learnt something today 😀

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

    Great introduction to the concept, thanks!

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

    It's the first time I actually understand this. You're the best bro

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

    This has been the clearest explanation of how the Bitcoin Blockchain works thanks Dhaval! Great tutorial/guide

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

      Glad to hear that Miles!

  • @darak2
    @darak2 3 года назад +7

    When I learned programming decades ago, there was this recurring joke that in the future, all programming classes will be some form of 'if you want to do X, all you need to do is call function X'. It's now 2021, and the joke has become real.

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

      2030 will be "hey computer read my mind and write code based on my thoughts"

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

      @@codebasics that will help a noob like me ill wait till it just kdding

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

    The best explaination I have seen, thank you so much.

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

    Man i love these indian tutorial guys

  • @wendylongstreet1237
    @wendylongstreet1237 2 года назад +14

    keep buying and investing in stocks or crypto,soon Bitcoin will hit $100,000

    • @shashanksinghgautam
      @shashanksinghgautam 2 месяца назад

      Btc going to achieve this Target 🎯 🎯 Soon Already hit $73000 🎉 🎉

  • @Alexis-hofstetter
    @Alexis-hofstetter 2 года назад +3

    I’m just here to day to thank you the generosity you have showing we will be forever grateful In my hart thanks you so much sir

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

    I have watched many video's but couldn't understand the concept but this one has broken the ice

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

    @10:42 4bit groups are called nibbles (one hex digit) , just to not use "bit" which is a bit confusing. Thank you for the explanation.

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

    Thanks for simplifying the concept and at the same time teaching us the how to implement coding for a real life example. I however felt that you are using "bitcoin' and " blockchain" terms interchangeably while they are not the same thing.

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

      bitcoin uses blockchain. That's what I meant in the video.

  • @user-di4bt7qu2i
    @user-di4bt7qu2i 3 года назад +4

    Great video! It was informative and I learned a lot. The example was awesome and I was able to follow along using Python. I really appreciate your efforts.

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

    Very simple explanation. I wasn't aware about this algorithm before. Now it's more clear for me, thanks a lot for sharing !

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

    The best explanation I ever got about BLOCKCHAIN .... THANK YOU SO MUCH

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

    wow im just amazed the quality of the video crispy clean

  • @ViratKohli-jj3wj
    @ViratKohli-jj3wj 3 года назад +4

    The camera quality is really awesome bro.

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

    Excellent tutorial ! Learnt something today 😀

  • @PPopov-pi3mc
    @PPopov-pi3mc 3 года назад

    thanks very much to the author for a good explanation of how the blockchain principle works!

  • @456public
    @456public 3 года назад +3

    Today I got it ,all these years I wasted my time to know what the exact thing is going on ,

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

    Investing in crypto now is very cool especially with the current rise in the market now

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

      Yes you are right

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

      Thanks for introducing me to Mrs Allen Lisa

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

      People are scared of investing because of the high rate of scam in the business

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

      Making them to remain poor out Of ignorance

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

      There are scammers but there are real brokers waiting for investors out there

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

    New suscriber from Mexico :D
    Very good video

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

      Welcome aboard! I've been to Mexico, Cancun. I absolutely loved that trip :)

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

      Golds is good but crypto are better, contact hackerlucas directly on telegram they are the best when it comes to bitcoin flipping 💯 reliable ‘ legit

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

    Hey. Thank you for the very informative video, and for breaking down a complex problem into something that can be more easily understood. I have one question: Is there only one nonce value that can solve each blockchain, and any other nonce is incorrect, even if it gets the same amount of zeros?

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

    Please make a video on Data Mining with Python.🙏

  • @JemilMarcosTyC
    @JemilMarcosTyC 3 года назад +26

    Its interesting to learn how it works and thank you for that. But is useless without the real blockheight, lasthash and difficulty... why not include how to connect to bitcoin core to get that information in realtime via rpc and make a REAL miner. Because at this point, the title is missleading. Educative nontheless, but otherwise incomplete. You could use you awesome and simplified way of explaining to enlight a lot of people. No thumbs down, no negative hate, it is just what I felt. It would've been nice to have all this wrapped in one well explained tutorial.

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

    I watched this, also an explanation from a mathematician on SHA-256, and an advertisement on a bitcoin miner site which they explain what is bitcoin.
    truly, right now I am much better understanding it and can confidently explain to others.

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

      I am happy this was helpful to you.

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

    Easiest Explanation I have ever seen.Great Job.

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

    I absolutely loved the tutorial. Excellent explanation at the beginning. I finally understand what bitcoin mining is. So how would you actually deploy in really life for doing the mining? Would be great to see a tutorial on that. Thank you again, greetings from Mexico.

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

      This video has some (if not all) answers: ruclips.net/video/QAsZgzLPaWU/видео.html

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

    very interesting video, thanks. But if I, for example, could find a very fast way to verify a block and calculate a nounce that generates a string starting with 20 zeros how would I practically close a block of the blockchain manually?
    who should I give this string to? or rather ... how can I communicate this nounce to the blockchai that I have verified the block and therefore win the prize for having found the right nounce?

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

    God bless you, such a great way of explaining 🙏🙏

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

      glad you liked it ismail

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

    Super awesome @codebasics .. I was actually trying to understand the concept and your video is what i was looking.
    make a video on how to make it run on GPU.

  • @dhanvipranshi271
    @dhanvipranshi271 2 года назад +38

    INVESTING IN CRYPTO NOW IS VERY COOL EXPECIALLY WITH THE CURRENT RISE IN THE MARKET NOW.

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

      Most intelligent words I've heard,

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

      Crypto is the new gold,

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

      I'm a huge fan of crypto, I hold some few coins in my wallet.

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

      The rich get wealthier as they trade, the poor remain and get even more poorer because of skepticism and fear of taking risk,

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

      The fruitfulness of your trading lies on the account manager or the expert,

  • @emad_arganex
    @emad_arganex 3 года назад +7

    how you write the subtitle for your videos?

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

    Your the only One i ever stood well,
    Thank you for the Concise efforts and awesome work.
    subscribed !

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

    Bro you are Boss educator!!!!!

  • @GREEKPREVIEWZ
    @GREEKPREVIEWZ 3 года назад +31

    4:35 the burp.

  • @codebasics
    @codebasics  3 года назад +13

    How does one redeem bitcoin reward after producing correct hash? Here is the video to answer that question: ruclips.net/video/QAsZgzLPaWU/видео.html
    Easy explanation of bitcoin that even a high school student can understand easily: ruclips.net/video/qHlpvKjA-lk/видео.html

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

      How i can publish the hash block?

    • @mt.erebus3370
      @mt.erebus3370 3 года назад

      Hi Dhaval, so how are the confirmed blocks published to the network, and how do they come to an agreement? really easy to understand explanation btw!

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

    So far this the best explanation I have come across about bitcoin mining.

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

      🖕 send a direct message to her and she will assist you in whatever way you need assistance..

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

      I can’t imagine life with your scripts sir 👆👆it worked for me successfully 💯

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

    Thanks Brother... Keep teaching new things ❤️
    Its a great help for a noob lyk me in blockchain

  • @beztyagamer6367
    @beztyagamer6367 3 года назад +32

    4:35 nice
    belch and sound like beer... XD

  • @mm-zw1zc
    @mm-zw1zc 3 года назад +18

    Nice explanation. I was hoping you would show how to get the actual transactions from a bitcoin block into python. Is there a library function that allows you to get a bitcoin block from a node into a python string?

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

      I would like to know what you are telling

    • @mm-zw1zc
      @mm-zw1zc 2 года назад +1

      @@rishimn2522 This would be for chain analysis. Some of this can be done by using bitcoin-cli, but it would be nice to automate so that as a block is mined, external UTXO databases can be updated where classification can occur similar to the way glass node or other services do on chain analysis.

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

    It's really simple explanation of the mining. Thank you.

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

    Thank you code basic I am an 11-year-old and from this tutorial, I have written my own program and now I have a good understanding of bitcoin.

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

      Great. Markas I am happy you are self learning and this video was helpful to you

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

      @@codebasics Thank you so much 👍

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

      Keep going! When I was your age all I did was programming. It ended up saving my life. I went through university and got a good job. I remember the first year of university. It was very hard. Lots of new stuff and my math skills were subpar.
      I remember to this day... I took a train north and I was doing calculus. Reading. Writing. Very focused. After about an hour the train halted at a station. The women sitting across from me got up to get out. In passing she said to me: "Never ever ever give up!".
      I was surprised and could not say anything. I smiled and never forgot.
      Listen to me, I am the woman on that train for you. Keep going. We do things because they are hard, not because they are easy! You will go far in life with that attitude! 👍

  • @trym8642
    @trym8642 3 года назад +74

    Damn bro, that camera quality at start

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

      ha ha... power of sony A6400 with extra sharp lense

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

    Sir please make complete tutorial series on blockchain and bitcoin

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

      yes that is coming up.

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

    You deserve a like & follow man, you've got good didactics. Thank you!

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

    Sir I am your big fan. I learnt a lot in your python and pandas tutorial. Will u put a video tutorial on neural cryptography or something that merges the field of both deep learning and cryptography? . It will help us a lot.

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

    The best way to secure a future is to invest, saving up money in a bank account can never make you rich. I recommend a professional broker ms Maria Martinez for those who wish to make profits in trading.

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

      I have been having losses on my trading, please someone should put me to this Ms Maria's investment.

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

      When i started my first trade with Ms Maria, i was scared of scam, but i am glad today that i made that decision of trading with her. Her profit is so unimaginable.

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

      I lost my job due to the Pandemic and life became very difficult for my family, until i saw a post made about Ms Maria's investment. I doubted because of scam but i reluctantly invested with her, and i do not regret investing with her. Thank you ms Maria for bringing joy to my family once again. Please invest with her.

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

      Ms Maria have been the person handling my husband's trade for years now, she is sincere and trustworthy.

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

      Please how do i reach ms Maria?