Note: this is just an old copy of my first message in this thread, for archival purposes only.Hi,
One time I visited an IRC channel of the Bitcoin general discussion (actually, I've been to #bitcoin-dev as well) to ask people there what Bitcoin already can and what's in progress - my head was full of ideas, I was (and am) fascinated by Bitcoin and wanted to find out how many of my thought were already spoken out loud and realized. I kept asking about mining, QR codes, alternative clients, URI's, stuff I thought should be there in the first place. One of people on the channel told me we already have enough ideas, the problem was to get devs to work on them. I understood Bitcoin needs a lot of help to be a successful project that would not only interest geeks, but also regular people.
I thought I would try to help a bit and instead of whining what's not done yet or pointlessly asking them to implement this or that, move my own butt and code a thing. The problem was that 1) honestly, I had no real incentive, because I knew I wouldn't profit on that 2) I pretty much had no knowledge of how Bitcoin works internally, how to hack it up etc. I thought that many users come across either of these problems and I could try to fix the first one.
My idea was to provide the users a platform where they could collect donations that would later be given to a person who solves a particular problem. The
current bounty system is presently in an IMHO rather sorry state and I thought I could try an write a more automated service.
What I would like to present to you guys is my first big PHP project (and the biggest one so far) that I've been working on for three weeks so far. It can currently handle:
* user registrations (with CAPTCHA and e-mail confirmations)
* login cookies, password reset
* bounty submission, bounty solution ("commits") submission
* user voting whether to accept commits or not
* donation collection, payout support
* localization support
* theming made as easy as I could make it on my own
* e-mail notification when a payout is possible
The code is a disaster right now. I've been coding these things for the first time and at some part I got overwhelmed by its complexity. This is one of the reasons I'm posting it there - I'd love to get some feedback, what parts should be rewritten and more or less how, what else should be implemented (I'm thinking of: profile support, unconfirmed transactions support, searching; I also don't know what to do with comments yet). It'd be awesome if it grew into a something the community would like to use.
What's in it for me? In models/payout.php there's a code sending a fee to a user-defined account. If it was ever put mainstream, I would modestly ask for a 1% or 0.1% share of money collected, if it's not too much.
Posting this thread was basically the reason I registered to this forum. I'd be grateful if I got promoted from the 'newbie' status and if this thread could be moved to a more appropriate category, most preferrably 'Development & Technical Discussion', because my point is to rise a wide discussion about the project in general.The project can be seen on
https://github.com/d33tah/bitcoin-bounties - so far I only tested it on my laptop under PHP 5.3.0. I tried not to use PHP5-specific syntax, but might have been not too cautious about it
. At first I wanted to follow some kinda self-designed MVC model, but then I realized I had no clear idea of how should it look like, so ATM models are mixed with controllers in 'models' directory.
Well, I think that's it for now. I'm going to subscribe the thread, hoping not the whole feedback would be negative
.
~~~~
d33tah
@edit:
The project has received a virtual server through the courtesy of
psy user. The project can be seen at:
http://bitcoinbounties.orgIt is currently connected to the
testnet block chain. Feel free to test it, remember to report any bugs there! Security bug reports are most welcome