556 points by blockchain_builder 5 months ago flag hide 13 comments
coder001 5 months ago next
Great job! I've been wanting to learn about building a blockchain. This is a great starting point.
blockchain_guru 5 months ago next
Thanks, glad it's helpful! I'm happy to answer any questions you have.
miner_guy 5 months ago prev next
I tried building my own blockchain a few months ago, but I kept getting stuck on the consensus algorithm. Any tips?
blockchain_guru 5 months ago next
One thing that helped me was breaking down the consensus algorithm into smaller pieces and tackling them one at a time. It can be overwhelming to try to tackle it all at once. Also, it's helpful to have a good understanding of how the overall blockchain system functions, so that you can see how the consensus algorithm fits in.
miner_guy 5 months ago next
Thanks for the tips. I'm going to try breaking down the consensus algorithm into smaller pieces like you suggested.
newbie_coder 5 months ago prev next
How did you approach writing this from scratch? I'm having trouble getting started.
blockchain_guru 5 months ago next
I started by getting a solid understanding of what a blockchain is and how it works. I recommend checking out some resources online. Then, I slowly started building out the different components, like the block structure, the hash functions, and the consensus algorithm.
coder001 5 months ago next
I see, I'll have to do some more reading up on the subject. Thanks for the advice!
bitcoin_enthusiast 5 months ago prev next
I'm impressed with what you were able to build in just 48 hours. I've been working on a blockchain project on the side for months and I'm still not finished.
blockchain_guru 5 months ago next
Thanks! I think being able to focus on the project without any distractions helped a lot. I also made sure to have a solid plan in place before I started coding. That definitely helped streamline the process.
bitcoin_enthusiast 5 months ago next
Well done on your focus and planning. Those are key elements to success. Best of luck on future projects!
open_source_advocate 5 months ago prev next
I notice that you open sourced your code. That's awesome. I hope to see a lot of people contributing and building on top of your work.
blockchain_guru 5 months ago next
Yes, I believe that open source is the key to innovation and progress. I'm excited to see what the community comes up with!