Bitcoin Forum
May 10, 2024, 12:11:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: "Basic Blockchain Programming", A developer-oriented series about Bitcoin  (Read 4437 times)
keeshux (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 6


View Profile WWW
June 27, 2015, 11:40:07 AM
 #1

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. Smiley

Thanks,
Davide
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715299866
Hero Member
*
Offline Offline

Posts: 1715299866

View Profile Personal Message (Offline)

Ignore
1715299866
Reply with quote  #2

1715299866
Report to moderator
1715299866
Hero Member
*
Offline Offline

Posts: 1715299866

View Profile Personal Message (Offline)

Ignore
1715299866
Reply with quote  #2

1715299866
Report to moderator
1715299866
Hero Member
*
Offline Offline

Posts: 1715299866

View Profile Personal Message (Offline)

Ignore
1715299866
Reply with quote  #2

1715299866
Report to moderator
YarkoL
Legendary
*
Offline Offline

Activity: 996
Merit: 1013


View Profile
June 30, 2015, 08:39:29 AM
 #2

Thank you very much for this series.

I went in expecting demonstrations of how to
put together transactions programmatically with some API,
but to my surprise and delight it was very much along the
lines of "Bitcoin the hard way".

It's probably the closest thing to "How to build your own wallet
from the ground up" atm

You mention in the first post the "elitism" that
permeates atmosphere here - I agree about that and must admit
that once you have been initiated to the inner workings of Bitcoin
to even a tiny degree, there is a great temptation to think of yourself
as one of the "gentlemen"  Grin and keep the secrets to yourself (because "we don't want
more scamcoins" or some other nonsense). So maybe it's time
for that to change.

“God does not play dice"
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!