Bitcoin Forum
December 07, 2016, 04:35:59 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Help in getting started to develop bitcoin related things  (Read 1049 times)
divergenta
Full Member
***
Offline Offline

Activity: 162



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.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481128559
Hero Member
*
Offline Offline

Posts: 1481128559

View Profile Personal Message (Offline)

Ignore
1481128559
Reply with quote  #2

1481128559
Report to moderator
1481128559
Hero Member
*
Offline Offline

Posts: 1481128559

View Profile Personal Message (Offline)

Ignore
1481128559
Reply with quote  #2

1481128559
Report to moderator
divergenta
Full Member
***
Offline Offline

Activity: 162



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: 2492


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!