Author

Topic: [BOUNTY] 2 BTC -- Betarigs Dual API Programming Challenge (Read 4915 times)

member
Activity: 69
Merit: 10
Is this scrypt still usable?
newbie
Activity: 32
Merit: 0
It would be nice to have the ability to blacklist rigs manually

Done: https://github.com/Toorop/betarigs-autorent

Just add a file named "blacklistedRigs.txt" (in the same directories as the app) containing a list of rigs to skip (one per line).

I plan to add a "paranoid mod", which automatically skip never rented rigs & rigs with bad ratings.
No ETA for this option, i'm currently very busy.

Enjoy Cool

newbie
Activity: 32
Merit: 0
It would be nice to have the ability to blacklist rigs manually so they are never rented.

I'm currently on holiday, i'll will add this feature when i'll come back (end of the month)

Thanks for your feedback.
member
Activity: 106
Merit: 10
It would be nice to have the ability to blacklist rigs manually so they are never rented (and also perhaps not include rentals with below X rating, or with no rating). There seems to be a rig or two that are low rating and poor performance on the site and it would be nice to be able to manually decide whether or not to rent the rigs. It would also help customers avoid renting the scam rigs and give less profits to the scammers.

Thanks for the great site and API scripts added so far!
mux
sr. member
Activity: 280
Merit: 250
Ok the script version 1 BTC bounty has been awarded to Toorop via the TX f7fb695923e606ce11a81192fa06ee976b408f4574e5bd85a0430d4694d7ae75 !

His project has been forked to https://github.com/betarigs/betarigs-autorent

Thanks a lot for all your submissions!!!
newbie
Activity: 32
Merit: 0
mux
sr. member
Activity: 280
Merit: 250
did anyone got this ever to work? The do-rent route does not work/not enough data checking/no returns ...

blah


Hello;

I personally tested the website submission, it does work :-)

Also, I just got a submission for the script, which I'm going to review in the next days.

mux, I've followed the instruction - so I am missing something I guess. What are the step-by-step installation on a new unix box (with composer already installed) ? - thanks -- no hurry as I am using my own scripts for now, but i'd like to give this a go someday.


Re!

Well, I basically followed the instructions in the README at https://github.com/betarigs/betarigs-manager, and it proved to be sufficient. Can you tell me at which step you are having problems?
For composer, if you don't have it, you can
Code:
curl -sS https://getcomposer.org/installer | php
mux
sr. member
Activity: 280
Merit: 250
Also, I just got a submission for the script, which I'm going to review in the next days.

Rhaaa too bad i've just started a dev this afternoon.
50% is done  Undecided

I wanted to provide reals CLI binaries (*nix, windows, MacOs) with zero dependencies  (unlike script which needs an interpreter) made with Go.
A screenshot: https://www.dropbox.com/s/ibwtfq74mx5afts/Capture%20d%E2%80%99%C3%A9cran%202014-07-03%20%C3%A0%2020.11.50.png

Ping me if the script submitted will not pass your review, i'll will continue my dev.

For info i'have made an other tool some weeks ago which automatically adjusts rig rental prices :
https://github.com/Toorop/betarigs-autoprice



Hello!

Sorry for the delay, a long weekend was inbetween!
I like what I'm seeing at first glance on this screenshot! (Plus it's made in Go! And plus you made a lib for Go :-) )
Please continue your work, and if both of your scripts are good, I'm going to add a secondary bounty for the one not being the best! Then we'll have one in Python and one in Go!

Mux
newbie
Activity: 42
Merit: 0
did anyone got this ever to work? The do-rent route does not work/not enough data checking/no returns ...

blah


Hello;

I personally tested the website submission, it does work :-)

Also, I just got a submission for the script, which I'm going to review in the next days.

mux, I've followed the instruction - so I am missing something I guess. What are the step-by-step installation on a new unix box (with composer already installed) ? - thanks -- no hurry as I am using my own scripts for now, but i'd like to give this a go someday.

