Bitcoin Forum
April 25, 2024, 02:33:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help in getting started to develop bitcoin related things  (Read 1251 times)
divergenta (OP)
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
April 11, 2011, 07:11:28 PM
 #1

Ok, I admit I'm not very good at programming but I know a little, even though my knowledge is a bit rusty to say the least. Anyway the bitcoin community and in particular this forum have had a great impact on my inspiration. I really want to get into programming stuff again!

First I have to face the fact that I pretty much suck at it so I have decided to start of by developing a very simple "service" on a website that you send an amount of bitcoins to, and the service simply bounces the bitcoins back to you, simple as that, either more or less. I know that this is silly and useless but I thought it might be a good project to start of with until I get any good ideas on a more serious project.

I think I'll manage the programming but it would really help if I could look into some code of what others have done. Which projects out there are open source? The more "simpler" ones like doubletrouble are most interesting from my perspective.
Any documents or something I should look into or do you have any general tips on what I should think about before I'm getting started?

Every help I can get is highly appreciated.
1714012406
Hero Member
*
Offline Offline

Posts: 1714012406

View Profile Personal Message (Offline)

Ignore
1714012406
Reply with quote  #2

1714012406
Report to moderator
The block chain is the main innovation of Bitcoin. It is the first distributed timestamping system.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714012406
Hero Member
*
Offline Offline

Posts: 1714012406

View Profile Personal Message (Offline)

Ignore
1714012406
Reply with quote  #2

1714012406
Report to moderator
1714012406
Hero Member
*
Offline Offline

Posts: 1714012406

View Profile Personal Message (Offline)

Ignore
1714012406
Reply with quote  #2

1714012406
Report to moderator
divergenta (OP)
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
April 11, 2011, 07:45:05 PM
 #2

Damn. I think I posted this topic in the wrong forum. Can someone please move it to Development & Technical Discussion or Technical Support?
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5180
Merit: 12884


View Profile
April 12, 2011, 07:13:59 PM
 #3

You can move the topic if you want. I don't think this is necessarily the wrong category.

For that, you would:
- Collect the user's address, and have them fill out a CAPTCHA so they don't generate a million addresses
- getnewaddress from Bitcoin
- Poll "getreceivedbyaddress <address> 0" to tell the user when their transaction is received
- Poll "getreceivedbyaddress <address> 6" until the amount is non-zero. Then "sendtoaddress" the amount to the given address.

You must wait until transactions get 6 confirmations or else Bitcoin will choose transaction inputs in such a way that you will certainly lose money on fees (which are paid automatically, without confirmation).

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
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!