Hi,
a few days ago I finished writing my blog series about the basics of Bitcoin programming.
In the last two years, I sort of hated that every tutorial I read couldn't teach blockchain development from the very start, I mean without taking for granted what a transaction is. Beyond that, lot of theory without practice. Everybody seemed so confident about the subject, yet I felt that no one was really paying attention to uneducated readers like me.
These were only some of my unanswered questions:
- How does a private key hold bitcoins?
- How an address is supposed to receive bitcoins?
- What the hell is a scriptPubKey and scriptSig?
- What about all those numbers and hexes?
So, after spending a lot of time looking for total beginner resources and failing at that, I felt I could somewhat fill this gap. Mine is a slow-paced bottom-up tutorial whose aim is teaching you to consciously build, sign and publish a basic raw transaction to the blockchain.
http://davidederosa.com/basic-blockchain-programming/All sample code is written in C language, easy to read, easy to compile.
https://github.com/keeshux/basic-blockchain-programming/I plan to dig further into the subject in the near future, but meanwhile it'd be great to have some feedback. If any article is not *that* clear, feel free to leave a comment and I'd be happy to reply.
Thanks,
Davide