newbie
Activity: 32
Merit: 0
Also, I just got a submission for the script, which I'm going to review in the next days.

Rhaaa too bad i've just started a dev this afternoon.
50% is done  Undecided

I wanted to provide reals CLI binaries (*nix, windows, MacOs) with zero dependencies  (unlike script which needs an interpreter) made with Go.
A screenshot: https://www.dropbox.com/s/ibwtfq74mx5afts/Capture%20d%E2%80%99%C3%A9cran%202014-07-03%20%C3%A0%2020.11.50.png

Ping me if the script submitted will not pass your review, i'll will continue my dev.

For info i'have made an other tool some weeks ago which automatically adjusts rig rental prices :
https://github.com/Toorop/betarigs-autoprice

mux
sr. member
Activity: 280
Merit: 250
did anyone got this ever to work? The do-rent route does not work/not enough data checking/no returns ...

blah


Hello;

I personally tested the website submission, it does work :-)

Also, I just got a submission for the script, which I'm going to review in the next days.
newbie
Activity: 42
Merit: 0
did anyone got this ever to work? The do-rent route does not work/not enough data checking/no returns ...

blah
mux
sr. member
Activity: 280
Merit: 250
Bounty of 1 BTC for the Challenge 2 (website) has been awarded to Sathoro!

His website work is at: https://github.com/sathoro/betarigs-manager (which was then cloned to https://github.com/betarigs/betarigs-manager )
His bounty has been sent via https://blockchain.info/tx/0058ad971ce8c7154e25a581aa607c1e6b380963e12811358f960f3ddbf1bd61
mux
sr. member
Activity: 280
Merit: 250
First submission on the Challenge 2 (website) received!
mux
sr. member
Activity: 280
Merit: 250
Hello!

Indeed, the website would take more time than the script -- but we are expecting only a raw admin form; not a fancy website with external users and so on :-)
On the other hand, the script should only take a few hundreds lines; this one should be quite easy ;-)
legendary
Activity: 1036
Merit: 1001
Syscoin- Changing the way people do business.
Interesting. Low bounty IMO. Especially for the "Mass Rental Website" [stipulating the symphony2 framework be used, which I've worked with].

I love Betarigs tho. Good luck to those who participate!
mux
sr. member
Activity: 280
Merit: 250
Betarigs Dual API Programming Challenge -- 2 BTC Bounty total!

[BOUNTY AWARDED]Betarigs API Programming Challenge number 1 : Mass rental script -- 1 BTC Bounty!
Winner: https://github.com/Toorop/betarigs-autorent

1 BTC will be awarded to the submitted script selected by Betarigs that:
1/ Work on all OSes (Win/Mac/Linux) on the command line.
2/ Use Betarigs and Coinbase API (whose API keys will be stored either in a config file, or in the script itself)
3/ Takes as input:
 - An target amount of Mh/s to rent
 - A mining algorithm (X11, Scrypt, ...)
 - A maximum price in BTC/Mh/day of the rigs to rent
 - A given duration in hours (to be taken in the list of available Betarigs durations; so all rigs would be rented for that duration)
 - A target pool URL, worker name and worker password
4/ Have the following behavior:
 - The script will use the Betarigs API to create rentals up to the target amount of Mh/s to rent (unless the maximum price in BTC/Mh/day is reached)
 - The script will then use the Coinbase API to pay for these rentals (use the "idem" parameter on the Coinbase payment API to prevent double payments!!!)
 - The script will then, without waiting for the payment to be confirmed by Betarigs, put the pool infos (URL, worker name, password) on the created rentals
5/ As output, the script will have launched and paid mining rentals based on the input parameters.
6/ The script must be sufficiently verbose to inform what it is doing.
7/ The script must have a dry-run mode: It would be an option that, if used, will simulate the rental creation and payment, but not actually do it.
8/ The script will have to handle all the error scenarios (no more rentals under the specified price, rig got rented by someone else, Coinbase API returning an error ("You are sending too fast, wait a bit"), ...)
9/ The submission of participants will be assessed on the forum thread https://bitcointalksearch.org/topic/ann-betarigscom-cryptocurrency-cloud-mining-thousands-of-rigs-available-434464 ; and any feedback by Betarigs about bugs/missing features will be posted on this forum.
10/ The resulting script will have to be open-source, and hosted on Github.
11/ The actual winner will be assessed by the Betarigs team. Code quality, proper output, handling of errors, fullfillment of requirements, will be criterias used to determine a winner. There is no time limit, a winner can be designated as soon as a proper script is created.


[BOUNTY AWARDED] Betarigs API Programming Challenge number 2 : Mass rental website -- 1 BTC Bounty!
Winner: https://github.com/sathoro/betarigs-manager

1 BTC will be awarded to the submitted website selected by Betarigs that:
1/ Use PHP as a language. The full project needs to be fully in PHP. A Symfony 2 setup with bundles will be strongly preferred.
2/ Use Betarigs and Coinbase API (whose API keys will be stored in a config file)
3/ Takes as input, in a form in a web page:
 - An target amount of Mh/s to rent
 - A mining algorithm (X11, Scrypt, ...)
 - A maximum price in BTC/Mh/day of the rigs to rent
 - A given duration in hours (to be taken in the list of available Betarigs durations; so all rigs would be rented for that duration)
 - A target pool URL, worker name and worker password
4/ Have the following behavior:
 - The website will use the Betarigs API to create rentals up to the target amount of Mh/s to rent (unless the maximum price in BTC/Mh/day is reached)
 - The website will then use the Coinbase API to pay for these rentals (use the "idem" parameter on the Coinbase payment API to prevent double payments!!!)
 - The website will then, without waiting for the payment to be confirmed by Betarigs, put the pool infos (URL, worker name, password) on the created rentals
5/ As output, the web page will have launched and paid mining rentals based on the input parameters.
6/ The web page should display the various actions taken as a result of the form submission (which rigs were rented, etc)
7/ The website must have a dry-run mode: It would be an option that, if used, will simulate the rental creation and payment, but not actually do it.
8/ The web page should then be able to display the status of the currently rented rigs, and to mass update their pool credentials.
9/ The web page will have to handle all the error scenarios (no more rentals under the specified price, rig got rented by someone else, Coinbase API returning an error ("You are sending too fast, wait a bit"), ...)
10/ The submission of participants will be assessed on the forum thread https://bitcointalksearch.org/topic/ann-betarigscom-cryptocurrency-cloud-mining-thousands-of-rigs-available-434464 ; and any feedback by Betarigs about bugs/missing features will be posted on this forum.
11/ The resulting website will have to be open-source, and hosted on Github.
12/ The website code will have to work standalone (i.e. only a database connection, and a composer install will be needed).
13/ The website will NOT need to work for external visitors. The website will primarily need to work for his owner, the admin. (Of course, it's a big bonus if it works for external visitors, but that's a much larger work, so it's not required)
14/ The actual winner will be assessed by the Betarigs team. Website aestetics, reusability, code quality, proper output, handling of errors, fullfillment of requirements, will be criterias used to determine a winner. There is no time limit, a winner can be designated as soon as a proper website is created.


Good luck!

REVISIONS : Specs may be slightly modified (mainly adding more details), and the change list will be listed here:

29 June: The Challenge 2 is closed, the bounty has been awarded to https://github.com/sathoro/betarigs-manager and paid via https://blockchain.info/tx/0058ad971ce8c7154e25a581aa607c1e6b380963e12811358f960f3ddbf1bd61 !

15 July: The Challenge 1 is closed, the bounty has been awarded to https://github.com/Toorop/betarigs-autorent and paid via https://blockchain.info/tx/f7fb695923e606ce11a81192fa06ee976b408f4574e5bd85a0430d4694d7ae75
Jump to: